On Mon, Jan 12, 2004 at 11:41:22PM +0100, H.E. Tammer wrote:
And when I type the routing table (netstat -rn) I see defaultgateway@ specified by both eth0 and eth1; so that seems correct. I do not connect the wired eth0, and try to ping the DGW. This is not posible. Then I switch off the wired if (eth0). When I ping the DGW now, it works!
and do you still have a default route set? try "route -n" 2 interfaces in the same subnet is always a mess and prone to failure.
But when I try to go through the router to Internet, I receive: ping: unknown host www.kpn.nl It looks like the DNS resolution does not work. Still this is configured on the laptop. Also if I try to ping the providers DNS, I receive the same message.
Do you have any idee whats wrong?
you should try with "route add default gw your.default.gateway.ip dev eth1" if it works after that, we can try to automate all this :-) regards, -- Stefan Seyfried