Re: Multiple Network Gateways



Volkan YAZICI <yazicivo@xxxxxxxxxx> 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/871uxrd4st.fsf@xxxxxxxxxxxxxxx



Relevant Pages

  • Re: More help needed please
    ... [root@redfish root]# ifconfig eth0 ... # ifconfig eth1 ... That first routing entry should not be there and may be a bug. ...
    (RedHat)
  • Re: Routing
    ... I can ping hosts on the 192.168.3.0/24 network, ... Subject: Routing ...
    (Debian-User)
  • Re: Multiple Network Gateways
    ... 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. ... The man page of route says the following: ...
    (Debian-User)
  • Re: intermittent cable connection
    ... > Save the routing table at both times and compare them. ... network card fault is that even when network down, ...
    (comp.unix.admin)
  • Re: Controlling eth0,eth1,... assignment order?
    ... eth0 always be bound to x, and eth1 always bound to y, etc.. ... > kernel 2.6.12 they are loaded in reverse order, ... > with a subject of "unsubscribe". ...
    (Debian-User)