3Com 10014299 Network Router User Manual


 
332 CHAPTER 21: CONFIGURING IP APPLICATION
[Router] interface ethernet 0.1
b Specify 3 as the ID number of the VLAN on which the subinterface is located.
[Router-Ethernet0.1] vlan-type dot1q vid 3
c Configure IP address for the subinterface.
[Router-Ethernet0.1] ip address 3.3.3.8 255.255.255.224
d Create and enter the view of Ethernet subinterface Ethernet0.2.
[Router] interface ethernet 0.2
e Specify 4 as the ID number of the VLAN on which the subinterface is located.
[Router-Ethernet0.2] vlan-type dot1q vid 4
f Configure IP address for the subinterface.
[Router-Ethernet0.2] ip address 3.3.3.55 255.255.255.224
2 Configure LAN Switch:
a Configure the port information of LAN Switch
Port :
Port1 : default Vlan id : 3 port type: untagged
Port2 : default Vlan id : 4 port type: untagged
Port3 : default Vlan id : 0 port type: tagged
b Configure VLAN information of LAN Switch.
Vlan :
Unknown Vlan :Discard
Vlan index : 0
Vlan id : 003
Including ports:
Port 1 : 'YES'
Port 2 : 'NO'
Port 3 : 'YES'
Unknown Vlan :Discard
Vlan index : 1
Vlan id : 004
Including ports:
Port 1 : 'NO'
Port 2 : 'YES'
Port 3 : 'YES'
Fault Diagnosis and
Troubleshooting of
VLAN
Fault: Ping the IP address of the Ethernet subinterface in the same VLAN
from a PC, but fails.
Troubleshooting: The steps below can be taken.
Use display interface ethernet 0.1 command or display interface
ethernet 0.2
command to ensure that the physical interface of this
subinterface and the protocol are both in state Up. If the configuration is
correct, whereas the physical interface and the protocol are both in state of
Down, pleased check whether the network cable is correctly connected or not..
If the physical interface of this subinterface and the protocol are both in state
of Up, and the Ping operation still fails, please check whether the LAN Switch
configuration is correct. It must be ensured that the default VLAN id of ports
connected with router Ethernet interface differs from that of ports connected
with PC and the type of all ports must be tagged. However, the type of all ports