VPI default value de 0 au 8
VCI default value 32 au 67
Configuration du switch ATM
Topologie
Ici on a paramétré les routeurs avec des cartes réseaux Wan serial type ATM
Comment
On ajoute des cartes sur le slot 3 par exemple PA-A1
Et il faut que la version du IOS soit 12.4 (22)T pour une plate forme c7200
Et de même pour les autres routeurs
Configuration des routeurs
Configuration du R1
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface ?
ATM ATM interface
Async Async interface
Auto-Template Auto-Template interface
BVI Bridge-Group Virtual Interface
CDMA-Ix CDMA Ix interface
CTunnel CTunnel interface
Dialer Dialer interface
FastEthernet FastEthernet IEEE 802.3
Group-Async Async Group interface
Lex Lex interface
Loopback Loopback interface
MFR Multilink Frame Relay bundle interface
Multilink Multilink-group interface
Null Null interface
Port-channel Ethernet Channel of interfaces
Tunnel Tunnel interface
Vif PGM Multicast Host interface
Virtual-PPP Virtual PPP interface
Virtual-Template Virtual Template interface
Virtual-TokenRing Virtual TokenRing
range interface range command
vmi Virtual Multipoint Interface
R1(config)#interface atm?
ATM
R1(config)#interface ATM ?
<0-7> ATM interface number
R1(config)#interface ATM 1/0
R1(config-if)#no shutdown
R1(config-if)#do show ip interface br
Interface IP-Address OK? Method Status Prot ocol
FastEthernet0/0 unassigned YES unset administratively down down
ATM1/0 unassigned YES unset up up
SSLVPN-VIF0 unassigned NO unset up up
R1(config-if)#exit
R1(config)#interface a1/0.1 ?
multipoint Treat as a multipoint link
point-to-point Treat as a point-to-point link
R1(config)#interface a1/0.1 m
R1(config)#interface a1/0.1 multipoint
R1(config-subif)#ip address 10.0.0.1 255.255.255.0
R1(config-subif)#pv
R1(config-subif)#pvc ?
<0-255> Enter VPI/VCI value(slash required)
<1-1023> Enter VCI value
WORD Optional handle to refer to this connection
R1(config-subif)#pvc 0/102
R1(config-if-atm-vc)#en
R1(config-if-atm-vc)#encapsulation ?
aal5mux AAL5+MUX Encapsulation
aal5nlpid AAL5+NLPID Encapsulation
aal5snap AAL5+LLC/SNAP Encapsulation
R1(config-if-atm-vc)#encapsulation aal5n
R1(config-if-atm-vc)#encapsulation aal5sn
R1(config-if-atm-vc)#encapsulation aal5snap
R1(config-if-atm-vc)#protocol ip ?
A.B.C.D Protocol specific address
inarp Use inarp on this protocol
R1(config-if-atm-vc)#protocol ip 10.0.0.2 ?
broadcast Pseudo-broadcast
no Prevent Pseudo-broadcast on this connection
<cr>
R1(config-if-atm-vc)#protocol ip 10.0.0.2 b
R1(config-if-atm-vc)#protocol ip 10.0.0.2 broadcast
R1(config-if-atm-vc)#exit
R1(config-subif)#pvc 0/103
R1(config-if-atm-vc)#enc
R1(config-if-atm-vc)#encapsulation aal5s
R1(config-if-atm-vc)#encapsulation aal5snap
R1(config-if-atm-vc)#pr
R1(config-if-atm-vc)#protocol ip 10.0.0.3 b
R1(config-if-atm-vc)#protocol ip 10.0.0.3 broadcast
R1(config-if-atm-vc)#exit
R1(config)# do show run
interface ATM1/0
no ip address
no atm ilmi-keepalive
interface ATM1/0.1 multipoint
ip address 10.0.0.1 255.255.255.0
pvc 0/102
protocol ip 10.0.0.2 broadcast
encapsulation aal5snap
pvc 0/103
protocol ip 10.0.0.3 broadcast
encapsulation aal5snap
R1(config)#interface fa0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
configuration de R2
R2(config)#interface a1/0
R2(config-if)#no shutdown
R2(config-if)#
*Jun 9 20:49:15.919: %LINK-3-UPDOWN: Interface ATM1/0, changed state to up
*Jun 9 20:49:16.919: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM1/0, ch
anged state to up
R2(config-if)#exit
R2(config)#interface a1/0.1 poi
R2(config)#interface a1/0.1 point-to-point
R2(config-subif)#ip address 10.0.0.2 255.255.255.0
R2(config-subif)#enc
R2(config-subif)#enca
R2(config-subif)#pvc 0/201
R2(config-if-atm-vc)#enc
R2(config-if-atm-vc)#encapsulation aal5s
R2(config-if-atm-vc)#encapsulation aal5snap
R2(config-if-atm-vc)#exit
R2(config-subif)#exit
R2(config)#exit
*Jun 9 20:57:06.719: %SYS-5-CONFIG_I: Configured from console by console
R2(config)#interface f0/0
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)#no shutdown
Test de la connectivite
R2#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/32/56 ms
R2#
configuration de R3
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#interface a1/0
R3(config-if)#no shutd
R3(config-if)#exit
*Jun 9 21:01:41.159: %LINK-3-UPDOWN: Interface ATM1/0, changed state to up
*Jun 9 21:01:42.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM1/0,
changed state to up
R3(config-if)#exit
R3(config)#interface a1/0.1 p
R3(config)#interface a1/0.1 point-to-point
R3(config-subif)#ip address 10.0.0.3 255.255.255.0
R3(config-subif)#pvc 0/301
R3(config-if-atm-vc)#enc
R3(config-if-atm-vc)#encapsulation aal5s
R3(config-if-atm-vc)#encapsulation aal5snap
R3(config-if-atm-vc)#
R3(config-if-atm-vc)#
R3(config-if-atm-vc)#
R3(config-if-atm-vc)#end
*Jun 9 21:04:22.535: %SYS-5-CONFIG_I: Configured from console by console
R3(config)#interface fa0/0
R3(config-if)#ip address 192.168.4.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#do copy r s
Test de la connectivite
R3#ping 10.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/24/64 ms
R3#traceroute 10.0.0.1
Type escape sequence to abort.
Tracing the route to 10.0.0.1
1 10.0.0.1 16 msec 52 msec 40 msec
R3#traceroute 10.0.0.2
Type escape sequence to abort.
Tracing the route to 10.0.0.2
1 10.0.0.1 4 msec 32 msec 20 msec
2 10.0.0.2 48 msec 40 msec 32 msec
Configuration du routage
Routeur R1
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 192.168.1.0
R1(config-router)#network 10.0.0.0
R1(config-router)#no aut
R1(config-router)#no auto-summary
R1(config-router)#
R1(config-router)#do copy r s
Routeur R2
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#ne
R2(config-router)#net
R2(config-router)#network 192.168.2.0
R2(config-router)#network 10.0.0.0
R2(config-router)#noa
R2(config-router)#no a
R2(config-router)#no au
R2(config-router)#no auto-summary
R2(config-router)#do copy r s
Destination filename [startup-config]?
Routeur R3
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#net
R3(config-router)#network 192.168.4.0
R3(config-router)#network 10.0.0.0
R3(config-router)#no aut
R3(config-router)#no auto-summary
R3(config-router)#end
R3#copy r s
Test de connectivite a partire du windows7
windows7> ping 192.168.1.1
84 bytes from 192.168.1.1 icmp_seq=1 ttl=255 time=19.001 ms
84 bytes from 192.168.1.1 icmp_seq=2 ttl=255 time=6.000 ms
84 bytes from 192.168.1.1 icmp_seq=3 ttl=255 time=2.000 ms
84 bytes from 192.168.1.1 icmp_seq=4 ttl=255 time=10.001 ms
84 bytes from 192.168.1.1 icmp_seq=5 ttl=255 time=10.001 ms
windows7> ping 10.0.0.2
84 bytes from 10.0.0.2 icmp_seq=1 ttl=255 time=7.000 ms
84 bytes from 10.0.0.2 icmp_seq=2 ttl=255 time=8.000 ms
84 bytes from 10.0.0.2 icmp_seq=3 ttl=255 time=8.001 ms
84 bytes from 10.0.0.2 icmp_seq=4 ttl=255 time=4.000 ms
84 bytes from 10.0.0.2 icmp_seq=5 ttl=255 time=2.000 ms
windows7> ping 10.0.0.1
84 bytes from 10.0.0.1 icmp_seq=1 ttl=254 time=27.001 ms
84 bytes from 10.0.0.1 icmp_seq=2 ttl=254 time=13.001 ms
84 bytes from 10.0.0.1 icmp_seq=3 ttl=254 time=13.001 ms
84 bytes from 10.0.0.1 icmp_seq=4 ttl=254 time=27.002 ms
84 bytes from 10.0.0.1 icmp_seq=5 ttl=254 time=14.001 ms
windows7> ping 192.168.1.1
84 bytes from 192.168.1.1 icmp_seq=1 ttl=255 time=2.000 ms
84 bytes from 192.168.1.1 icmp_seq=2 ttl=255 time=10.001 ms
84 bytes from 192.168.1.1 icmp_seq=3 ttl=255 time=5.000 ms
84 bytes from 192.168.1.1 icmp_seq=4 ttl=255 time=7.001 ms
84 bytes from 192.168.1.1 icmp_seq=5 ttl=255 time=2.000 ms
Du pc windows 7 vers pc server
windows7> ping 192.168.4.10
84 bytes from 192.168.4.10 icmp_seq=1 ttl=62 time=45.002 ms
84 bytes from 192.168.4.10 icmp_seq=2 ttl=62 time=29.002 ms
84 bytes from 192.168.4.10 icmp_seq=3 ttl=62 time=29.002 ms
84 bytes from 192.168.4.10 icmp_seq=4 ttl=62 time=23.001 ms
84 bytes from 192.168.4.10 icmp_seq=5 ttl=62 time=27.001 ms
Du pc windows 7 vers pc windows 8
windows7> ping 192.168.2.10
84 bytes from 192.168.2.10 icmp_seq=1 ttl=61 time=101.006 ms
84 bytes from 192.168.2.10 icmp_seq=2 ttl=61 time=47.003 ms
84 bytes from 192.168.2.10 icmp_seq=3 ttl=61 time=36.002 ms
84 bytes from 192.168.2.10 icmp_seq=4 ttl=61 time=37.002 ms
84 bytes from 192.168.2.10 icmp_seq=5 ttl=61 time=38.003 ms