Katran (maybe ipip tunnel) stops working after running the following command:
echo "10 d10" >> /etc/iproute2/rt_tables
ip rule a from 10.1.1.2 table 10 # breaking command
It is not working again after deleting table and rule (A reboot is needed).
uname -r
4.15.0-142-generic
ip tun
gre0: gre/ip remote any local any ttl inherit nopmtudisc
ipip0: any/ip remote any local any ttl inherit
ipip0: any/ip remote any local any ttl inherit
ip r | grep default
default via 79.x.x.x dev bond0 proto static
ip n | grep 79.x.x.x
79.x.x.x dev bond0 lladdr 18:8b:9d:3d:62:3f REACHABLE
ip rule
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
ip a
5: ens3f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1450 xdp/id:18 qdisc mq master bond0 state UP group default qlen 1000
link/ether 1e:93:33:af:d4:b4 brd ff:ff:ff:ff:ff:ff
7: ens3f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1450 xdp/id:16 qdisc mq master bond0 state UP group default qlen 1000
link/ether 1e:93:33:af:d4:b4 brd ff:ff:ff:ff:ff:ff
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
link/ether 1e:93:33:af:d4:b4 brd ff:ff:ff:ff:ff:ff
inet 79.x.x.x/28 brd 79.x.x.x scope global bond0
valid_lft forever preferred_lft forever
inet 172.x.x.x/29 brd 172.x.x.x scope global bond0
valid_lft forever preferred_lft forever
inet 172.x.x.x/29 brd 172.x.x.x scope global bond0
valid_lft forever preferred_lft forever
inet6 fe80::1c93:33ff:feaf:d4b4/64 scope link
valid_lft forever preferred_lft forever
9: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
10: ipip0@NONE: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
11: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd ::
12: ipip60@NONE: <NOARP,UP,LOWER_UP> mtu 1452 qdisc noqueue state UNKNOWN group default qlen 1000
link/tunnel6 :: brd ::
inet6 fe80::e466:e1ff:fe41:26c4/64 scope link
valid_lft forever preferred_lft forever
13: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:72:7c:29:e1 brd ff:ff:ff:ff:ff:ff
inet 172.x.x.x/16 brd 172.x.x.x scope global docker0
valid_lft forever preferred_lft forever
Katran (maybe ipip tunnel) stops working after running the following command:
It is not working again after deleting table and rule (A reboot is needed).
Katran is run using docker: