Difference between revisions of "IPv6: VyOS: VLAN"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "VLAN Sub-Interfaces (802.1Q) 802.1Q VLAN interfaces are represented as virtual sub-interfaces in VyOS. The term used for this is vif. Configuration of a tagged sub-interface...")
 
 
Line 18: Line 18:
 
  lo              127.0.0.1/8                      u/u
 
  lo              127.0.0.1/8                      u/u
 
                   ::1/128
 
                   ::1/128
 +
 +
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[TCP/IP: Advanced Routing]]
 +
* [[Quagga]]
 +
* [[VyOS]]
 +
* [[Mikrotik]]
 +
* [[Cisco]]
 +
* [[Juniper]]
 +
* [[BIRD1]]
 +
* [[BIRD2]]
 +
* [[IPv6]]
 +
 +
 +
* [[TCP/IP: Advanced Routing]]
 +
* [[IPv6: Advanced Routing]]
 +
* [[IPv6: Quagga]]
 +
* [[IPv6: VyOS]]
 +
* [[IPv6: Mikrotik]]
 +
* [[IPv6: Cisco]]
 +
* [[IPv6: Juniper]]
 +
* [[IPv6: BIRD1]]
 +
* [[IPv6: BIRD2]]
 +
* [[IPv6]]

Latest revision as of 09:21, 28 January 2019

VLAN Sub-Interfaces (802.1Q)

802.1Q VLAN interfaces are represented as virtual sub-interfaces in VyOS. The term used for this is vif. Configuration of a tagged sub-interface is accomplished using the configuration command set interfaces ethernet <name> vif <vlan-id>.

set interfaces ethernet eth1 vif 100 description 'VLAN 100'
set interfaces ethernet eth1 vif 100 address '192.168.100.1/24'

VLAN interfaces are shown as <name>.<vlan-id>, e.g. eth1.100:

vyos@vyos:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             172.16.51.129/24                  u/u  OUTSIDE
eth1             192.168.0.1/24                    u/u  INSIDE
eth1.100         192.168.100.1/24                  u/u  VLAN 100
lo               127.0.0.1/8                       u/u
                 ::1/128



Pranala Menarik