Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it really not possible to assign a NIC to a VM?

Featured Replies

Hi all

Been trying to accoplish this with no luck.

I have a server 2022 i want to operate on a seperat nic for vlan 2 (192.168.7.1/24)

Vlan 2 is isolated on my UDM.

I have 1 x 10G and 2 x 1G

10G+1G is bridged on eth0 (br0)

I tryed to assign vlan 2 on the port in my UDM that goes to ETH2 and assign eht2 to my 2022 VM.

But the VM keeps getting a IP from the default vlan 192.168.1.1/24

I altso tryed to make a new bridge on eht2 but still the same.

Why is this so hard to accomplish?

I can see somebody else also tryed this

Regards Daniel

Solved by DanielPT

  • Community Expert
1 hour ago, DanielPT said:

Hi all

Been trying to accoplish this with no luck.

I have a server 2022 i want to operate on a seperat nic for vlan 2 (192.168.7.1/24)

Vlan 2 is isolated on my UDM.

I have 1 x 10G and 2 x 1G

10G+1G is bridged on eth0 (br0)

I tryed to assign vlan 2 on the port in my UDM that goes to ETH2 and assign eht2 to my 2022 VM.

But the VM keeps getting a IP from the default vlan 192.168.1.1/24

I altso tryed to make a new bridge on eht2 but still the same.

Why is this so hard to accomplish?

I can see somebody else also tryed this

Regards Daniel

In the VM template did you change the nic to use the bridge connected to eth2?

  • Author
9 hours ago, SimonF said:

In the VM template did you change the nic to use the bridge connected to eth2?

Hi Simon

Thanks for the reply! )

Yeap i did. I have some screenshots if it helps

image.png

image.png

image.png

image.png

I have tryed to use the Port down/up when i make changes. Also restart WinVM.

  • Author
9 hours ago, SimonF said:

In the VM template did you change the nic to use the bridge connected to eth2?

Hi Simon

Thanks for the reply! )

Yeap i did. I have some screenshots if it helps

image.png

image.png

image.png

image.png

I have now also tryed to
removed the br on eth2. I have set the IP to automatic.

Assigned eth2 to my VM. But it still gets a ip from my default subnet ?
Cant figure out what is going on :(
image.png

  • Community Expert

I dont know the networking product, but is eth2 connected via an access port or a trunk. It would like it is a trunk an because there is no native vlan set all untagged traffic is just going on to vlan 1 I assume which is where the main connection is.

Are you able to get a list of the mac address and vlan assignment for the switch.

  • Community Expert

Other option wouldbe to create vlans on eth2. this will also create a brx.vlan you can use in the vm.

  • Author
  • Solution
10 hours ago, SimonF said:

Other option wouldbe to create vlans on eth2. this will also create a brx.vlan you can use in the vm.

Hi Simon

Im sorry im a dumass (

I did wroung cableling when connection eth1 and eth2

It works now :)

  • Community Expert
1 hour ago, DanielPT said:

Hi Simon

Im sorry im a dumass (

I did wroung cableling when connection eth1 and eth2

It works now :)

No worries glad you got it fixed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.