Can't ping router & DNS Problem

Soldato
Joined
14 Feb 2006
Posts
4,644
Location
Surrey, UK
Evening all, need a bit of help.

Running a debian box (192.168.1.50) on which I've set up eth0 and connected to the network. I can ping the debian box from other machines, and I can ping other machines from the debian box.

I cannot, however, ping the router (192.168.1.1).

In addition, I can't get DNS working, although this may be a result of the above problem.

Anyone got any ideas?

Thanks,
Jon

ifconfig:
eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:00
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:39

resolv.conf:
Code:
nameserver 192.168.1.1

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.50
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
genmask 255.255.255.0
iface eth1 inet dhcp
iface wlan0 inet static
address 192.168.0.138
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
 
Dunno if you've sorted this yet as it's 4 days gone now...

When you ping the router are you getting an unreachable error or just a timeout?

Can you ping the router if you obtain an IP using DHCP?
 
Back
Top Bottom