Re: Routing Question
Until someone more knowledgeable replies ...
On Wed, 14 Jul 2004 11:02 am, David Purton wrote:
> Hi all,
>
> I've got a routing question. This is the setup:
<snip/>
> But that didn't work either.
>
>
> Can anybody explain to me what is going wrong or how to fix it?
I have done something similar, but don't have it running
like that now.
It may be useful to see the output of /sbin/route -n on the
host(s) that are causing the problem(s) (you should be able
to accomplish something similar with 'ip route ...').
On my (single) gateway the output of 'route -n' is:
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 eth2
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
144.132.248.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
0.0.0.0 144.132.248.1 0.0.0.0 UG 0 0 0 eth0
... there are two internal networks 192.168.1.0/24 and 192.168.0.0/24.
The route with destination of 0.0.0.0 and mask of 0.0.0.0 and '(G)ateway'
flag is the default route through eth0, thence through my cable cable modem
and, finally, through the ISP host 144.132.248.1 to the net.
Possibly there is more than one default route on the host where you
are having problems?
Also '/usr/sbin/tcpdump eth0' (or '/usr/sbin/tcpdump -i eth1')
(don't think it will work with ppp0) is another debugging tool.
HTH,
James
--
James Sinnamon
frodo000@bigpond net au
+61 412 319669, +61 2 95692123
Reply to: