Linux ip route
- Multiple routing tables, and default routes.
- Example, Linux with tun241 interface, ip range 10.10.241.0/24 GW:.1
- This will cause reply's that came through tun241 to int ip to return via same interface.
- Tested 201304
# echo "241 tun241" >> /etc/iproute2/rt_tables # ip route add default via 10.10.241.1 dev tun241 table tun241 ##! Show rules ip rule show ##! Add rule ip rule add from 10.10.241.0/24 table tun241
...