search for: my_local_gateway

Displaying 1 result from an estimated 1 matches for "my_local_gateway".

2003 Jul 31
0
IPIP tunnels and TCP connections
...the setup on linux box 1: ip tun add tun0 mode ipip ttl 64 local a.b.c.d remote x.y.z.v ip addr add 172.16.0.1/32 dev tun0 ip link set tun0 up ip ro add 172.16.0.2/32 via x.y.z.v dev tun0 onlink Then : table main contains no default route. ip ru add pref 10 lookup main ip ro add metro_dest via my_local_gateway dev extf table metro ... as many as needed ip ru add pref 100 lookup metro Up to here I have local directly connected networks and the metropolitan network reachable This is for packets with source set to tunnel address: (i learned this trick from LVS howtos and multi path routing) ip ro add 172...