From Obese Plover, 1 Month ago, written in Plain Text.
  1. ip r
  2. default via 172.16.69.2 dev ens3 onlink
  3. 172.16.69.0/24 dev ens3  proto kernel  scope link  src 172.16.69.115
  4. 172.17.0.0/16 dev docker0  proto kernel  scope link  src 172.17.0.1 linkdown
  5. 172.18.0.0/16 dev docker_gwbridge  proto kernel  scope link  src 172.18.0.1
  6. 172.24.4.0/24 dev br-ex  proto kernel  scope link  src 172.24.4.1
  7. 192.168.100.0/24 dev br-vlan  proto kernel  scope link  src 192.168.100.1
  8. 192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 linkdown
  9.  
  10.  
  11.  
  12.  
  13. ovs-vsctl show
  14. 282e3a89-4368-45ae-b3fc-a8c0b24e08db
  15.     Manager "ptcp:6640:127.0.0.1"
  16.         is_connected: true
  17.     Bridge br-ex
  18.         Controller "tcp:127.0.0.1:6633"
  19.             is_connected: true
  20.         fail_mode: secure
  21.         Port phy-br-ex
  22.             Interface phy-br-ex
  23.                 type: patch
  24.                 options: {peer=int-br-ex}
  25.         Port br-ex
  26.             Interface br-ex
  27.                 type: internal
  28.     Bridge br-vlan
  29.         Controller "tcp:127.0.0.1:6633"
  30.             is_connected: true
  31.         fail_mode: secure
  32.         Port phy-br-vlan
  33.             Interface phy-br-vlan
  34.                 type: patch
  35.                 options: {peer=int-br-vlan}
  36.         Port "ens3.100"
  37.             Interface "ens3.100"
  38.         Port "int1-br-vlan1"
  39.             Interface "int1-br-vlan1"
  40.         Port br-vlan
  41.             Interface br-vlan
  42.                 type: internal
  43.     Bridge br-int
  44.         Controller "tcp:127.0.0.1:6633"
  45.             is_connected: true
  46.         fail_mode: secure
  47.         Port int-br-vlan
  48.             Interface int-br-vlan
  49.                 type: patch
  50.                 options: {peer=phy-br-vlan}
  51.         Port "qr-4de46f75-f2"
  52.             tag: 1
  53.             Interface "qr-4de46f75-f2"
  54.                 type: internal
  55.         Port "qg-6bb9e0c9-95"
  56.             tag: 2
  57.             Interface "qg-6bb9e0c9-95"
  58.                 type: internal
  59.         Port "tap9170b271-2c"
  60.             tag: 4
  61.             Interface "tap9170b271-2c"
  62.                 type: internal
  63.         Port "qr-008d5518-1f"
  64.             tag: 1
  65.             Interface "qr-008d5518-1f"
  66.                 type: internal
  67.         Port "tapfc2a3820-16"
  68.             tag: 3
  69.             Interface "tapfc2a3820-16"
  70.                 type: internal
  71.         Port br-int
  72.             Interface br-int
  73.                 type: internal
  74.         Port "qvoe1af220d-94"
  75.             tag: 1
  76.             Interface "qvoe1af220d-94"
  77.         Port "qvobd82bdf2-b9"
  78.             tag: 4
  79.             Interface "qvobd82bdf2-b9"
  80.         Port "tap4b7e6b45-29"
  81.             tag: 1
  82.             Interface "tap4b7e6b45-29"
  83.                 type: internal
  84.         Port "qg-458f7a10-70"
  85.             tag: 3
  86.             Interface "qg-458f7a10-70"
  87.                 type: internal
  88.         Port "qvob6ce1160-93"
  89.             tag: 1
  90.             Interface "qvob6ce1160-93"
  91.         Port int-br-ex
  92.             Interface int-br-ex
  93.                 type: patch
  94.                 options: {peer=phy-br-ex}
  95.         Port patch-tun
  96.             Interface patch-tun
  97.                 type: patch
  98.                 options: {peer=patch-int}
  99.         Port "qr-f82baf55-92"
  100.             tag: 4
  101.             Interface "qr-f82baf55-92"
  102.                 type: internal
  103.     Bridge br-tun
  104.         Controller "tcp:127.0.0.1:6633"
  105.             is_connected: true
  106.         fail_mode: secure
  107.         Port patch-int
  108.             Interface patch-int
  109.                 type: patch
  110.                 options: {peer=patch-tun}
  111.         Port br-tun
  112.             Interface br-tun
  113.                 type: internal
  114.     ovs_version: "2.8.0"
  115.  
  116.  
  117. ens3.100 -> br-vlan (192.168.100.1) -> int-br-vlan -> br-int -> namespace -> router(192.168.100.11)
  118.  
  119.  
  120. ping 192.168.100.11 from 192.168.100.1
  121. PING 192.168.100.11 (192.168.100.11) 56(84) bytes of data.
  122.  
  123. From 192.168.100.1 icmp_seq=1 Destination Host Unreachable
  124. From 192.168.100.1 icmp_seq=2 Destination Host Unreachable
  125. From 192.168.100.1 icmp_seq=3 Destination Host Unreachable
  126. From 192.168.100.1 icmp_seq=4 Destination Host Unreachable
  127. From 192.168.100.1 icmp_seq=5 Destination Host Unreachable
  128. From 192.168.100.1 icmp_seq=6 Destination Host Unreachable
  129. From 192.168.100.1 icmp_seq=7 Destination Host Unreachable
  130. From 192.168.100.1 icmp_seq=8 Destination Host Unreachable
  131. From 192.168.100.1 icmp_seq=9 Destination Host Unreachable
  132. ^C
  133. --- 192.168.100.11 ping statistics ---
  134. 11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10022ms
  135.  
  136.  
  137.  
  138.  
  139. tcpdump -n -e -l -i ens3.100
  140. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
  141. listening on ens3.100, link-type EN10MB (Ethernet), capture size 262144 bytes
  142. 14:13:40.159525 0a:97:97:84:db:47 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.100.11 tell 192.168.100.1, length 28
  143. 14:13:41.173037 0a:97:97:84:db:47 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.100.11 tell 192.168.100.1, length 28
  144. 14:13:42.171488 0a:97:97:84:db:47 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.100.11 tell 192.168.100.1, length 28
  145. 14:13:43.171547 0a:97:97:84:db:47 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Request who-has 192.168.100.11 tell 192.168.100.1, length 28
  146.  
captcha