Service function chain
1node-1 10.151.128.13
2node-2 10.151.128.14
1# Hub
2ip rule add iif vti_192.169.0.1 lookup 51
3ip rule add iif vti_192.169.0.2 lookup 51
4ip route add default via <net pod> dev net1 table 51
5#ip route add default via 10.151.128.13 dev net1 table 51
6
7# Node-1
8ip route add 192.169.0.0/24 via 10.151.128.14 dev net1
9
10# Node-2
11ip route add 192.169.0.0/24 via 10.151.128.12 dev net1
12
13
14sysctl -w net.ipv4.ip_forward=1
15 echo 1 > /proc/sys/net/ipv4/ip_forward