beautypg.com

To configure vlans in a linux environment – Sun Microsystems Ethernet PCI-X Adapter User Manual

Page 75

background image

Appendix D

Installing the Sun 10-Gigabit Ethernet Device Driver on Linux Platforms

59

To Configure VLANs in a Linux Environment

1. Ensure that the

ixge

module is loaded:

2. Plumb the Sun 10-Gigabit Ethernet PCI-X interface:

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

3. Insert the vlan module:

4. Add vlan instance (VID):

5. Configure

ixge

vlan (

eth2

in this example):

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

# modprobe ixge

# ifconfig eth2

xxx.xxx.xx.xxx

up

# /sbin/insmod 8021q

# sbin/vconfig add eth2 5

# ifconfig eth2.5

xxx.xxx.xx.xxx

up