Tải bản đầy đủ (.doc) (2 trang)

Quản trị mạng Lab 7 - InterVLAN

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (79.28 KB, 2 trang )

CCNA LAB No. 7: Inter VLAN Routing CONFIGURATION Lab time: 1 session
 Students are recommended to read the entire lab requirement before starting. The TIP session should
only be used for troubleshooting. For any problem concerns hardware or losing connectivity, please contact
instructor.
Topology:
Caution
1. On switch 3550, you must encapsulate the port with dot1q or isl type before turn that
port to trunk mode.
Task
1. On router Cisco 2600 configure trunk encapsulation and assign VLAN ID for each
subinterfaces
R4(config)#int e0/0
R4(config-if)#no shut
R4(config-if)#exit
R4(config)#int e0/0.3
R4(config-subif)#encapsulation dot1Q 3
R4(config)#int e0/0.5
R4(config-subif)#encapsulation dot1Q 5
2. Configure two Ethernet subinterfaces on Router R4 to use the last usable IP addresses in
subnet 172.0.34.0/24 and 172.0.45.0/24
R4(config)#int e0/0.3
R4(config-subif)#ip address 172.0.34.253 255.255.255.0
R4(config)#int e0/0.5
R4(config-subif)#ip address 172.0.45.253 255.255.255.0
3. Configure Port fa0/4 to turn its mode to trunk mode. Match the trunk encapsulation
protocol between port fa0/4 and Ethernet subinterface on Router.
Sw3550-2(config)#int f0/4
Sw3550-2(config-if)#switchport trunk encapsulation dot1q
Sw3550-2(config-if)#switchport mode trunk
4. Create 2 VLANs on the Switch and add ports in to them as in the above figure.
Sw3550-2(config)#vlan 2


Sw3550-2(config)#int f0/2
Sw3550-2(config-if)#switchport mode access
Sw3550-2(config-if)#switchport access vlan 2
We do the same with vlan 5
5. Assign IP addresses for routers’ ethernet 0 interface so that they’re in the same subnet
with their corresponding subinterfaces on Router 4.
R3(config)#int e0
R3(config-if)#ip address 172.0.34.3 255.255.255.0
R3(config-if)#no shut
R5(config)#int e0
R5(config-if)#ip address 172.0.45.5 255.255.255.0
R5(config-if)#no shut
6. Configure a default route on Router 3 and 5
R3(config)#ip route 0.0.0.0 0.0.0.0 172.0.34.253
R5(config)#ip route 0.0.0.0 0.0.0.0 172.0.45.253
7. Check IP connectivity using Ping command from router R3 to router R5.

Bonus Tasks:
1. Remove any default route on all routers.
2. Configure NAT on Router 4 so that R3 can ping R5
3. Try to use all kinds of NAT configuration
End of lab 7

×