Re: Multiple Network Gateways
Volkan YAZICI <yazicivo@ttmail.com> writes:
> ,===========. eth0 ,-------.
> || internet || <-----------------> | reyiz |
> `===========' 10.10.98.100 `-------'
> ^
> eth1 | 192.168.100.100
> |
> |
> |
> ,-------. eth3 |
> | pampa | <----------------------------+
> `-------^ 192.168.100.98
>
> [...]
So there are a lot of hosts not shown on the scheme?
> reyiz# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.10.98.96 0.0.0.0 255.255.255.240 U 0 0 0 eth0
> 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 0.0.0.0 192.168.100.98 0.0.0.0 UG 0 0 0 eth1
> 0.0.0.0 10.10.98.110 0.0.0.0 UG 0 0 0 eth0
>
> The problem here is that there exists two entries in the routing table
> for 0.0.0.0 network pointing to both eth0 and eth1. But I just want to
> have 192.168.100.0 network requests to be handled by eth1, the rest
> should be redirected to eth0.
There are no 0.0.0.0 networks, only 192.168.100.0 and 10.10.98.96. Try
'route' instead of 'route -n' ...
--
html messages are obsolete
Reply to: