On Mon, 13 Dec 2004 11:51:17 +1300 Nick Rout <[EMAIL PROTECTED]> wrote:
> Robert, go > > route -n > > and look at where the default route points. > > [EMAIL PROTECTED] nick $ /sbin/route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo > 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0 > > the default route is the one starting 0.0.0.0, and in mycase it points > to 192.168.1.254 (which indeed is an ipcop box) > > are you just having trouble pinging, or is it all traffic to the net? PS if you are using dhcp then you should not need to adjust your route, or your /etc/resolv.conf. dhcp will alter the routing table to set up a default route (this can be switched off on the dhcp server). It will also supply a list of dns servers and a search list to put in /etc/resolv.conf -- Nick Rout <[EMAIL PROTECTED]>
