use GVRP to register VLANs in switch

sidneifpj

New Member
Oct 8, 2015
1
0
1
Hi,
We are looking for one way to using GVRP to register the VLANs created in Proxmox hosts (VMs and CT) in the switches.
In all the tests we do, the switch never receives GVRP packets.
Can we use GVRP to automate the creation of VLANs? Which otherwise is recommended?
We using force10 S55 with:
Code:
!
interface Port-channel 1
 no ip address
 mtu 9252
 portmode hybrid
 switchport
 gvrp enable 
 no shutdown
!

Code:
auto lo
iface lo inet loopback

allow-ovs vmbr0

allow-vmbr0 vlan10
iface vlan10 inet static
    address  192.168.10.70
    netmask  255.255.255.0
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag=10
    ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
    mtu 1500
#  gateway 192.168.10.70

allow-vmbr0 vlan11
iface vlan11 inet static
    address  192.168.171.70
    netmask  255.255.255.0
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag=11
    ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
    mtu 1500
#  gateway 192.168.171.1

auto eth3
iface eth3 inet static
    address  192.168.248.70
    netmask  255.255.255.0
    gateway  192.168.248.1

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

allow-vmbr0 bond0
iface bond0 inet manual
    ovs_bonds eth0 eth1
    ovs_type OVSBond
    ovs_bridge vmbr0
    ovs_options lacp=active bond_mode=balance-tcp other_config:lacp-time=fast
    pre-up ( ifconfig eth0 mtu 9000 && ifconfig eth1 mtu 9000 )
    mtu 9000

auto vmbr0
iface vmbr0 inet manual
    ovs_type OVSBridge
    ovs_ports bond0 vlan10 vlan11
    mtu 9000
Best regards,
 
Last edited:
proxmox don't support it, but looking at ip command, it's possible to create it like that

"ip link add eth0.200 type vlan id 200 gvrp on loose_binding on"

so, maybe can you edit
/etc/network/if-pre-up.d/vlan

and change the line:

Code:
ip link add link $IF_VLAN_RAW_DEVICE name $IFACE type vlan id $VLANID gvrp on loose_binding on

?
 
Hi,

I’m noob to this. Do you think if change to OVS will then allow GPRV?

If I install OVS, will the default be automatically disabled?
 

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!