Hello there,
I am at my wit's end concerning the following issue:
Working environment:
- Hypervisor: Hyper-V/Windows 10 Pro x64
- Virtual Switch #1: Intel 82599 --> 10GBE-switch1 (192.168.1.3) <-- AP (192.168.1.2 lan, 192.168.2.2 iot, 192.168.5.2 guest); 1GBE-switch1 (192.168.1.5); 10GBE-switch2 (192.168.1.4)
- Virtual Switch #2: Intel I211 <-- modem
- guest1: OpenWrt 19.07.4 x86-64 (192.168.1.1 lan, 192.168.2.1 iot, 192.168.5.1 gast), DHCP+DNS-server for gast
- virtual NIC#1: Virtual Switch#1, tagged VLAN-ID 1
- virtual NIC#2: Virtual Switch#2
- virtual NIC#3: Virtual Switch#1, tagged VLAN-ID 2
- virtual NIC#4: Virtual Switch#1, tagged VLAN-ID 5
- guest2: Ubuntu/pihole (192.168.1.12 lan, 192.168.2.12 gast), DHCP+DNS-server for lan+iot
- virtual NIC#1: Virtual Switch#1, tagged VLAN-ID 1
- virtual NIC#2: Virtual Switch#1, tagged VLAN-ID 2
- Interfaces in OpenWrt:
- eth0 (lan)
- eth1 (wan)
- eth2 (iot)
- eth3 (guest)
In order to get rid of the 10GBE-switch1 and reduce my power consumption, I installed a Intel I340-T4 which I already had installed beforehand and working (but took it away because of some testing reasons). The card is recognized on hypervisor-level and I can blink the lights of every ethernet-port.
- Virtual Switch #2#1: Intel I340-T4
- Virtual Switch #2#2: Intel I340-T4#2
So I created for guest1 the additional interfaces
- virtual NIC#5: Virtual Switch#2#1, tagged VLAN-ID 1
- virtual NIC#6: Virtual Switch#2#1, tagged VLAN-ID 2
- virtual NIC#7: Virtual Switch#2#1, tagged VLAN-ID 5
- virtual NIC#8: Virtual Switch#2#2, tagged VLAN-ID 1
- virtual NIC#9: Virtual Switch#2#2, tagged VLAN-ID 2
- virtual NIC#10: Virtual Switch#2#2, tagged VLAN-ID 5
, added the following in /etc/init.d/network
- eth4 (lan)
- eth5 (iot)
- eth6 (guest)
- eth7 (lan)
- eth8 (iot)
- eth9 (guest)
and (after restarting network/the hypervisor) finally connected the cabling of 10GBE-switch2/1GBE-switch1/AP directly to 82599/I340-T4/I340-T4#2. The physical adapters' lights light up, cables are recognized on hypervisor-level and the connection on the 82599 works just like before. But the connections on the I340-T4/I340-T4#2 do not work.
Looking into OpenWrt
root@Router:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
link/ether 00:01:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cake state UP group default qlen 1000
link/ether 00:01:00:00:00:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.7.2/24 brd 192.168.7.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 <IPv6-adress> scope link
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-iot state UP group default qlen 1000
link/ether 00:01:00:00:00:02 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-gast state UP group default qlen 1000
link/ether 00:01:00:00:00:03 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
link/ether 00:01:00:00:00:04 brd ff:ff:ff:ff:ff:ff
7: eth5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-iot state DOWN group default qlen 1000
link/ether 00:01:00:00:00:05 brd ff:ff:ff:ff:ff:ff
8: eth6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-gast state DOWN group default qlen 1000
link/ether 00:01:00:00:00:06 brd ff:ff:ff:ff:ff:ff
9: eth7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-lan state DOWN group default qlen 1000
link/ether 00:01:00:00:00:07 brd ff:ff:ff:ff:ff:ff
10: eth8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-iot state DOWN group default qlen 1000
link/ether 00:01:00:00:00:08 brd ff:ff:ff:ff:ff:ff
11: eth9: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-gast state DOWN group default qlen 1000
link/ether 00:01:00:00:00:09 brd ff:ff:ff:ff:ff:ff
12: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
link/ether 86:4c:51:c8:5b:e2 brd ff:ff:ff:ff:ff:ff
13: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 32
link/ether 5a:3a:ce:ec:8f:70 brd ff:ff:ff:ff:ff:ff
31: br-gast: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:01:00:00:00:03 brd ff:ff:ff:ff:ff:ff
inet 192.168.5.1/24 brd 192.168.5.255 scope global br-gast
valid_lft forever preferred_lft forever
32: br-iot: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:01:00:00:00:02 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.1/24 brd 192.168.2.255 scope global br-iot
valid_lft forever preferred_lft forever
33: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:01:00:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
valid_lft forever preferred_lft forever
34: wg0: <POINTOPOINT,NOARP> mtu 1420 qdisc noop state DOWN group default qlen 1000
link/none
37: ifb4eth1: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc cake state UNKNOWN group default qlen 32
link/ether de:3a:5a:50:28:c4 brd ff:ff:ff:ff:ff:ff
the interfaces are obviously recognized, and luci shows for each interface traffic for RX/TX. But neither AP nor 1GBE-switch1 can be reached.
Hopefully someone can help and give a hint where/what to search for...
Best,
ssdnvv