Skip to content

Overlay networks: VXLAN between two hosts

Select an icon to see what it is.

Step 5 of 6

Host B unwraps it

Host B receives a UDP packet on port 4789 and hands it to its vxlan device. The VNI selects the overlay network. The device removes the outer headers and puts the original frame on its bridge, which delivers it to api.

Frame as api sees it (identical to what web sent)

10.10.0.2:41234 -> 10.10.0.3:3000 flags=SYN

Ethernet · 14 B

Destination MAC 48b
02:42:0a:0a:00:03
Source MAC 48b
02:42:0a:0a:00:02
EtherType 16b
0x0800 (IPv4)

IPv4 · 20 B

Version 4b
4
IHL 4b
5 (20 B)
DSCP/ECN 8b
0
Total length 16b
40
Identification 16b
0x0000
Flags 3b
DF
Fragment offset 13b
0
TTL 8b
64
Protocol 8b
6 (TCP)
Header checksum 16b
0x26b8
Source IP 32b
10.10.0.2
Destination IP 32b
10.10.0.3

TCP (simplified: options omitted) · 20 B

Source port 16b
41234
Destination port 16b
3000
Sequence number 32b
0x2b3c4d5e
Acknowledgment number 32b
0
Data offset 4b
5 (20 B)
Reserved 3b
0
Flags 9b
SYN
Window 16b
64240
Checksum 16b
0x7b74
Urgent pointer 16b
0