Test VLAN function

xiaoxiao2021-03-06  77

88.61 Connect to the switch of the switch, as a VLAN server, 88.60 is connected to the switch 3, as a client.

1) Install the RH9 on 88.61, the kernel version is

2.4.20

-8, download and install the installation package for the VLAN.

2) Execute at the server:

#vconfig add eth0 1

#ifconfig eth0.1 192.168.88.65

Divided with IEEE 802.1Q, select 1 of the 1st port in 3 ports, and 1, 3 ports in VLAN1, and use the ping command to communicate with each other between the two computers.

other:

Ifconfig -a views the NIC status.

Ifconfig -a | grep hwaddr | grep '/.' | awk '{print $ 1}' gets VLAN status

转载请注明原文地址:https://www.9cbs.com/read-93538.html

New Post(0)