Re: Network problem.
On Sat, 1 Sep 2007, Yazad Khambata wrote:
Please find output of the above commands and file:
more /etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.40.35.35
netmask 255.255.255.0
network 10.40.35.0
broadcast 10.40.35.255
gateway 10.40.35.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 10.40.35.1
auto eth0
iface eth2 inet static
address 10.40.35.35
netmask 255.255.255.0
gateway 10.40.35.1
________________________________________________________________________________________________
Hm, this is what I would do, I'd change it to read as so:
auto lo
iface lo inet loopback
auto eth0
address 10.40.35.35
netmask 255.255.255.0
network 10.40.35.0
broadcast 10.40.35.255
gateway 10.40.35.1
dns-nameservers 10.40.35.1
You only need one stanza for your interface and there you have two, which
may be causing some issues, I'm not sure, but just to be safe.. I'd just
leave it to one. After that run /etc/init.d/networking and see if you can
ping properly. If not send the outpout of 'ifconfig -a' and netstat -rn
hth,
Jeff
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
Reply to: