TrưỜng cao đẲng nghề ispace



tải về 2.34 Mb.
Chế độ xem pdf
trang83/88
Chuyển đổi dữ liệu29.07.2022
Kích2.34 Mb.
#52760
1   ...   80   81   82   83   84   85   86   87   88
ĐỒ ÁN - Xây dựng hệ thống hạ tầng mạng cho doanh nghiệp

 
2. Trên HN tạo tunnel 0 ; 1: 
 
HN(config)#interface tunnel 0 
HN(config-if)#ip address 10.0.0.2 255.255.255.248 
HN(config-if)#ip nhrp map 10.0.0.1 10.1.1.2 
HN(config-if)#ip nhrp network-id 100 
HN(config-if)#ip nhrp nhs 10.0.0.1 
HN(config-if)#ip ospf network non-broadcast 
HN(config-if)#ip ospf cost 10 
HN(config-if)#ip ospf priority 0 
HN(config-if)#tunnel source serial 0/0 
HN(config-if)#tunnel destination 10.1.1.2 
HN(config-if)#tunnel key 100 
Hình 2.25: SG1 ping HN theo tunnel 0 
 
HN(config)#interface tunnel 1 
HN(config-if)#ip address 10.10.10.2 255.255.255.248 
HN(config-if)#ip nhrp map 10.10.10.1 10.1.2.2 
HN(config-if)#ip nhrp network-id 101 


TRƯỜNG CAO ĐẲNG NGHỀ iSPACE 
240 Võ Văn Ngân, Phường Bình Thọ, Quận Thủ Đức, TpHCM 
Website: 
www.ispace.edu.vn
  Email: 
ispace@ispace.edu.vn
  
Tel: (848) 6267 8999 - Fax: (848) 6283 7867
Đề Tài Tốt Nghiệp  
www.oktot.com
  
Trang 103 
HN(config-if)#ip nhrp nhs 10.10.10.1 
HN(config-if)#ip ospf network non-broadcast 
HN(config-if)#ip ospf cost 100 
HN(config-if)#ip ospf priority 0 
HN(config-if)#tunnel source serial 0/0 
HN(config-if)#tunnel destination 10.1.2.2 
HN(config-if)#tunnel key 101 
Hình 2.26: SG2 ping HN theo tunnel 1 
 
3. Trên DN tạo tunnel 0 ; 1: 
 
DN(config)#interface tunnel 0 
DN(config-if)#ip address 10.0.0.3 255.255.255.248 
DN(config-if)#ip nhrp map 10.0.0.1 10.1.1.2 
DN(config-if)#ip nhrp network-id 100 
DN(config-if)#ip nhrp nhs 10.0.0.1 
DN(config-if)#ip ospf network non-broadcast 
DN(config-if)#ip ospf cost 10 
DN(config-if)#ip ospf priority 0 
DN(config-if)#tunnel source serial 0/0 
DN(config-if)#tunnel destination 10.1.1.2 
DN(config-if)#tunnel key 100 
Hình 2.27: SG2 ping DN theo tunnel 0 
 
DN(config)#interface tunnel 1 
DN(config-if)#ip address 10.10.10.3 255.255.255.248 
DN(config-if)#ip nhrp map 10.10.10.1 10.1.2.2 
DN(config-if)#ip nhrp network-id 101 
DN(config-if)#ip nhrp nhs 10.10.10.1 
DN(config-if)#ip ospf network non-broadcast 
DN(config-if)#ip ospf cost 100 
DN(config-if)#ip ospf priority 0 
DN(config-if)#tunnel source serial 0/0 
DN(config-if)#tunnel destination 10.1.2.2 
DN(config-if)#tunnel key 101 
Hình 2.28: SG1 ping DN theo tunnel 1 



tải về 2.34 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   80   81   82   83   84   85   86   87   88




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương