Re: gateway doesn't locate at the same subnet of the IP Address.
On Thu, 02 Apr 2009 07:20:09 +0200, Ron Johnson
>The config file you need is /etc/network/interfaces. Mine is:
>$ cat /etc/network/interfaces | grep -v \#
>iface lo inet loopback
>iface eth0 inet static
> address 192.168.1.10
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> gateway 192.168.1.251
> dns-nameservers 22.214.171.124 126.96.36.199
> dns-search homelan
>You'll have to restart /etc/init.d/networking after editing the
This is _NOT_ my case. I mean, in my case, the IP and Gateway are not
on the same subnet. In this case, I must also add some route in order
to send the packet from my host the Gateway first but I don't know how
to do it.
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.