First example using GRE light-weight tunnel between eth0 on invader1 to eth0 on invader11 (i.e. no tomahawk involved).
On inv1:
ip link add tun0 type gre external
ip link set tun0 up
ip add add 50.0.0.1/30 dev tun0
ip route add 50.0.0.2/32 encap ip dst 192.168.101.131 ttl 10 dev tun0
On inv11:
ip link add tun0 type gre external
ip link set tun0 up
ip add add 50.0.0.2/30 dev tun0
ip route add 50.0.0.1/32 encap ip dst 192.168.101.121 ttl 10 dev tun0
Ping request from 50.0.0.2 to 50.0.0.1:
12:10:16.942145 02:46:8a:00:05:c3 > 02:46:8a:00:02:a0, ethertype IPv4 (0x0800), length 122: (tos 0x0, ttl 10, id 47310, offset 0, flags [none], proto GRE (47), length 108)
192.168.101.131 > 192.168.101.121: GREv0, Flags [none], proto IPv4 (0x0800), length 88
(tos 0x0, ttl 64, id 16420, offset 0, flags [DF], proto ICMP (1), length 84)
50.0.0.2 > 50.0.0.1: ICMP echo request, id 1198, seq 18, length 64
Ping response to 50.0.0.2
12:10:16.942219 02:46:8a:00:02:a0 > 02:46:8a:00:05:c3, ethertype IPv4 (0x0800), length 122: (tos 0x0, ttl 10, id 46735, offset 0, flags [none], proto GRE (47), length 108)
192.168.101.121 > 192.168.101.131: GREv0, Flags [none], proto IPv4 (0x0800), length 88
(tos 0x0, ttl 64, id 14059, offset 0, flags [none], proto ICMP (1), length 84)
50.0.0.1 > 50.0.0.2: ICMP echo reply, id 1198, seq 18, length 64
Now same config between eth-21-0 on inv1 to eth-21-0 on inv11:
On inv1:
ip link add tun0 type gre external
ip link set tun0 up
ip add add 50.0.0.1/30 dev tun0
ip route add 50.0.0.2/32 encap ip dst 10.50.0.11 ttl 10 dev tun0
On inv11:
ip link add tun0 type gre external
ip link set tun0 up
ip add add 50.0.0.2/30 dev tun0
ip route add 50.0.0.1/32 encap ip dst 10.50.0.1 ttl 10 dev tun0
Using top of master branch 8/25/17.
First example using GRE light-weight tunnel between eth0 on invader1 to eth0 on invader11 (i.e. no tomahawk involved).
On inv1:
On inv11:
Ping request from 50.0.0.2 to 50.0.0.1:
12:10:16.942145 02:46:8a:00:05:c3 > 02:46:8a:00:02:a0, ethertype IPv4 (0x0800), length 122: (tos 0x0, ttl 10, id 47310, offset 0, flags [none], proto GRE (47), length 108) 192.168.101.131 > 192.168.101.121: GREv0, Flags [none], proto IPv4 (0x0800), length 88 (tos 0x0, ttl 64, id 16420, offset 0, flags [DF], proto ICMP (1), length 84) 50.0.0.2 > 50.0.0.1: ICMP echo request, id 1198, seq 18, length 64
Ping response to 50.0.0.2
12:10:16.942219 02:46:8a:00:02:a0 > 02:46:8a:00:05:c3, ethertype IPv4 (0x0800), length 122: (tos 0x0, ttl 10, id 46735, offset 0, flags [none], proto GRE (47), length 108) 192.168.101.121 > 192.168.101.131: GREv0, Flags [none], proto IPv4 (0x0800), length 88 (tos 0x0, ttl 64, id 14059, offset 0, flags [none], proto ICMP (1), length 84) 50.0.0.1 > 50.0.0.2: ICMP echo reply, id 1198, seq 18, length 64
Now same config between eth-21-0 on inv1 to eth-21-0 on inv11:
On inv1:
On inv11:
Fib looks good, but ping fails:
Clear counters and ping 100 packets:
Transmit looks good. Check counters on inv11:
100 packets received (and even classified as tunnel packets), but 100 rx pipe zero port bitmap drops.
Packet capture on inv1 shows that the packet it's transmitting looks good: