[PVE-User] VLANs

Daniel daniel at linux-nerd.de
Tue Feb 28 19:38:04 CET 2017


Hi,

looks perfect. I think i can adobt this to bond interfaces as well.

-- 
Grüsse
 
Daniel

Am 28.02.17, 17:36 schrieb "pve-user im Auftrag von Uwe Sauter" <pve-user-bounces at pve.proxmox.com im Auftrag von uwe.sauter.de at gmail.com>:

    I have a setup where I don't use Proxmox own VLAN management but have one bridge per VLAN that I use:
    
    /etc/network/interfaces
    ###
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
            address 192.168.253.200
            netmask 255.255.255.0
            gateway 192.168.253.254
    
    auto eth0.101
    iface eth0.101 inet manual
    
    auto eth0.102
    iface eth0.102 inet manual
    
    auto vmbr101
    iface vmbr101 inet manual
            bridge_ports eth0.101
            bridge_stp off
            bridge_fd 0
    
    auto vmbr102
    iface vmbr102 inet manual
            bridge_ports eth0.102
            bridge_stp off
            bridge_fd 0
    
    ###
    
    eth0 is used for access to the Proxmox host.
    VLAN 101 and 102 are used for VMs.
    Ths switch port is configured for VLAN 100 untagged (native) and VLAN 101 and 102 tagged.
    
    This gives you two VLANs that can be assigned separately to you VMs.
    
    If you need more details, keep asking.
    
    
    Regards,
    
    	Uwe
    
    Am 28.02.2017 um 16:32 schrieb Daniel:
    > Hi there,
    > 
    > i wanted to create a VLAN based on my Bonding interface.
    > I was looking in  the wiki (https://pve.proxmox.com/wiki/Category:HOWTO) but I didn’t find any ideas. Just old Versions seems to be documented.
    > 
    > Could you tell me who I can setup an VLAN without an IP Assigned to that interface and how can I add this later on a Container/VM.
    > Just change vmbr0 interface to the VLAN interface?
    > 
    > --
    > Grüsse
    > 
    > Daniel
    > _______________________________________________
    > pve-user mailing list
    > pve-user at pve.proxmox.com
    > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
    > 
    
    _______________________________________________
    pve-user mailing list
    pve-user at pve.proxmox.com
    http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
    



More information about the pve-user mailing list