lxc-config/hooks/dn42-routes

8 lines
221 B
Plaintext
Raw Normal View History

2015-01-03 16:58:08 +00:00
#!/bin/bash
2015-03-30 22:02:32 +00:00
ip rule add from 172.23.75.0/24 table 42
ip route add 192.168.66.0/24 via 172.23.75.4 dev eth1 table 42
ip route add 172.16.0.0/12 via 172.23.75.1
ip route add 10.0.0.0/8 via 172.23.75.1
ip route flush cache