Howto configure omada to get VMs in different VLANs

Howto configure omada to get VMs in different VLANs

Howto configure omada to get VMs in different VLANs
Howto configure omada to get VMs in different VLANs
a week ago - last edited Wednesday

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
a week ago - last edited Wednesday

  @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
a week ago - last edited Wednesday

  @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
Wednesday

  @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

Information

Helpful: 0

Views: 109

Replies: 2

Related Articles