Configuration du routage statique :
Pour le Routeur R1 :
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
description LINK TO LAN1
ip address [Link] [Link]
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:1::1/64
!
interface GigabitEthernet0/0/1
description LINK TO LAN2
ip address [Link] [Link]
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:2::1/64
!
interface GigabitEthernet0/0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
description LINK TO WAN R2
ip address [Link] [Link]
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:5::1/64
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route [Link] [Link] Serial0/1/0
!
ip flow-export version 9
!
ipv6 route ::/0 2001:DB8:ACAD:5::2
!
!
banner motd @
**********************************************
WANENING: Unauthorized device access is prohibited
*************************************************@
!
!
!
!
line con 0
password 7 0822455D0A16
logging synchronous
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
logging synchronous
login
transport input ssh
!
!
!
end
Pour le Routeur R2:
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname R2
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
description LINK TO LAN3
ip address [Link] [Link]
duplex auto
speed auto
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:1::1/64
ipv6 address 2001:DB8:ACAD:3::1/64
!
interface GigabitEthernet0/0/1
description LINK TO LAN4
ip address [Link] [Link]
duplex auto
speed auto
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:2::1/64
ipv6 address 2001:DB8:ACAD:4::1/64
!
interface GigabitEthernet0/0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
description LINK TO WAN R1
ip address [Link] [Link]
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:5::2/64
clock rate 2000000
!
interface Serial0/1/1
description LINK TO ISP
ip address [Link] [Link]
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:FEED:224::1/64
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route [Link] [Link] Serial0/1/1
ip route [Link] [Link] Serial0/1/0
ip route [Link] [Link] Serial0/1/0
!
ip flow-export version 9
!
ipv6 route 2001:DB8:ACAD:1::/64 Serial0/1/0 FE80::1
ipv6 route 2001:DB8:ACAD:2::/64 Serial0/1/0 FE80::1
ipv6 route ::/0 2001:db8:feed:224::2
ipv6 route ::/0 2001:DB8:ACAD:5::1
!
!
banner motd @
**********************************************
WANENING: Unauthorized device access is prohibited
*************************************************@
!
!
!
!
line con 0
password 7 0822455D0A16
logging synchronous
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
logging synchronous
login
transport input ssh
!
!
!
end
Pour le Routeur R3 (ISP) :
!
version 15.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname ISP
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
description LINK TO WAN ISP R2
ip address [Link] [Link]
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:ACAD:5::1/64
ipv6 address 2001:DB8:FEED:224::2/64
clock rate 2000000
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route [Link] [Link] Serial0/1/0
ip route [Link] [Link] Serial0/1/0
ip route [Link] [Link] Serial0/1/0
!
ip flow-export version 9
!
ipv6 route ::/0 2001:DB8:FEED:224::1
!
!
!
!
!
!
line con 0
password 7 0822455D0A16
logging synchronous
login
!
line aux 0
!
line vty 0 4
password 7 0822455D0A16
logging synchronous
login
transport input ssh
!
!
!
end