Shrink down json for switch
This commit is contained in:
parent
95e0082d0c
commit
badc6c0dd1
2 changed files with 30 additions and 6 deletions
30
doc/plan.org
30
doc/plan.org
|
@ -603,7 +603,37 @@ root@ubuntu:~# ip r
|
||||||
default via 10.0.0.66 dev h3-eth0
|
default via 10.0.0.66 dev h3-eth0
|
||||||
10.0.0.0/24 dev h3-eth0 proto kernel scope link src 10.0.0.1
|
10.0.0.0/24 dev h3-eth0 proto kernel scope link src 10.0.0.1
|
||||||
root@ubuntu:~#
|
root@ubuntu:~#
|
||||||
|
***** TODO try6: host sees packet, but does not react on it
|
||||||
|
|
||||||
|
p4@ubuntu:~$ mx h3 tcpdump -lni h3-eth0
|
||||||
|
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
|
||||||
|
listening on h3-eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
||||||
|
09:06:02.636669 IP 10.1.1.1 > 10.0.0.1: ICMP echo request, id 31058, seq 1, length 64
|
||||||
|
|
||||||
|
in h3:
|
||||||
|
|
||||||
|
root@ubuntu:~# ip a
|
||||||
|
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
|
||||||
|
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
|
||||||
|
inet 127.0.0.1/8 scope host lo
|
||||||
|
valid_lft forever preferred_lft forever
|
||||||
|
inet6 ::1/128 scope host
|
||||||
|
valid_lft forever preferred_lft forever
|
||||||
|
2: h3-eth0@if38: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9500 qdisc netem state UP group default qlen 1000
|
||||||
|
link/ether 00:00:0a:00:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
|
||||||
|
inet 10.0.0.1/24 scope global h3-eth0
|
||||||
|
valid_lft forever preferred_lft forever
|
||||||
|
root@ubuntu:~#
|
||||||
|
|
||||||
|
no arp entries:
|
||||||
|
|
||||||
|
root@ubuntu:~# arp -an
|
||||||
|
root@ubuntu:~#
|
||||||
|
|
||||||
|
|
||||||
***** TODO Implement default route handling, maybe implement ARP
|
***** TODO Implement default route handling, maybe implement ARP
|
||||||
|
******
|
||||||
|
****** Entry in v4_networks?
|
||||||
**** DONE Add table name support in debug messages
|
**** DONE Add table name support in debug messages
|
||||||
**** DONE Why getting IPv6 packets in
|
**** DONE Why getting IPv6 packets in
|
||||||
INFO:main:unhandled reassambled=<Ether dst=33:33:ff:00:00:42 src=00:00:0a:00:00:01 type=0x86dd |<IPv6 version=6 tc=0 fl=0 plen=32 nh=ICMPv6 hlim=255 src=fe80::200:aff:fe00:1 dst=ff02::1:ff00:42 |<ICMPv6ND_NS type=Neighbor Solicitation code=0 cksum=0x37df res=0 tgt=2001:db8::42 |<ICMPv6NDOptSrcLLAddr type=1 len=1 lladdr=00:00:0a:00:00:01 |>>>> from table TABLE_V6_NETWORKS
|
INFO:main:unhandled reassambled=<Ether dst=33:33:ff:00:00:42 src=00:00:0a:00:00:01 type=0x86dd |<IPv6 version=6 tc=0 fl=0 plen=32 nh=ICMPv6 hlim=255 src=fe80::200:aff:fe00:1 dst=ff02::1:ff00:42 |<ICMPv6ND_NS type=Neighbor Solicitation code=0 cksum=0x37df res=0 tgt=2001:db8::42 |<ICMPv6NDOptSrcLLAddr type=1 len=1 lladdr=00:00:0a:00:00:01 |>>>> from table TABLE_V6_NETWORKS
|
||||||
|
|
|
@ -45,10 +45,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"exec_scripts": [
|
|
||||||
{
|
|
||||||
"cmd": "./static-mapping.sh",
|
|
||||||
"reboot_run": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue