Howto configure omada to get VMs in different VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Howto configure omada to get VMs in different VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Howto configure omada to get VMs in different VLANs
Howto configure omada to get VMs in different VLANs
2024-12-19 17:41:48 - last edited 2024-12-25 00:12:20

Hy,

 

Im brandnew to this forum, so please be gentle if my technical english is not the best or the question is stupid - for you ;-)

 

I have a Ubuntu Server running several VMs. These are connected over bridge to the LAN, having own macadresses and ips.

 

Now I want one of them to work in another VLAN then the others (the smarthome controller has to be in the same VLAN as the Iot).

So in omada:

- I changed the port-profil for the connected server from "my_main" to all

- Then configured the smarthome controller to be in the "IotVLAN" and set a Ip from the corresponding ip-range

 

My expectation now was: if I restart the VM it will move to IotVLAN and use the set ip.

Sadly the VM retained the "old" ip from the "mainVLAN". I thought it had something to do with the used OS - maybe DHCP not active, bad config or something. So I just set another ip in omada from the main-range. After a restart the new ip is used, but I cannot get the VM to in a different VLAN than the host.

 

Has anyone a hint what I am missing?

 

Many thanks

  0      
  0      
#1
Options
1 Accepted Solution
Re:Howto configure omada to get VMs in different VLANs-Solution
2024-12-19 19:37:34 - last edited 2024-12-25 00:12:20

  @michnixweiss 

If you want to have a VM on a different VLAN, you put it on the network card of the VM, I don't know what you have, but if it's Windows, you go to the network card and select the VLAN there. VLAN ID or something like that.

 

Recommended Solution
  0  
  0  
#2
Options
2 Reply
Re:Howto configure omada to get VMs in different VLANs-Solution
2024-12-19 19:37:34 - last edited 2024-12-25 00:12:20

  @michnixweiss 

If you want to have a VM on a different VLAN, you put it on the network card of the VM, I don't know what you have, but if it's Windows, you go to the network card and select the VLAN there. VLAN ID or something like that.

 

Recommended Solution
  0  
  0  
#2
Options
Re:Howto configure omada to get VMs in different VLANs
2024-12-25 00:19:56

  @MR.S 

Thanks for the reply.

That was the missing hint.

I didnot guess to handle this on the client side and not from omada controller. 

I created a additional bridge on the VMs host in the VLAN, switched the network interface of the VM to this bridge and everything works as expected.

smileyyes

  0  
  0  
#3
Options