Anda di halaman 1dari 1

ViDeo Huong Dan

Cau Hinh Switch Layer 3 Lam DHCP Server


***************
Thuc Hien Boi NamNT - SaoBacDau-acad
-----------------------------------------
Gioi thieu qua ve mo hinh:
Mo Hinh Mang gom co 1 Vlans Routing, 1 Switch layer 3 thuc hien tu dong cap dia
chi cho cac PC.
VLANs Routing se thuc hien cap 4 dai dia chi cho 4 VLANs la VLANs 1 , 2 , 3 , 4
VLANs 1 co dia chi: 192.168.1.0/24
VLANs 2 co dia chi: 192.168.2.0/24
VLANs 3 co dia chi: 192.168.3.0/24
VLANs 4 co dia chi: 192.168.4.0/24
----
Co 2 PC se noi day Console vao ROuter va Switch de thuc hien cau hinh. Cac PC co
n lai se noi den Switch layer 3 va de che do tu dong nhan dia chi.
-----------
Chi co cac PC biet duong ra ngoai chu Switch layer 3 ta khong cho di ra ngoai
--------------------------------
Cac Buoc Thuc hien:
1. Thuc Hien cau hinh tren cong Fa0/0 cua VLANs Routing thuc hien cap dia chi ch
o 4 VLANs khac nhau.
Ta tao cac Subinterface de thuc hien tao defaul gateway cho cac VLANs
Nhu vay ta da thuc hien cau hinh xong cong Fast Ethernet cua VLANs Routing
--------
2.Ta vao Switch layer 3 thuc hien tao cac VLANs 2 , 3 , 4 va thuc hien tao DHCP
server tren thiet bi nay
----
+ Thuc hien tao VLANs va add cac VLANs vao cac cong. Ta da thuc hien xong buoc n
ay
+ add cac vlans vao cac port
+ Thuc Hien tao cac DHCP cap dia chi cho 4 VLANs khac nhau nay.
Ta da thuc hien xong buoc tao cac DHCP
+ Tao DHCP nhung lam sao de Switch layer 3 co the tu dong cap dia chi dung cho c
ac thiet bi trong cac VLANs khac nhau duoc.
Cung giong nhu ROuter khi thuc hien cap dia chi DHCP cho cac thiet bi khac, no s
e soi vao dia chi cua cac cong ma co dia chi mang trung voi dai dia chi trong po
ol DHCP cua no, con tren Switch layer 3, no se soi vao dia chi cua cac VLANs tuo
ng ung.
Buoc tiep theo ta se add cac dia chi vao VLANs 1,2,3,4
tat ca cac VLANs minh se de dia chi cua no la 192.168.x.2 de cho nhanh
Ta se vao cac PC xem no da nhan duoc cac dia chi do Switch layer 3 cap hay chua
Luu y Switch layer 3 nay minh khong cho no ping ra ngoai nen ko add dia chi Defa
lt gateway cho no
Ta vao Cac PC ping thu den nhau va telnet den VLANs Routing va Switch Layer 3 de
kiem tra
Nhu vay cac PC trong mang LAN co the Ping duoc toi nhau
va no cung co the telnet duoc den Router va Switch
-------
Thuc hien cau hinh con S2/0 cua VLANs Routing va Router con lai de kiem tra xem
dung la Switch khong ra duoc mang ngoai hay khong
ta vao cac PC ping thud en ROuter 2 xem
ta vao Switch layer 3 ping thu
Nhu vay Switch layer 3 khong the di ra ngoai duoc
==========
Ta da thuc hien cau hinh xong bai nay
Chuc moi nguoi hoc tot