vlan problems

GrdNico

New Member
May 10, 2010
4
0
1
poitiers, France
[Solved] vlan problems

Hello,

here my problem :

i have a proxmomox serveur with 5 nic's and I try to use Vlan TAG with eth4

a made a link to a switch untag vlan 1 , tag vlan 7 and 1023 on the switch

on proxmox interface : create vmbr4 --> eth4 , vmbr5 --> eth4.7 , vmbr6 --> eth4.1023

create new VM , add network interface , install VM eth0, eth1, eth2 seem ok put the IP conf on that interfaces.

eth0 work great !!

eth1 and eth 2 don't

try now for 2 day's and i think that i miss something important.
so if you can help me ..


VM IP's
eth0 -> 192.168.0.120
eth1 --> 192.168.7.250
eth2 --> 192.168.23.1

ping 192.168.23.254 (gateway ping ok on other PC)

i take a look with TCP dump on the proxmox

tcpdump -i vmbr6

16:59:38.878786 arp who-has 192.168.23.254 tell 192.168.23.1
16:59:39.884904 arp who-has 192.168.23.254 tell 192.168.23.1
16:59:41.886206 arp who-has 192.168.23.254 tell 192.168.23.1

tcpdump -i eth4 vlan |grep 1023

16:59:38.878820 vlan 1023, p 0, arp who-has 192.168.23.254 tell 192.168.23.1
16:59:38.880011 vlan 1023, p 0, arp reply 192.168.23.254 is-at 00:1c:9c:d8:88:45 (oui Unknown)
16:59:39.884934 vlan 1023, p 0, arp who-has 192.168.23.254 tell 192.168.23.1
16:59:39.886112 vlan 1023, p 0, arp reply 192.168.23.254 is-at 00:1c:9c:d8:88:45 (oui Unknown)

so if i understand , arp request start from my VM on eth1 --> vmbr6 --> eth4 --->gateway

ARP reply come from gateway to eth4 (vlan 1023) but never come in vmbr6

Arp reply are broadcast (L2) i think. so here's the problem ?

can you help me ?

thank

GrdNico (French people with bad english)
 
Last edited:
re,
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

iface eth4 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
bridge_ports eth2
bridge_stp off
bridge_fd 0

auto vmbr3
iface vmbr3 inet manual
bridge_ports eth3
bridge_stp off
bridge_fd 0

auto vmbr4
iface vmbr4 inet manual
bridge_ports eth4
bridge_stp off
bridge_fd 0

auto vmbr5
iface vmbr5 inet manual
bridge_ports eth4.7
bridge_stp off
bridge_fd 0

auto vmbr6
iface vmbr6 inet manual
bridge_ports eth4.1023
bridge_stp off
bridge_fd 0

my /etc/network/interfaces

GrdNico
 
Hi,
i have vlan-tagging with proxmox running - without trouble. But i don't use on the same nic the default vlan.
Try following interface-file:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address  0.0.0.0
    netmask  0.0.0.0

auto vmbr0
iface vmbr0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.254
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto eth1
iface eth1 inet static
    address  0.0.0.0
    netmask  0.0.0.0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto eth2
iface eth2 inet static
    address  0.0.0.0
    netmask  0.0.0.0

auto vmbr2
iface vmbr2 inet manual
bridge_ports eth2
bridge_stp off
bridge_fd 0

auto eth3
iface eth3 inet static
    address  0.0.0.0
    netmask  0.0.0.0

auto vmbr3
iface vmbr3 inet manual
bridge_ports eth3
bridge_stp off
bridge_fd 0

auto eth4
iface eth4 inet static
        address  0.0.0.0
        netmask  0.0.0.0

auto eth4.7
iface eth4.7 inet static
    address  0.0.0.0
    netmask  0.0.0.0

auto eth4.1023
iface eth4.1023 inet static
    address  0.0.0.0
    netmask  0.0.0.0


auto vmbr7
iface vmbr7 inet manual
    bridge_ports eth4.7
    bridge_stp off
    bridge_fd 0

auto vmbr1023
iface vmbr1023 inet manual
    bridge_ports eth4.1023
    bridge_stp off
    bridge_fd 0

Udo
 
thank a lot udo, that's just this.

udo said:
i have vlan-tagging with proxmox running - without trouble. But i don't use on the same nic the default vlan.

my network Conf was wrong Exactly for this reason. and the file you give me is good.
after that :

I try add vmbr4 on eth4 and Boum no more vlan 7 and 1023

I try add eth4.1 and vmbr4 -->eth4.1 with vlan 1 tagged on the switch port ==> Works

on more time , thank udo
hope my mistake will help ...finally :)

GrdNico

P.S. good job proxmox team
i don't know how to edited thread tittle to [Solved] so if modérator can do it for me ;)
 
Last edited:

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!