static IP configuration problem
Ken D'Ambrosio
ken at proximatech.net
Tue Sep 13 19:00:07 EDT 2005
Your problem is almost certainly your gateway's address -- it's far more
likely (though not guaranteed by any means) to be 192.168.1.1, not .15.
Do a "netstat -rn" (when it's working), and see what's to the right of
"0.0.0.0", thusly:
kend at hal:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.20.1.1 0.0.0.0 UG 0 0 0 eth0
This shows that "10.20.1.1" is my default gateway.
-Ken
Greg Rundlett wrote:
>
> # The next stanza creates a static IP address for this machine
> #iface eth0 inet static
> #name Ethernet LAN card
> #address 192.168.1.11
> #netmask 255.255.255.0
> #network 192.168.1.0
> #broadcast 192.168.1.255
> #gateway 192.168.1.15
More information about the gnhlug-discuss
mailing list