Subinterface là gì

  -  

VLAN routing by Sub Interface on the Router

On the physical port of the router can be split into the ngắn gọn xúc tích Interface (sub interface), so we have khổng lồ sub interface command

router (config) #interface f0/0.x (x is any number from 1 khổng lồ nearly 2 billion , this number when you configure any VLAN) and each sub will be packaged for each VLAN encapsulation dot1q command corresponding Vlan_ID. And we put in each sub IP address corresponding to lớn the VLAN to represent you.

To better we configure the following example:

We use Packet Tracer network diagram as follows: (Figure 1)

 Detail configuration:

+) On Router O:

*

+) On Switch 1 (I create VLAN 1 and add 2 port f0/3 – f0/2 port 4 on the trunk và f0/1 -f0/2)

*

+) On Switch 2

*

+) At Switch3 (I create VLAN 3 and địa chỉ cửa hàng 2 port f0/2 – f0/3 to lớn 1 và trunk port f0/1).

*

+) On the PC5, PC3, PC1 (I put in the order of ip network VLAN 1, VLAN 2 & VLAN 3) as shown in Figure 1

We testing with ping command lớn PCs

*

Next we configuration DHCP hệ thống

+) On hệ thống 0

We configured for VLAN 3 and name it (Figure 3)

*

Next we configure on Router 0 as follows:

*

Finally you onto PC0, PC2, PC4 khổng lồ DHCP mode, the pc will get IP network with that VLAN (Figure 4)

*

I wish you success

See more: Default route

Lượt coi (6548)


Định tuyến những Vlan và setup DHCP
*
Configuring a simple LAN on Packet Tracert
*
Process routing on a Router
*
Vlan trên switch Cisco
*
Thiết kế hệ thống mạng thực tiễn
*
Set the IP address for Layer 3 Switch Cisco
*
Configuring Static Route
*
Cấu hình Telnet bên trên Switch cisco