NDPTAL85 wrote:  [summarized]
> 
> After about a week of taking my Mandrake 8.1 box off of DHCP and giving
> it its own permanent IP it can no longer resolve domain names when using
> that IP. When I switch it back to DHCP it starts working fine again. I
> am using kernel 2.4.13-12mdk. Has anyone else come across this problem?

> eth0      Link encap:Ethernet  HWaddr 00:C0:A8:F2:40:B1
>            inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:78 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:100
>            RX bytes:8568 (8.3 Kb)  TX bytes:12311 (12.0 Kb)
>            Interrupt:11 Base address:0xbc00

> [root@Dreadnaught root]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
> lo

Missing "default" route.

> search earthlink.net
> nameserver 207.217.126.82
> nameserver 207.217.77.81
> nameserver 207.217.120.83

Someone pointed out dyslexia; but you have no route to 207...

> I have 3 other comps behind this router. I can still ssh into the
> Mandrake box when its on its permanent IP (192.168.0.2) but it cannot
> resolve anything from that IP. The router isn't set to block anything
> unusual. All other comps can connect to the next just fine. Its just the
> Mandrake box. I am going to switch one of my other comps to 192.168.0.2
> to rule out that specific IP as being a problem.

Which only means that the other comps have default routes and this one does not
as evidenced above.

> Alright I just put a WinXP box on 192.168.0.2 and it was able to resolve
> domains just fine. So its not the router thats blocking anything. I'm at
> a loss here to what just "broke". I still don't know why it can resovle
> when its on DHCP but can't when I put it on 192.168.0.2 manually.

Unless you have a default route, the ONLY networks you can reach with the above
route table are:
192.168.0.*
127.*.*.*
Nothing else...  nada...  zip!  Not even the DNS hosts cuz they are all in
network 207.* which is NOT in your route table.  Without a default route, all
the other destinations won't even make it onto the wire to the router.  

Regardless of the destination: no route == no traffic.

See "man route".

Troubleshooting tip:  when something works one way but not another, put all the
collected data side-by-side and compare...  betcha you have a default route in
the DHCP setup...  while we can see from above that there's none in the static
config.

Pierre

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to