Created
March 11, 2025 21:10
-
-
Save trozet/c16c425177b73bb9c901ff1f52688779 to your computer and use it in GitHub Desktop.
FRR +OVNK e2e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Load Balancer Service Tests with MetalLB Should ensure load balancer service works with 0 node ports when ETP=local | |
[root@ovn-worker ~]# tcpdump -i eth0 port 80 -nnnee | |
dropped privs to tcpdump | |
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode | |
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes | |
21:01:32.057015 8e:42:7f:b8:b0:07 > ea:0f:f1:82:32:59, ethertype IPv4 (0x0800), length 74: 172.22.0.3.46846 > 192.168.10.0.80: Flags [S], seq 808250019, win 64240, options [mss 1460,sackOK,TS val 1440740773 ecr 0,nop,wscale 7], length 0 | |
21:01:32.059769 ea:0f:f1:82:32:59 > 7a:92:3c:cc:69:3a, ethertype IPv4 (0x0800), length 74: 192.168.10.0.80 > 172.22.0.3.46846: Flags [S.], seq 1401975101, ack 808250020, win 64704, options [mss 1360,sackOK,TS val 2702500104 ecr 1440740773,nop,wscale 7], length 0 | |
21:01:33.105162 8e:42:7f:b8:b0:07 > ea:0f:f1:82:32:59, ethertype IPv4 (0x0800), length 74: 172.22.0.3.46846 > 192.168.10.0.80: Flags [S], seq 808250019, win 64240, options [mss 1460,sackOK,TS val 1440741822 ecr 0,nop,wscale 7], length 0 | |
21:01:33.105934 ea:0f:f1:82:32:59 > 7a:92:3c:cc:69:3a, ethertype IPv4 (0x0800), length 74: 192.168.10.0.80 > 172.22.0.3.46846: Flags [S.], seq 1401975101, ack 808250020, win 64704, options [mss 1360,sackOK,TS val 2702501152 ecr 1440740773,nop,wscale 7], length 0 | |
21:01:33.107643 ea:0f:f1:82:32:59 > 7a:92:3c:cc:69:3a, ethertype IPv4 (0x0800), length 74: 192.168.10.0.80 > 172.22.0.3.46846: Flags [S.], seq 1401975101, ack 808250020, win 64704, options [mss 1360,sackOK,TS val 2702501154 ecr 1440740773,nop,wscale 7], length 0 | |
21:01:34.129139 8e:42:7f:b8:b0:07 > ea:0f:f1:82:32:59, ethertype IPv4 (0x0800), length 74: 172.22.0.3.46846 > 192.168.10.0.80: Flags [S], seq 808250019, win 64240, options [mss 1460,sackOK,TS val 1440742846 ecr 0,nop,wscale 7], length 0 | |
21:01:34.129297 ea:0f:f1:82:32:59 > 7a:92:3c:cc:69:3a, ethertype IPv4 (0x0800), length 74: 192.168.10.0.80 > 172.22.0.3.46846: Flags [S.], seq 1401975101, ack 808250020, win 64704, options [mss 1360,sackOK,TS val 2702502176 ecr 1440740773,nop,wscale 7], length 0 | |
FRR interface: | |
2: eth0@if65: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default | |
link/ether 8e:42:7f:b8:b0:07 brd ff:ff:ff:ff:ff:ff link-netnsid 0 | |
inet 172.18.0.5/16 brd 172.18.255.255 scope global eth0 | |
valid_lft forever preferred_lft forever | |
inet6 fc00:f853:ccd:e793::5/64 scope global nodad | |
valid_lft forever preferred_lft forever | |
inet6 fe80::8c42:7fff:feb8:b007/64 scope link proto kernel_ll | |
valid_lft forever preferred_lft forever | |
trozet@fedora:~/go/src/github.com/ovn-org/ovn-kubernetes/go-controller$ oc get node -o wide | |
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME | |
ovn-control-plane Ready control-plane 40m v1.31.1 172.18.0.4 <none> Debian GNU/Linux 12 (bookworm) 6.13.5-200.fc41.x86_64 containerd://1.7.18 | |
ovn-worker Ready <none> 40m v1.31.1 172.18.0.2 <none> Debian GNU/Linux 12 (bookworm) 6.13.5-200.fc41.x86_64 containerd://1.7.18 | |
ovn-worker2 Ready <none> 40m v1.31.1 172.18.0.3 <none> Debian GNU/Linux 12 (bookworm) 6.13.5-200.fc41.x86_64 containerd://1.7.18 | |
[root@ovn-worker ~]# ovn-sbctl list mac_binding | |
_uuid : 8bbfa0ad-4fa0-48cf-b345-5e472c8d8959 | |
datapath : e7009be8-e3df-427f-891d-c66b5ce39ab0 | |
ip : "172.18.0.5" | |
logical_port : rtoe-GR_ovn-worker | |
mac : "8e:42:7f:b8:b0:07" | |
timestamp : 1741726617777 | |
_uuid : c099a7fa-06f8-491d-9b68-bc244c1b4731 | |
datapath : e7009be8-e3df-427f-891d-c66b5ce39ab0 | |
ip : "172.18.0.3" | |
logical_port : rtoe-GR_ovn-worker | |
mac : "9e:41:1c:e3:18:1b" | |
timestamp : 1741726700722 | |
_uuid : 73c871d7-7624-4bbc-880e-6c0e50f28e69 | |
datapath : e7009be8-e3df-427f-891d-c66b5ce39ab0 | |
ip : "172.18.0.1" | |
logical_port : rtoe-GR_ovn-worker | |
mac : "7a:92:3c:cc:69:3a" | |
timestamp : 1741726569139 | |
_uuid : 2ecdba9b-662d-47ec-9359-2eeb2c08e351 | |
datapath : e7009be8-e3df-427f-891d-c66b5ce39ab0 | |
ip : "172.18.0.4" | |
logical_port : rtoe-GR_ovn-worker | |
mac : "92:e2:9e:e9:a1:be" | |
timestamp : 1741726775663 | |
[root@ovn-worker ~]# ovn-nbctl lr-route-list GR_ovn-worker | |
IPv4 Routes | |
Route Table <main>: | |
169.254.0.0/17 169.254.0.4 dst-ip rtoe-GR_ovn-worker | |
10.244.0.0/16 100.64.0.1 dst-ip | |
0.0.0.0/0 172.18.0.1 dst-ip rtoe-GR_ovn-worker | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment