Labo Frame-Relay 2 : Configuration Hub and Spoke
Cette topologie est aussi appelée topologie en étoile. Les noeuds sont reliés au noeud principal. Tant qu'un mapping explicite ne sera pas effectué sur RA2 et RA3 (qui ne disposent pas de circuit virtuel propre), RA2 ne pourra pas joindre RA3 (et inversement) à partir des interfaces sérielles. Par contre, si le routage est bien configuré, les LANs pourront se joindre. En laboratoire, on peut en faire la démonstration par un "ping extended".
|
RA3 |
|
interface Serial0 ip address 192.168.1.3 255.255.255.0 encapsulation frame-relay |
|
SWITCH |
|
frame-relay switching ! interface Serial0/0 no ip address encapsulation frame-relay clockrate 64000 frame-relay intf-type dce frame-relay route 130 interface Serial0/1 131 frame-relay route 134 interface Serial0/2 133 ! interface Serial0/1 no ip address encapsulation frame-relay clockrate 64000 frame-relay intf-type dce frame-relay route 131 interface Serial0/0 130 ! interface Serial0/2 no ip address encapsulation frame-relay clockrate 64000 frame-relay intf-type dce frame-relay route 133 interface Serial0/0 134 |
Diagnostic sur RA1
RA1#show frame-relay map
Serial0 (up): ip 192.168.1.2 dlci 130(0x82,0x2020), dynamic,
broadcast,, status defined, active
Serial0 (up): ip 192.168.1.3 dlci 134(0x86,0x2060), dynamic,
broadcast,, status defined, active
RA1#show frame-relay pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
Active Inactive Deleted Static
Local 2 0 0 0
Switched 0 0 0 0
Unused 0 0 0 0
DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
input pkts 245 output pkts 240 in bytes 23552
out bytes 23234 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 165 out bcast bytes 15434
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 01:20:58, last time pvc status changed 00:16:27
DLCI = 134, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
input pkts 149 output pkts 115 in bytes 14228
out bytes 11056 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 90 out bcast bytes 8456
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:43:19, last time pvc status changed 00:16:28
RA1#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 = 56/56/60 ms
RA1#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
Diagnostic sur RA2
RA2#show frame-relay map
Serial0 (up): ip 192.168.1.1 dlci 131(0x83,0x2030), dynamic,
broadcast,, status defined, active
RA2#show frame-relay pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
Active Inactive Deleted Static
Local 1 0 0 0
Switched 0 0 0 0
Unused 0 0 0 0
DLCI = 131, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
input pkts 198 output pkts 196 in bytes 19102
out bytes 19074 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 146 out bcast bytes 13874
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 01:08:17, last time pvc status changed 00:18:16
RA2#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/56 ms
RA2#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Diagnostic sur RA3
RA3#show frame-relay map
Serial0 (up): ip 192.168.1.1 dlci 133(0x85,0x2050), dynamic,
broadcast,, status defined, active
RA3#show frame-relay pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
Active Inactive Deleted Static
Local 1 0 0 0
Switched 0 0 0 0
Unused 0 0 0 0
DLCI = 133, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
input pkts 92 output pkts 93 in bytes 9028
out bytes 9086 dropped pkts 0 in FECN pkts 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 58 out bcast bytes 5446
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:24:03, last time pvc status changed 00:23:53
RA3#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/56/60 ms
RA3#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Diagnostic sur Switch
Switch#sh frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 130 Serial0/1 131 active
Serial0/0 134 Serial0/2 133 active
Serial0/1 131 Serial0/0 130 active
Serial0/2 133 Serial0/0 134 active
Ping dâun LAN vers un LAN
RA3#ping
Protocol [ip]:
Target IP address: 192.168.10.2
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.30.5
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 108/111/112 ms
RA2#ping
Protocol [ip]:
Target IP address: 192.168.30.5
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.10.2
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 108/111/112 ms