Tags: vlan

Sort by: Date / Title /

  1. 1 year ago by spirit
    # Sur linux pour avoir une interface virtuelle qui tag sur le vlan 2 et attachée à eth0
    # Nécessite le package vlan (apt-get install vlan, yum install vlan, ...)
    ifconfig eth0.2 192.168.2.1
    
    # Sur cisco, pour autoriser les vlan 2 a 4 sur l'interface 0/1
    conf t
    int fa 0/1
    switchport mode trunk
    switchport trunk allowed vlan 2-4
    end
    write
  2. 1 year ago by spirit
    1. # Create the vlandevice dynamic:
    2. ifconfig vlan_device create
    3.  
    4. # The vlan_device is configured this way:
    5. ifconfig vlan_device vlan vlan_id vlandev parent_device

First / Previous / Next / Last / Page 1 of 1 (2 posteets)