No network access after add l2bridge network

Yakovlev Dmitriy 1 Reputation point
2022-01-14T11:56:45.497+00:00

Hyper-V VM, Windows 2019 1809 17763.2452, Docker
Enabled SR-IOV for Guest RDMA
test-rdma shows success
host adapter - chelsio t5, drivers 6.15.58.0 (last update)

After adding l2bridge (HNS module 0.2.4, New-HNSNetwork) network to stops work, no pings

When I remove this network everything is works fine.

If I disable SR-IOV option in VM settings - network is work fine with l2bridge, but Guest RDMA doesn't work.

Get-NetAdapter
165136-image.png

Get-HNSNetwork
165038-image.png
165118-image.png

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,867 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,547 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
654 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,371 Reputation points
    2022-01-14T20:38:24.04+00:00

    Hi @Yakovlev Dmitriy

    That is the intended behavior. If you add network interfaces to a bridge interface, these network interfaces become ports of the bridge. This means they'll only work on layer 2, and any IP address that's still assigned to them will be ignored.

    OTOH, you now have to assign an IP address to the bridge br0 itself, either by DHCP or directly. This will typically be the IP address that was on eth0 if you are using wlan0 as an AP.

    If you connect eth2 to a bridge then eth2 becomes unusable (even with an IP address). You use br0 on the software side, eth0 is used physically.

    Hope this resolves your Query!!

    ----------

    --If the reply is helpful, please Upvote and Accept it as an answer--