Vous êtes sur la page 1sur 1

Router(config)#hostname R1 R1(config-if)# no shutdown R1(config-if)# interface s0/0/1 DHCP

R1(config)#no ip domain-lookup R1(config)# interface g0/1 R1(config-if)# ipv6 ospf 1 area 0 Configuration du réseau pour DHCPv6 sans état
R1(config)#enable secret cisco R1(config-if)# ipv6 rip Test1 enable Étape 1:Configurer un serveur DHCP IPv6 sur R1.
R1(config)#banner motd R1(config)# interface s0/0/0 ------#######
R1(config)#line console 0 R1(config-if)# ipv6 rip Test1 enable a. Créez un pool DHCP IPv6.
ipv6 protocols R1(config)# ipv6 dhcp pool IPV6POOL-A
R1(config-line)#password class
R1(config)# ipv6 route ::/0 serial 0/0/1 show run
R1(config-line)#login
R1(config)# int s0/0/0 show ipv6 rip database b. Attribuez un nom de domaine au pool.
R1(config-line)#logging synchronous
show ipv6 rip R1(config-dhcpv6)# domain-name
R1(config-line)#exit
R1(config-rtr)# ipv6 rip Test1 default-information dorousnet.com
R1(config)#line vty 0 4 Vérifiez la configuration du routage
originate
R1(config-line)#password class # show ipv6 route c. Attribuez une adresse de serveur DNS.
R1(config)# int s0/0/1
R1(config-line)#login R1(config-dhcpv6)# dns-server
R1(config-rtr)# ipv6 rip Test1 default-information # show ipv6 route ospf
R1(config-line)#logging synchronous 2001:db8:acad:a::abcd R1(config-
originate
R1(config-line)#exec-timeout 15 S1(config)# sdm prefer dual-ipv4-and-ipv6 dhcpv6)# exit
R1(config-line)#EXIT #### Configuring Basic EIGRP for IPv6 #### default
d. Attribuez le pool DHCPv6 à l'interface.
##### Activez le routage monodiffusion IPv6 et R1(config)# ipv6 router eigrp 1 -----####### R1(config)# interface g0/1
configurez l'adressage ##### R1(config-rtr)# router-id 1.1.1.1 liste de contrôle d'accès appelée RESTRICTED- R1(config-if)# ipv6 dhcp server IPV6POOL-A
R1(config-rtr)# redistribute static LAN qui bloquera les accès Telnet au réseau
R1(config)# ipv6 unicast-routing e. Définissez la découverte du réseau (ND)
R1(config-rtr)# no shutdown
R1(config)# interface g0/1 2001:db8:acad:a::/64. DHCPv6 à l'aide de l'indicateur other-config-flag.
R1(config-rtr)# passive-interface g0/0
R1(config-if)# ipv6 address 2001:DB8:ACAD:A::/64 eui- R1(config-if)# ipv6 nd other-config-flag
R1(config)# interface g0/1 R1(config)# ipv6 access-list RESTRICTED-LAN
64 R1(config-if)# end
R1(config-if)# ipv6 eigrp 1 R1(config-ipv6-acl)# remark Block Telnet from
R1(config-if)# ipv6 address FE80::1 link-local
R1(config-if)# interface s0/0/0 outside R1(config-ipv6-acl)# deny tcp any
R1(config-if)# no shutdown Configuration du réseau pour DHCPv6 avec état
R1(config-if)# ipv6 eigrp 1 2001:db8:acad:a::/64 eq telnet
R1(config-if)# interface serial 0/0/1
R1(config-if)# interface s0/0/1 R1(config-ipv6-acl)# permit ipv6 any any R1(config)# ipv6 dhcp pool IPV6POOL-A
R1(config-if)# ipv6 address 2001:DB81::/32 eui-
R1(config-if)# ipv6 eigrp 1 R1(config-dhcpv6)# address prefix
64
R1(config-ipv6-acl)# int g0/1 2001:db8:acad:a::/64
R1(config-if)# ipv6 address FE80::1 link-local Configuring Basic Single-Area OSPFv3 R1(config-if)# ipv6 traffic-filter RESTRICTED-LAN R1(config-dhcpv6)# domain-name
R1(config-if)# no shutdown
out dorousnet.com
R1(config)# ipv6 router ospf 1
############# Configurez une route statique et R1(config-rtr)# router-id 1.1.1.1 R1(config-dhcpv6)# dns-server
R1(config)# ipv6 access-list RESTRICT-VTYP
par défaut ############# R1(config-rtr)#redistribute static 2001:db8:acad:a::abcd
R1(config-ipv6-acl)# permit tcp
R1(config-rtr)# no shutdown 2001:DB8:ACAD:A::/64 any
R1(config)# ipv6 route 2001:DB8:ACAD:B::/64 R1(config)# interface g0/1
R1(config-rtr)# passive-interface g0/1 ou R1(config-ipv6-acl)# permit tcp any any eq www R1(config-if)# shutdown
serial 0/0/1
R1(config-rtr)# passive-interface default
R1(config)# ipv6 route ::/0 serial 0/0/1 R1(config-if)# ipv6 nd managed-config-flag
R1(config)# interface g0/1 R1(config-ipv6-acl)# int g0/1
R1(config-if)# ipv6 nd other-config-flag
############# configuration de base des R1(config-if)# ipv6 ospf 1 area 0 R1(config-if)# ipv6 traffic-filter RESTRICTED-LAN
R1(config-if)# no shutdown
protocoles RIPng ############# R1(config-if)# interface s0/0/0 out
R1(config-if)# end
R1(config-if)# ipv6 ospf 1 area 0
############## R1# show ipv6 dhcp binding
R1# show ipv6 dhcp pool

Vous aimerez peut-être aussi