Re: Multiple Network Gateways
- From: lee <lee@xxxxxxxxxxxxxxx>
- Date: Fri, 15 Jul 2011 15:58:10 +0200
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
- Follow-Ups:
- Re: Multiple Network Gateways
- From: Volkan YAZICI
- Re: Multiple Network Gateways
- References:
- Multiple Network Gateways
- From: Volkan YAZICI
- Multiple Network Gateways
- Prev by Date: Re: Safest way to upgrade Sid after long interval?
- Next by Date: Re: Multiple Network Gateways
- Previous by thread: Multiple Network Gateways
- Next by thread: Re: Multiple Network Gateways
- Index(es):
Relevant Pages
|