3Com 10014299 Network Router User Manual


 
VLAN Configuration 331
In as Ethernet interface is connected with a LAN Switch port. As the Ethernet
subinterface of every specified VLAN ID can act as an independent gateway, this
subinterface and other Ethernet subinterface in the same VLAN ID should belong
to the same subnet segment.
Please implement the following configuration under Ethernet subinterface view.
Table 364 Configure IP address of Ethernet subinterface
By default, no IP address is defined.
Ethernet subinterface acts as a gateway in VLAN and so the subnet number of its
IP address must be correct. The default gateway of LAN Switch ports that belong
to the same VLAN should be set as the IP address of this subinterface. Besides, the
IP address of Ethernet subinterface can be set only when this subinterface has
finished the configuration of VLAN ID.
Display and Debug
VLAN
Table 365 Display and Debug VLAN
Typical VLAN
Configuration Example
I. Networking Requirements
Two PCs respectively belongs to two VLANs and a router is used to implement
data forwarding between two different VLANs.
II. Networking Diagram
Figure 123 Networking diagram for configuring VLAN forwarding
1)
III. Configuration Procedure
1 Configure the 3Com Routers:
a Create and enter the view of Ethernet subinterface Ethernet0.1
Operation Command
Configure IP address of Ethernet subinterface ip address ip-address mask
Delete IP address of Ethernet subinterface undo ip address [ ip-address ]
Operation Command
Display the relevant information of all the configured
VLAN
display vlan
Enable the debugging of the Ethernet debugging ethernet
PC 1 PC 2
Router
P1 P2 P3 P4 P5 P6 P7 P8 Console
LAN Switch
P1: Port 1