Hi guys,
I’ve got a small lab deployment with Hyper-V 2012 R2 where I use VyOS as a router to connect to external networks.
My setup:
- eth0 is connecter to my vSwitch which is bridged to my wlan adapter in hyper-v
- standard network adapter (it didn’t work with legacy one at all)
- configured to receive its address via DHCP
With my home router and my phone working as a hot spot it works just fine receiving its address. But when I connect to my lab switch, which is HP 5500 EI switch, using wireless access point - it’s not working:
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
eth0 - u/u Internet
eth1 192.168.100.1/24 u/u Management
eth2 192.168.101.1/24 u/u Wireless
eth3 192.168.102.1/24 u/u Client
lo 127.0.0.1/8 u/u
I have a DHCP server running on my switch which is used for access points and other stuff. All devices are getting their IP addresses with no issues.
But:
- connectivity works fine if I assign a static IP address to eth0;
- if I connect a Win10 VM to the same vSwitch - it gets an IP address from 5500 EI, no issues;
- if instead of my Internet vSwitch I connect it to my internal VM Network vSwitch where I’ve got another DHCP server running - no issues with getting IP address.
If I capture what’s happening on the interface:
vyos@vyos:~$ monitor interfaces ethernet eth0 traffic
Capturing traffic on eth0 …
0.000000 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x5560052d
2.572138 192.168.10.1 → 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x5560052d
4.200164 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x5560052d
13.260000 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x5560052d
13.264215 192.168.10.1 → 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x5560052d
23.728753 00:15:5d:64:0a:0f → 01:80:c2:00:00:0e LLDP Chassis Id = 00:15:5d:64:0a:0f Port Id = eth0 TTL = 120
27.460089 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x5560052d
27.464470 192.168.10.1 → 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x5560052d
47.390230 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x5560052d
47.394774 192.168.10.1 → 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x5560052d
53.778496 00:15:5d:64:0a:0f → 01:80:c2:00:00:0e LLDP Chassis Id = 00:15:5d:64:0a:0f Port Id = eth0 TTL = 120
No DHCP request, no DHCP Acknowledgement…
This is how it looks like when I connect eth0 to my VM Network vSwitch:
149.448706 0.0.0.0 → 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x3ad44515
149.449926 192.168.102.1 → 192.168.102.3 DHCP DHCP Offer - Transaction ID 0x3ad44515
149.450121 00:15:5d:64:0a:15 → ff:ff:ff:ff:ff:ff ARP Who has 192.168.102.3? Tell 192.168.102.1
149.450195 0.0.0.0 → 255.255.255.255 DHCP DHCP Request - Transaction ID 0x3ad44515
149.451258 192.168.102.1 → 192.168.102.3 DHCP DHCP ACK - Transaction ID 0x3ad44515
Any ideas what could be causing the issue?