Hello, find out interesting issue with network flow between hypervisor and VMs maybe I have overcomplicated setup but I still thing that should work.
I tried setup BGP routing but I can't get it to work. So I started debuging with tcpdump and I saw in some cases that packet comest to hypervisor interface, than vnet20 and after that ends but it should go to tap interface for VM (in this example virtual switch)
Can anyone help me to debug/fix issue?
Networks are defined in SDN
Ping flow flow:
ping from old_VM1 to test_vm1 (default gw is set through switch2)
From hypervisor1
old_VM1 (ICMP echo request) -> tap201i0 -> tap100i3 -> old_gateway1 -> tap100i9 -> tap118i1 -> gateway1 -> tap118i2 -> ln_vnet101 -> SFP port -> ........
Hypervisor2
........ SFP port -> ln_vnet101 -> tap121i1 -> switch1 -> tap121i3 -> tap110i0 -> test_vm1 -> (ICMP echo reply) tap110i0 -> ln_vnet20 -> SFP port -> ........
Hypervisor3:
........ SFP port -> ln_vnet20 -> ends here (12:02:01.609171 ln_vnet20 P IP 10.7.120.5 > 10.0.12.11: ICMP echo reply, id 113, seq 1, length 64)
I can't see packet arrive to switch2 (even not to tap122i3 on hypervisor)
Setup:
I tried setup BGP routing but I can't get it to work. So I started debuging with tcpdump and I saw in some cases that packet comest to hypervisor interface, than vnet20 and after that ends but it should go to tap interface for VM (in this example virtual switch)
Can anyone help me to debug/fix issue?
Networks are defined in SDN
Ping flow flow:
ping from old_VM1 to test_vm1 (default gw is set through switch2)
From hypervisor1
old_VM1 (ICMP echo request) -> tap201i0 -> tap100i3 -> old_gateway1 -> tap100i9 -> tap118i1 -> gateway1 -> tap118i2 -> ln_vnet101 -> SFP port -> ........
Hypervisor2
........ SFP port -> ln_vnet101 -> tap121i1 -> switch1 -> tap121i3 -> tap110i0 -> test_vm1 -> (ICMP echo reply) tap110i0 -> ln_vnet20 -> SFP port -> ........
Hypervisor3:
........ SFP port -> ln_vnet20 -> ends here (12:02:01.609171 ln_vnet20 P IP 10.7.120.5 > 10.0.12.11: ICMP echo reply, id 113, seq 1, length 64)
I can't see packet arrive to switch2 (even not to tap122i3 on hypervisor)
Setup:
- hypervisor1
- 2x 10 Gb/s SFP+ (to Mikrotik switches with mlag)
- SDN - bond0 on SFP+ ports
- VMs:
- old_gateway1 (id 100)
- WAN - bridge to ethernet port on server
- GW_link - vnet10 (bond0 vlan10)
- VM_network - vnet5 (bond0 vlan5)
- gateway1 (id 118)
- WAN - bridge to ethernet port on server
- GW_link - vnet10 (bond0 vlan10)
- SW_Link - vnet101 (bond0 vlan101)
- old_VM1 (id 201)
- VM_network - vnet5 (bond0 vlan5)
- test_vm1 (id 110)
- VM_network - vnet20 (bond0 vlan20)
- old_gateway1 (id 100)
- hypervisor2
- same as hypervisor1
- VMs:
- switch1 (id 121)
- SW_Link - vnet101 (bond0 vlan101)
- VM_network - vnet20 (bond0 vlan20)
- switch1 (id 121)
- hypervisor3
- same as hypervisor1
- VMs:
- switch2 (id 122)
- SW_Link - vnet101 (bond0 vlan101)
- VM_network - vnet20 (bond0 vlan20)
- switch2 (id 122)
Attachments
Last edited: