[LARTC] Default source address

Sebastian Spies sspies at sloc.de
Sun Jul 10 11:19:33 CEST 2005


Hi,

I'm using vpnc to connect to a vpn.
The VPN-GW wants me to use him as a default route. So I used
source-routing to differ between my physical ethernet and the tunnel:

ip rule add from w.x.y.z table 20
ip route add default via tun0 table 20

Everything works fine, as I have a client to set my inet4-srcaddress.

My question is: Is there a way, to tell linux which is my default
sourceaddress?


Greets,
Sebastian


More information about the LARTC mailing list