免费下载此文档侵权投诉

Linux VLAN

Linux VLAN

Linux VLAN

Linux VLAN

Pre-install Debian 5.0 on server (Linux Router)

On Server

Step 1. Install vlan package on server.

debian:~# apt-get install vlan

Step 2. Load 802.1Q module

debian:~# modprobe 8021q

debian:~# vconfig add eth0 10

Added VLAN with VID == 10 to IF -:eth0:-

debian:~# vconfig add eth0 20

Added VLAN with VID == 20 to IF -:eth0:-

Step 4. Configure interface ip. ( Broadcast domain setup – 192.168.xxx.xxx )

eth0.X means vlan X

For this example:

debian:~# ifconfig eth0.10 192.168.10.1 netmask 255.255.255.0 up

debian:~# ifconfig eth0.20 192.168.20.1 netmask 255.255.255.0 up

第1页

免费下载Word文档免费下载:Linux VLAN

(下载1-9页,共9页)

我要评论

返回顶部