DHCP IPv6
Dhcp op Server:
Lijn groen maken (router):
En
conf t
host R1
ipv6 unicast-routing
int g0/0
ipv6 addr 2001:cafe:1:1::1/64
ipv6 addr fe80::1 link-local
no sh
exit
Server 0:
Desktop
Ipv6 addres: 2001:cafe:1:1::2/64
Defeault gateway 2001:Cafe:1:1::1
DNS Server: 2001:cafe:1:1::2
Services
DHCPv6
Service ON
Create pool -> Pool name: R1 / DNS name: 2001:cafe:1:1::2 / Domain name: Cisco.com
Save.
Ipv6 Address Prefix -> Create
Ipv6: 2001:cafe:1:1::3/64
Save.
IPv6 Prefix-Delegation -> Create
IPv6: 2001:cafe:1:1::4/64
DHCPv6 Unique Identifer: 2001:cafe:1:1::0 -> altijd 0
Local Pool Name: r1
Save.
IPv6 Local Pool -> Create
IPv6 Local Pool: R1
IPv6 Pool Prefix: 2001:cafe:1:1::5/64
Prefix Lenght: 100
Naar PC0 -> IPv6 -> Automatic. Nu krijg je IPv6 DHCP adres op je computers.
DHCP op Router
Conf t
int g0/1
ipv6 addr 2001:db8:cafe:3:3::1/64
ipv6 addr fe80::1 link-local
no sh
exit
DHCP echt:
Ipv6 dhcp pool r1
prefix-delegation pool r1
dns-server 2001:cafe:1:1::2
domain-name google.com
exit
Int g0/1 ( lijn gaat naar switch/computer/server naar beneden)
ipv6 dhcp server r1
exit
Ipv6 local pool r1 2001:db8:cafe:3:3::/100 100
PC -> Desktop -> IP configuration -> IPv6 -> Automatic
​
DNS instellen na DHCP:
Ipv6 nd managed-config-flag
no ipv6 nd managed-config-flag
Derde DHCP
Lijn groen maken (router):
En
conf t
host R1
ipv6 unicast-routing
int g0/0
ipv6 addr 2001:cafe:1:1::1/64
ipv6 addr fe80::1 link-local
no sh
exit
​
Router:
Ipv6 dhcp pool r2
domain-name cisco.com
dns-server 2001:db8:acad:A::2
prefix-delegation pool r2
Exit
Ipv6 local pool r2 2001:cafe:2:2::/112 112
Int g0/0
ipv6 dhcp server r2
ipv6 nd managed-config-flag
no ipv6 nd managed config-flag
PC -> Desktop -> IPv6 Configuration -> Automatic