VLAN with no IP Address Example

The following example shows how to configure a VLAN (ID 25) with no IP address to create a PPPoE connection on top (script file ifcfg-eth0.25).

Parameter

Description

BOOTPROTO=none

Sets no IP address

HWADDR=4C:02:89:00:F3:90

Replace the MAC value with the actual MAC address of the card.

MACADDR=4C:02:89:00:F3:26

Include this line only if you want to have a spoof MAC address.

NM_CONTROLLED=yes

Set to no if you do not want to allow changes from the web interface.

TYPE=Ethernet

Set the interface type to ethernet.

IPV6INIT=no

Set to IPv4

DEVICE=eth0.25

Set the VLAN ID to 25

VLAN=yes

Enables VLAN

ONBOOT=yes

Applies at start up