1 IP配置
[r1-Serial4/0/0]ip address 15.0.0.1 8
[r2-Serial4/0/0]ip address 25.0.0.1 8
[r3-Serial4/0/0]ip address 35.0.0.1 8
[r4-GigabitEthernet0/0/1]ip address 45.0.0.1 8
[ISP-Serial3/0/0]ip address 15.0.0.2 8
[ISP-Serial3/0/1]ip address 25.0.0.2 8
[ISP-Serial4/0/0]ip address 35.0.0.2 8
[ISP-GigabitEthernet0/0/0]ip address 45.0.0.2 8
pc1 192.168.1.2 255.255.255.0
pc2 192.168.2.2 255.255.255.0
pc3 192.168.3.2 255.255.255.0
pc4 192.168.4.2 255.255.255.0
2
(1)
(2)
(3)
[r3]display interface Serial 4/0/0
[isp]display interface Serial 4/0/0
[isp-Serial4/0/0]link-protocol hdlc
[r3-Serial4/0/0]link-protocol hdlc
3
(1)
(2)
4
5
[isp]ip route-static 0.0.0.0 0 15.1.1.1
[isp]ip route-static 0.0.0.0 0 25.1.1.1
[isp]ip route-static 0.0.0.0 0 35.1.1.1
[isp]ip route-static 0.0.0.0 0 45.1.1.1