R1:R3 103:301
R2:R3 203:302
1,多点子接口
R1
conf t
int s 0
encap frame
no arp f
no frame inver
ip ad 10.1.1.1 255.255.255.0
frame map ip 10.1.1.3 103 b
frame map ip 10.1.1.2 103 b
no shut
end
R2
conf t
int s 0
encap f
no arp f
no frame inver
ip ad 10.1.1.2 255.255.255.0
frame map ip 10.1.1.3 203 b
frame map ip 10.1.1.1 203 b
no shut
end
R3
conf t
int s 0
encap f
no arp f
no frame inv
no shut
exit
int s 0.1 m
no arp f
no frame inver
ip ad 10.1.1.3 255.255.255.0
frame map ip 10.1.1.1 301 b
frame map ip 10.1.1.2 302 b
end
R1#
ping 10.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/66/228 ms
R1# ping 10.1.1.2
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/66/228 ms
R1# ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/111/372 ms
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/111/372 ms
R2#
ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/140/424 ms
R2# ping 10.1.1.3
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/140/424 ms
R2# ping 10.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/79/164 ms
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/79/164 ms
R3#
ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/82/224 ms
R3# ping 10.1.1.2
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/82/224 ms
R3# ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/75/232 ms
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/75/232 ms
2,点到点子接口
R1
conf t
int s 0
encap f
no arp f
exit
int s 0.1 point-to-point
ip ad 10.1.1.1 255.255.255.0
exit
no shut
end
R2
conf t
int s 0
encap f
no arp f
exit
int s 0.1 point-to-point
ip ad 10.1.2.2 255.255.255.0
frame interface-dlci 203
exit
no shut
end
R3
conf t
int s 0
encap f
no arp f
no shut
exit
int s 0.1 point-to-point
ip ad 10.1.1.3 255.255.255.0
frame interface-dlci 301
exit
int s 0.2 point-to-point
ip ad 10.1.2.3 255.255.255.0
frame interface-dlci 302
end
R1
#ping 10.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/44/100 ms
Sending 5, 100-byte ICMP Echos to 10.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/44/100 ms
R2#ping 10.1.2.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/72/216 ms
Sending 5, 100-byte ICMP Echos to 10.1.2.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/72/216 ms
R3#
ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/69/204 ms
R3# ping 10.1.2.2
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/69/204 ms
R3# ping 10.1.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/92/192 ms
Sending 5, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/92/192 ms