
Chapter 8
Configuring VLANs
71
2. Use the
ifconfig(1M)
to configure a VLAN virtual device, for example:
The output of
ifconfig -a
on a system having VLAN devices
nxge123000
and
nxge224000
:
3. On the switch, set VLAN tagging and set VLAN ports to coincide with the VLANs
you’ve 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.
Configuring VLANs in a Linux
Environment
▼
To Configure VLANs in a Linux Environment
1. Ensure that the
nxge
module is loaded:
# ifconfig nxge123000 plumb up
# ifconfig nxge224000 plumb up
#
ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 129.144.131.91 netmask ffffff00 broadcast 129.144.131.255
ether 8:0:20:a4:4f:b8
nxge123000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 199.199.123.3 netmask ffffff00 broadcast 199.199.123.255
ether 8:0:20:a4:4f:b8
nxge224000: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 199.199.224.3 netmask ffffff00 broadcast 199.199.224.225
ether 8:0:20:a4:4f:b8
#
modprobe nxge
Содержание Dual XFP
Страница 8: ...viii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 10: ...x Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 12: ...xii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 18: ...xviii Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 22: ...4 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 30: ...12 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 52: ...34 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 78: ...60 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 84: ...66 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 94: ...76 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 98: ...80 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...
Страница 100: ...82 Sun Dual 10GbE XFP PCI Express Card User s Guide January 2009...