Chào các bạn đến với Blog chia sẻ trao đổi kinh nghiệm và học tập

21 thg 7, 2012

LAB STATIC ROUTE


I . Mô hình bài LAB


II .Mục tiêu bài LAB
a.    Đặt IP cho các cổng
b.    Cấu hình DHCP và giới hạn IP
c.    Kiểm tra cấp IP
d.    Định tuyến Route Static
e.    Test
III.Cấu hình theo thứ tự
SAIGON(config)#in f0/0
SAIGON(config-if)#no sh
SAIGON(config-if)#ip address 192.168.1.254 255.255.255.0
SAIGON(config)#ip dhcp pool LAN
SAIGON(dhcp-config)#network 192.168.1.0 255.255.255.0
SAIGON(dhcp-config)#default-router 192.168.1.254
SAIGON(dhcp-config)#dns-server 8.8.8.8

SAIGON#show ip dhcp binding
IP address       Client-ID/              Lease expiration        Type
                 Hardware address
192.168.1.1      0060.7027.C764           --                     Automatic
192.168.1.2      0003.E496.7A39           --                     Automatic

SAIGON(config)#in s0/0/0
SAIGON(config-if)#no sh  
SAIGON(config-if)#ip add  200.200.200.2 255.255.255.252   
SAIGON(config-if)#clock rate 64000

DANANG(config)#in f0/0
DANANG(config-if)#no sh
DANANG(config-if)#ip address 192.168.3.254 255.255.255.0
DANANG(config)#ip dhcp pool lan
DANANG(dhcp-config)#network 192.168.3.0 255.255.255.0
DANANG(dhcp-config)#default-router 192.168.3.254
DANANG(dhcp-config)#dns-server 8.8.8.8
DANANG(config)#ip dhcp excluded-address 192.168.3.1 192.168.3.9

DANANG#show ip dhcp binding
IP address       Client-ID/              Lease expiration        Type
                 Hardware address
192.168.3.10     000A.415C.7683           --                     Automatic
192.168.3.11     0060.2F87.03AC           --                     Automatic

DANANG(config)#in s0/0/0
DANANG(config-if)#no sh
DANANG(config-if)#ip address 210.210.210.2 255.255.255.0

HANOI(config)#in f0/0
HANOI(config-if)#no sh
HANOI(config-if)#ip address 192.168.2.254 255.255.255.0
HANOI(config)#ip dhcp pool LAN_HANOI
HANOI(dhcp-config)#network 192.168.2.0 255.255.255.0
HANOI(dhcp-config)#default-router 192.168.2.254
HANOI(dhcp-config)#dns-server 210.245.31.130
HANOI(config)#ip dhcp excluded-address 192.168.2.1 192.168.2.99

HANOI#show ip dhcp binding
IP address       Client-ID/              Lease expiration        Type
                 Hardware address
192.168.2.100    0002.4A21.EE61           --                     Automatic
192.168.2.101    0009.7CE5.BE02           --                     Automatic

HANOI(config)#in s0/0/1
HANOI(config-if)#no sh
HANOI(config-if)#clock rate 64000
HANOI(config-if)#ip address 210.210.210.1 255.255.255.252
HANOI(config)#in s0/0/0
HANOI(config-if)#no sh
HANOI(config-if)#ip address 200.200.200.1 255.255.255.252
Ruote 
HANOI(config)#ip route 192.168.3.0 255.255.255.0 210.210.210.2      
HANOI(config)#ip route 192.168.1.0 255.255.255.0 200.200.200.2

DANANG(config)#ip route 192.168.1.0 255.255.255.0 210.210.210.1
DANANG(config)#ip route 192.168.2.0 255.255.255.0 210.210.210.1
DANANG(config)#ip route 200.200.200.0 255.255.255.0 210.210.210.1

SAIGON(config)#ip route 192.168.2.0 255.255.255.0 200.200.200.1
SAIGON(config)#ip route 192.168.3.0 255.255.255.0 200.200.200.1
SAIGON(config)#ip route 210.210.210.0 255.255.255.0 200.200.200.1

Hoặc Router default
HANOI(config)#ip route 0.0.0.0 0.0.0.0 210.210.210.2                             
HANOI(config)#ip route 0.0.0.0 0.0.0.0 200.200.200.2

DANANG(config)#ip route 0.0.0.0 0.0.0.0 210.210.210.1
SAIGON(config)#ip route 0.0.0.0 0.0.0.0 200.200.200.1
Test  
DANANG#ping 192.168.1.254
Type escape sequence to abort.                                                                                                                                                                                                                                                                                
Sending 5, 100-byte ICMP Echos to 192.168.1.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/11 ms
DANANG#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 13/15/17 ms

SAIGON#copy running-config startup-config
SAIGON#show ip interface brief
SAIGON#show ip route




1 nhận xét:

Nặc danh nói...

Best online casino site【VIP】✓Free Play 【Hacksaw Casino Review】
Best Online Casino Site in India: Live Casino ⭐ Review ⚡ Safe & Secure Casinos luckyclub ✓ Desktop and Mobile ✓ No Download ✓ Best Bonus Codes.