/etc/init.d/networking restart
ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 16 (level, low) -> IRQ 16
eth0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f4000000, IRQ 16, node addr 00:1d:09:6b:db:f9
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16
eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f8000000, IRQ 16, node addr 00:1d:09:6b:db:f7
floppy0: no floppy controllers found
EXT3 FS on dm-1, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 4194296k swap on /dev/pve/swap. Priority:-1 extents:1 across:4194296k
Bridge firewalling registered
vmbr0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
802.1Q VLAN Support v1.8 Ben Greear <[EMAIL="greearb@candelatech.com"]greearb@candelatech.com[/EMAIL]>
All bugs added by David S. Miller <[EMAIL="davem@redhat.com"]davem@redhat.com[/EMAIL]>
bnx2: eth0: using MSI
device eth0.6 entered promiscuous mode
audit(1216987780.138:2): dev=eth0.6 prom=256 old_prom=0 auid=4294967295
device eth0 entered promiscuous mode
audit(1216987780.138:3): dev=eth0 prom=256 old_prom=0 auid=4294967295
vmbr0: starting userspace STP failed, starting kernel STP
vmbr1: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
bnx2: eth1: using MSI
device eth1.5 entered promiscuous mode
audit(1216987782.674:4): dev=eth1.5 prom=256 old_prom=0 auid=4294967295
device eth1 entered promiscuous mode
audit(1216987782.678:5): dev=eth1 prom=256 old_prom=0 auid=4294967295
vmbr1: starting userspace STP failed, starting kernel STP
bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex
bnx2: eth1 NIC Copper Link is Up, 1000 Mbps full duplex
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth0.6: link is not ready
ADDRCONF(NETDEV_UP): eth1.5: link is not ready
ip_tables: (C) 2000-2006 Netfilter Core Team
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[EMAIL="maxk@qualcomm.com"]maxk@qualcomm.com[/EMAIL]>
loaded kvm module (kvm-71)
eth0: no IPv6 routers present
vmbr0: no IPv6 routers present
eth1: no IPv6 routers present
vmbr1: no IPv6 routers present
device eth0.6 left promiscuous mode
audit(1216987863.754:6): dev=eth0.6 prom=0 old_prom=256 auid=4294967295
device eth0 left promiscuous mode
audit(1216987863.754:7): dev=eth0 prom=0 old_prom=256 auid=4294967295
vmbr0: port 1(eth0.6) entering disabled state
device eth1.5 left promiscuous mode
audit(1216987864.094:8): dev=eth1.5 prom=0 old_prom=256 auid=4294967295
device eth1 left promiscuous mode
audit(1216987864.094:9): dev=eth1 prom=0 old_prom=256 auid=4294967295
vmbr1: port 1(eth1.5) entering disabled state
vmbr0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0.6 entered promiscuous mode
audit(1216987864.266:10): dev=eth0.6 prom=256 old_prom=0 auid=4294967295
device eth0 entered promiscuous mode
audit(1216987864.266:11): dev=eth0 prom=256 old_prom=0 auid=4294967295
vmbr0: starting userspace STP failed, starting kernel STP
vmbr0: port 1(eth0.6) entering listening state
vmbr0: port 1(eth0.6) entering learning state
vmbr0: topology change detected, propagating
vmbr0: port 1(eth0.6) entering forwarding state
vmbr1: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth1.5 entered promiscuous mode
audit(1216987865.458:12): dev=eth1.5 prom=256 old_prom=0 auid=4294967295
device eth1 entered promiscuous mode
audit(1216987865.458:13): dev=eth1 prom=256 old_prom=0 auid=4294967295
vmbr1: starting userspace STP failed, starting kernel STP
vmbr1: port 1(eth1.5) entering listening state
vmbr1: port 1(eth1.5) entering learning state
vmbr1: topology change detected, propagating
vmbr1: port 1(eth1.5) entering forwarding state
eth0.6: no IPv6 routers present
vmbr0: no IPv6 routers present
vmbr1: no IPv6 routers present
eth1.5: no IPv6 routers present
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 10.4.100.66
netmask 255.255.255.0
gateway 10.4.100.1
bridge_ports eth0.6
bridge_stp on
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1.5
bridge_stp on
bridge_fd 0
For example, if my network is setup in a way that my cluster nodes are plugged into TRUNK ports, how ould VE100 be on vlan 5 and VE101 be on vlan 6?
Debian uses a special naming convention for VLANs. Just add the VLAN ID to the ethernet device name, for example "eth0.5" is vlan 5 on eth0.
To add vlan 5 to vmbr0 just add "eth0.5" to the bridge (replacing eth0).
- Dietmar
You can use eth0.XXX on the web interface too (at least for bridge slaves). Or what do you want exactly?
- Dietmar
OK, but adding eth0.XXX does create the additional vlan for me ...
Yes. simply replace eth0 with eth0.XXX
and if i want to add another vlan?
eth0.50
eth0.51
Is it even possible?
I don't want to replace the existing interface but add other interfaces
as vlan's
should be possible.
Because you want to duplicate network traffic?
Ah, yes - I think that makes sense.
- Dietmar
The real result is that adding vlan to the vmbr1 lets all the machines (tap) connected to it
to work transparently withouth tagging. The tags are on the OUT-interface and on the switch.
The virtuals are all normal withouth vlan's.
Simple, no?
Yes, and that works already (just use ethX.YYY).