Re: Two routes to a host: how to make sure which noe is used when?
- From: Stefan Monnier <monnier@xxxxxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 15:33:38 -0500
This usually works just dandy, except when AAA.BBB.EEE.FFF or
AAA.BBB.CCC.DDD tries to connect to my VPN-address (i.e. vpnNNN.domain):
- the packets coming from toto.domain reach me fine through the VPN.
- but my replies seem to be sent via the router.
So replace the redundant host gateway host routes (UGH) through eth1
on vpnNNN.domain with host routes (UH) to the same IP addresses through
the PPP interface instead.
I can't replace them because I want the routes through eth1 as well.
I just want connections which started to go over eth1 to keep happening on
eth1 and those that started over ppp0 to keep happening over ppp0.
Those special hosts are reachable over both interfaces (and that's good),
but those hosts don't know that the packets coming from my ppp0 are coming
from the same machine as those I send from eth1 (the two interfaces have
different IP addresses, for example), so I need to make sure that replies to
packets which arrived on ppp0 are sent back via ppp0 and similarly for eth1.
Stefan
.
- Follow-Ups:
- Re: Two routes to a host: how to make sure which noe is used when?
- From: Clifford Kite
- Re: Two routes to a host: how to make sure which noe is used when?
- References:
- Two routes to a host: how to make sure which noe is used when?
- From: Stefan Monnier
- Re: Two routes to a host: how to make sure which noe is used when?
- From: Clifford Kite
- Two routes to a host: how to make sure which noe is used when?
- Prev by Date: Re: which log files to check for hosts.deny
- Next by Date: Re: NAT to a broadcast addess using iptables?
- Previous by thread: Re: Two routes to a host: how to make sure which noe is used when?
- Next by thread: Re: Two routes to a host: how to make sure which noe is used when?
- Index(es):
Relevant Pages
|