On Mon, 13 Dec 2004 11:43:34 +1300
"Fisher, Robert (FXNZ CHC)" <[EMAIL PROTECTED]> wrote:

> (As I might be an idiot I am expecting to get flamed soon - I think I have
> graduated from newbie.)
> 
> How do I check to see what default gateway is used.
> My boxes get their addresses from the IPCop box.
> Do I need to set a manual gateway in /etc/conf.d/net
> 
> serva root # ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:08:C7:3C:04:34
>           inet addr:192.168.10.5  Bcast:192.168.10.255  Mask:255.255.255.0
>           UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:838 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:893 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:87064 (85.0 Kb)  TX bytes:84849 (82.8 Kb)
>           Interrupt:20 Base address:0x6000

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?

> 
> Regards,
> 
> Robert
> 
>  -----Original Message-----
> From:         Paul Swafford [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 13 December 2004 10:55 a.m.
> To:   [EMAIL PROTECTED]
> Subject:      Re: DNS and Ping problems at home
> 
> it sure helps IF ipcop is your gateway which almost certainly it is
> 
> Paul
> -- 
> (E-CAF, 301 Montreal St, Christchurch, NZ)
> (ph/fax ++64 3 3656 480 : www.e-caf.com)

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to