VLAN Management

ghido

New Member
Nov 5, 2010
12
0
1
Hello everyone,I'm trying to set this configuration without success .
Should I create a virtual machine that has two network interfaces on a VLAN 1 and VLAN 222
i try to configured in this way but does not work:

Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual


auto bond0
iface bond0 inet manual
        slaves eth0 eth1
        bond_miimon 100
        bond_mode 4


auto bond0.222
iface bond0.222 inet manual
        vlan_raw_device bond0


auto vmbr0
iface vmbr0 inet static
        address  192.168.2.204
        netmask  255.255.255.0
        gateway  192.168.2.30
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0


auto vmbr222
iface vmbr222 inet manual
        netmask  255.255.255.255
        bridge_ports bond0.222
        bridge_stp off
        bridge_fd

then assign the two network cards on the two bridges

someone can help me?
Thanks a lot

Ghido
 
sorry but for you my configuration it's ok?
I just have to tag on the vlan by web interface?
 
Remove bond0.222 and vmbr222, and use the GUI to configure VLANs.
Tank you for your suggestion, i remove the bond0.222 and vmbr222, then i set the eth0 on vmbr0 without vlan and eth1 on the vmbr1 with vlan 222 trought web interface. But my server resopond only eth0.
(on eth1 there are dhcp server)
thanks a lot.

Ghido
 
I don't really understand what you do - Why do you to change vmbr0??
Hi, i don't change vmbr0 i only create a VM with 2 Ethernet cards in bridge mode on vmbr0 eth1 with vlan tag 222 and eth0 without any tag.
 
Maybe a problem inside the guest?

on the guest (ubuntu 12.04 LTSP) i only have 2 ethernet on two different subnet.
On one of them there is our dhcp server.
But from others client on the same subnet and on the same VLAN (configured on HP procurve) don't see the dhcp.

Thanks for every suggestion

Ghido
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!