beautypg.com

Sun Microsystems Ethernet MMF/UTP Adapter User Manual

Page 95

background image

Chapter 5

Configuring VLANs

61

2. Use the ifconfig(1M) to configure a VLAN virtual device, for example:

The output of ifconfig -a on a system having VLAN devices ipge123000 and
ipge224000

:

3. On the switch, set VLAN tagging and set VLAN ports to coincide with the VLANs

you have set up on the server.

Using the examples in

Step 2

, you would set up VLAN ports 123 and 224 on the

switch.

Refer to the documentation that came with your switch for specific instructions for
setting VLAN tagging and ports.

# ifconfig ipge123000 plumb up

# ifconfig ipge4000 plumb up

# ifconfig -a

ipge4000: flags=201000843 mtu 1500

index 5

inet 0.0.0.0 netmask ff000000

ether 0:3:ba:d8:d3:a6

ipge123000: flags=201000843 mtu 1500

index 4

inet 0.0.0.0 netmask ff000000

ether 0:3:ba:d8:d3:a6