10-18-2012 05:41 AM - edited 03-07-2019 09:32 AM
hi , im trying to assign ipv6 pool in a router and want the interface loopback2 to be the default gateway of the pool
assume i have the prefix 2aaa:aaa::/64
what i want is :
i just want to put an ipv6 addrresst to interface on my router , and use wriete an ipv6 pool that assign the prefix to users :
assume on the router on loopback 2
ipv6 address
2aaa:aaa::1/64 to be the default gateway of users .
my question is how to type a pool that start assigning the ipv6 ips to users that start from
2aaa:aaa::2--------------2aaa:aaa:ffff:fffff:fffff:fffff:fffff:fffff
and i want the users to get the prefix lenght /64 so as they be in the same subnet of the gateway ?>??
???
regards
Ahmad
10-18-2012 06:09 AM
Hi,
just using SLAAC would me it work. it's not mandatory to use a DHCPv6 pool.
take advantage of this:http://www.cisco.com/en/US/docs/ios/ipv6/command/reference/ipv6_07.html#wp2359793
But the default-gateway would be the link-local address then.
here is for dhcpv6 : http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-dhcp.html
Regards.
Alain
Don't forget to rate helpful posts.
10-19-2012 04:49 AM
hi cadet ,
thanks for ur reply ,
wt i need t to uses stateless dhcp on my router to the clients ,
i mean i want to give the clinets
1 -dns ipv6
2-prefix ========> /64
3-gateway ========> loopback interface in my router
and want the cleints to use eui6-4 to get thier prefix lenght , and get total 128 bits .
i read about dhcpv6 , here is an example
========================
ipv6 dhcp pool dhcp-pool dns-server 2001:DB8:A:B::1 dns-server 2001:DB8:3000:3000::42 domain-name example.com ! interface Ethernet 0/0 description Access link down to customers ipv6 address 2001:DB8:1234:42::1/64 ipv6 nd other-config-flag ipv6 dhcp server dhcp-pool
======================================
agian , i have a virtual templae interface that will assign ipv6 address to the ADSL routers of the clients .
i will post the current config of my virtual template and need to know wt i need to modify as brief steps plz
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
interface Loopback2
no ip address
ipv6 address 2A03:C30::FFFF/64
!!
!
interface Virtual-Template1
ip unnumbered Loopback1
ip tcp adjust-mss 1412
no logging event link-status
ipv6 unnumbered Loopback2
no ipv6 nd ra suppress
peer default ipv6 pool a2
ppp mtu adaptive
ppp authentication pap vpdn
ppp authorization vpdn
ppp accounting vpdn
!!
ipv6 local pool a2 2A03:CA47::/64 64
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
agian , the ipv6 on my loopback 2 interface cnat be in the same subnet o the ipv6 pool , im unable to do it
as u see above , its my current config , and agian ,
in ipv4 pool , i find it is easy with no problems , but i want to assign now ipv6 , wt i need to modify in my current config above ?????
regards
Ahmad
10-20-2012 05:31 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide