--- road.console.txt 2019-09-20 17:49:12.404187593 +0000 +++ OUTPUT/road.console.txt 2019-09-21 07:39:40.868525551 +0000 @@ -9,7 +9,7 @@ # add .209 for re-run road # ip addr show dev eth0 | grep 192.1.3.209 || ip addr add 192.1.3.209/24 dev eth0 - inet 192.1.3.209/24 brd 192.1.3.255 scope global eth0 + inet 192.1.3.209/24 scope global eth0 road # # add default gw, it could have been deleted due address changes road # @@ -85,12 +85,12 @@ # remove this end ip next one will take over road # ip addr show scope global -2: eth0: mtu 1500 qdisc fq_codel state UP group default - link/ether 12:00:00:ab:cd:02 brd ff:ff:ff:ff:ff:ff - inet 192.1.3.209/24 brd 192.1.3.255 scope global eth0 - valid_lft forever preferred_lft forever -3: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default +2: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 +10898: eth0@if10899: mtu 1500 qdisc noqueue state UP group default qlen 1000 + link/ether 8a:20:d7:c7:2c:35 brd ff:ff:ff:ff:ff:ff link-netnsid 0 + inet 192.1.3.209/24 scope global eth0 + valid_lft forever preferred_lft forever road # ip route 0.0.0.0/1 dev eth0 scope link src 192.0.3.10 @@ -108,10 +108,10 @@ sleep 5 road # ip addr show scope global -2: eth0: mtu 1500 qdisc fq_codel state UP group default - link/ether 12:00:00:ab:cd:02 brd ff:ff:ff:ff:ff:ff -3: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default +2: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 +10898: eth0@if10899: mtu 1500 qdisc noqueue state UP group default qlen 1000 + link/ether 8a:20:d7:c7:2c:35 brd ff:ff:ff:ff:ff:ff link-netnsid 0 road # ip route road # @@ -129,12 +129,12 @@ sleep 10 road # ip addr show scope global -2: eth0: mtu 1500 qdisc fq_codel state UP group default - link/ether 12:00:00:ab:cd:02 brd ff:ff:ff:ff:ff:ff +2: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default qlen 1000 + link/ipip 0.0.0.0 brd 0.0.0.0 +10898: eth0@if10899: mtu 1500 qdisc noqueue state UP group default qlen 1000 + link/ether 8a:20:d7:c7:2c:35 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 192.1.33.209/24 scope global eth0 valid_lft forever preferred_lft forever -3: ip_vti0@NONE: mtu XXXX qdisc noop state DOWN group default - link/ipip 0.0.0.0 brd 0.0.0.0 road # ip route 0.0.0.0/1 via 192.1.33.254 dev eth0 src 192.0.3.10 @@ -190,13 +190,13 @@ 006 #2: "road-eastnet"[1] 192.1.2.23, type=ESP, add_time=1234567890, inBytes=168, outBytes=168, id='192.1.2.23', lease=192.0.3.10/32 road # grep "MOBIKE " /tmp/pluto.log -| #1 MOBIKE new source address 192.1.33.209 remote 192.1.2.23 and gateway 192.1.33.254 +| #1 MOBIKE new source address 192.1.33.209 remote 192.1.2.23:500 and gateway 192.1.33.254 | TODO: process v2N_NAT_DETECTION_SOURCE_IP in MOBIKE response | TODO: process v2N_NAT_DETECTION_DESTINATION_IP in MOBIKE response | #2 pst=#1 MOBIKE update local address 192.1.3.209:500 -> 192.1.33.209:500 "road-eastnet"[1] 192.1.2.23 #1: success MOBIKE update local address 192.1.3.209:500 -> 192.1.33.209:500 "road-eastnet"[1] 192.1.2.23 #1: MOBIKE response: updating IPsec SA -| #1 MOBIKE new source address 192.1.33.209 remote 192.1.2.23 and gateway 192.1.33.254 +| #1 MOBIKE new source address 192.1.33.209 remote 192.1.2.23:500 and gateway 192.1.33.254 | TODO: process v2N_NAT_DETECTION_SOURCE_IP in MOBIKE response | TODO: process v2N_NAT_DETECTION_DESTINATION_IP in MOBIKE response | #2 pst=#1 MOBIKE update local address 192.1.33.209:500 -> 192.1.33.209:500