To Configure VLANs in a Linux Environment

1.Ensure that the e1000 module is loaded:

#modprobe e1000

2.Plumb the Sun PCI-Express Dual Gigabit Ethernet interface:

#ifconfig eth2 xxx.xxx.xx.xxx up

where xxx.xxx.xx.xxx = the IP address of the interface.

3.Insert the VLAN module:

#/sbin/modprobe 8021q

4.Add the VLAN instance (VID):

#/sbin/vconfig add eth2 5

5.Configure the e1000 VLAN (eth2 in this example):

#ifconfig eth2.5 xxx.xxx.xx.xxx up

where xxx.xxx.xx.xxx = the IP address of the interface.

Appendix C Installing the Sun PCI-Express Dual Gigabit Ethernet Device Driver on Linux Platforms 85

Page 119
Image 119
Sun Microsystems Ethernet MMF/UTP Adapter manual To Configure VLANs in a Linux Environment, Insert the Vlan module