Configure SLAAC and DHCPv6 on Packet Tracer

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] afternoon everybody today we are going to do some activity related to the hcv persuasion seats okay in the meantime i'm also going to show you what is the difficulty when we are going to configure our network without using a dhcp or any auto configuration okay i have leave down all the command in here okay first we have router 1 and router 2 in here i'm going to connect between them the connection is i'm using serial zero one series zero slash one slash zero and uh dce is on router one so i need to go i need to configure the clock rate it's okay okay now enable configure terminal hostname r1 you can do all the basic setting but today i'm not going to do that so first i need to turn on this interface interface series zero slash one slash zero okay i'm going to put the ipad address if you see here i did not put any app address i just put in the link locker okay ip receipts address fe80 double column ones link locker clock rate 64 000 okay good then no shutdown okay done for router 1. now on router two we are not going to do auto configuration enable configure terminal host name r2 interface series zero slash one slash zero ipv6 address fea 0 double column 2 link locker no shut down end okay so you can see now we have the interface up and if i try from here i'm not sure i can do that ping fea 0 double column 1 okay you must select which interface serial 0 slash one slash zero okay good so i can get a reply so now i'm going to configure this interface g zero zero zero on this left connected to p switch one and pc one okay i'm going to configure interface g 0 0 0 okay i stated here the command for configuring the ip address only so i'm going to put ipv6 address 2 0 0 1 column db 8 column acad column 1 double column 1 slash 64. okay i'm not going to configure the link locker here i do not put the link locker it's okay but later after this i'm going to add a link locker no shutdown okay change state to up now okay so if i do end show ip resets interface brief you should see the interface that i'm already configured you gotta be internet 0 0 0 i have my own link locker has been created automatically whenever i configure an ipv6 address so the ios will generate a link local ip same like a pc so when we enable they have a link locker address but you can see what's the difficulty that we might have right there okay i need to configure the ip address here if i do automatic i cannot get any reply because there is no slack or dhcp enable yet in this route one okay remember in order to enable sled i must do ipvc unicast routing to enable routing and then the slack is automatically enabled but now i do not do that so i cannot get the ipad address through slack so i need to configure manually so here i'm going to use this ip address 2001 column dba caller a d column one double column two okay luckily the number is uh quite easy 64. but what is the default gateway so for the default gateway now uh here this problem okay i'm not configure a link locker i can use oh sorry gigabit is not one double column two supers one double column one in here i need to configure back configure terminal interface g 0 0 0 no i p resist address 2 0 0 1 column dba column a c id column 1 double column 2 64. it's a one double column one actually okay if not we have a same ip address e and d show ipv6 interface brief okay you can see here this is the ip address of our interface so for a device in here we need to configure default gateway with this ipad that we can use a link locker what is the ipad address of link locker in here we cannot remember it fea 0 double column 2 0 column c f f column fe 1 8 column 4 0 0 1 so try to imagine if you need to write this number you need to memorize first or you need to wrote down somewhere and then you go to the pc and then you need to configure this so if i close d i can assure you that i cannot remember the but i can remember this ip address luckily we have a double column in here so there is so many number has been skipped out from the ip but if you have a long number we still need to type that but it's okay i can use rather than typing the link locker i can type 2001 column dba column a c id column one double column two okay now i have a default gateway so i can ping two zero zero one column dba column acad column 1 double column 2 so i get a reply but we haven't used a gateway yet so now i'm going to create another network in here i'm going to okay i'm going to give the ip address of interface g 0 slash 0 slash 1 so here ok configure terminal interface g 0 0 slash 1 ip with its address so in here we are going to use address 2 0 0 1 column db 8 column ac id column 2 double column one slash 64. no shut down okay nd show ip reset interface brief okay now we have a two double column one so in here pc one so that if i do not have this default gateway i cannot ping 2 1 let's go to simulation in here so you see straight away drop why because there is no default gateway it's not set so i need a default gateway now whenever i need to go to any ip outside of our network 2.1 is 2 column 1 is outside of our network now so now i need to set a default gateway to zero one column dba column acad column one double column one now we can try one more time you can see so the data frame already able to move forward again you can get a reply so if you see here i get a reply so that's the purpose of default gateway so now we are going to configure for the second network here i can do on the same network but i'm trying to use a different network okay in here i'm already turn on the interface give the ip address and now i need to turn on the slack so how to turn on the slack you need this command ipvc unicast routing actually i please unicast routing is a global command so i need to configure terminal ipv6 unicast routing then what happened actually i'm enable the slab for the both leg okay pc1 also already can use a slab but i do not want to touch your pc1 i just going to leave it in the static configuration i'm going to use a pc2 now so let's see on pc2 so if i choose automatic you can see straight away i can get the ip address automatically which is pc2 generate the last 64b if i do ipconfig slash all you can see this is the ip address of pc2 2001 dba acad double column 2. this is the network id and they generate the last 64 bit based on this 48 bit of mac address they just insert f ffe in the middle and change the first 2dg to 0 2 okay that's all and you can see i'm also get the default gateway but i'm also can simplify the default gateway actually if you can see here both of default gateway here we are using a auto generator ip address so now i'm going to generate a more simplified ip address interface g 0 0 1 ip with 6 address f e 8 0 double column 1 link locker done so when i change that you should see here okay straight away they change to fe801 so if you want to see before that the default gateway is the ip that generated here so if i do one more time i pick config here you can see the default gateway has been changed more simplified okay same for this one i'm also can change there by inserting the link locker in here done with the slack so the configuration is very easy in order to do a select you just configure the ip address so now okay for the gigabit internet interface okay you can see gigabit zero zero zero and zero zero one also gonna say even i can put the link locker inside g zero zero zero okay maybe you can see that is same yes interface g0 0 0 ipv6 address fe 80 double column 1 link locker okay so now you can see interface g00 and g001 almost the same the different actually the ipad address so in order to enable slack or to turn on a flag okay we just run this command ipv6 unicast routing here so when we do this actually we enable slack for both off display if you turn pc1 into automatic they can get the ipad address automatically so when i'm already changed change the effects you have to do automatic you can see they get there i paired this but they generate the ipad so i don't want to use a generator ipaddress i want to use dba acad 1 double column 2 slash 64. and now for the default gateway i can easily type fe a0 double color 1. so there is a reason we are using fea 0 double column 1 compared to the auto generated link locker address for the router but for the pc we don't care let's use it let leave it so now i'm going to configure another two more kind of auto configuration for ipv6 so now in this leg i'm going to change into a stateless i mean a slab with a dhtp so select we offer the ip address and default gateway but other info so here we are going to provide dns server and domain name so on r2 you see there is no configuration yet conf configure mini i'm just configure the interface in here only okay so interface g 0 0 0 ipv6 address 2 0 0 1 column db 8 column acad column 3 double column 1 slash 64 and then ipv6 address fe80 double column one link locker no shutdown okay end let's forget the menu ip resets unicast routing done so now our pc uh the router here already offering a slab so if we go to pc i do automatically but you see the interface is not properly up yet i just fast forward it so i get the ip address and link default gateway fe-80 okay now we are going to offer other info we we only have the ipad but if you like to use the dns server so slack can offer the info of the underserved so we are going to create a pool in here but there is no pool inside they just only provide a other info so how to create other unfolding we still calling them as a pool ipv6 they are cp pool okay so we need to give a name so i give nail r2 stateless just name okay so the other info that we need to be access dns server so let's say this is just a dummy ip okay 2001 column dba column ac id column 6 double column 254 okay never mind and domain name well i say stateless okay stateless double s you know my dot com okay done end so now we are going to enable this pool inside this interface this lag so we need to go to interface g 0 0 0 so we need to configure with the other info we need to turn on the o flat so in order to turn on the old flat we need to do ipvc nd and okay i'm going to show you other config flat to turn on other config flag you have to do other config flag so just type either config flat enter so now we already turn on the o flat a flag is turned on by the command ipv6 unicast routing i'm already offered there is a dhcp server so what is the decision for which dhcp server that we would like to use in this port on this interface so i need to specify the dhcp server compared to ipv4 i prefer they repeat automatically based on the ip address but here you need to specify what server that you need to use so i pre-receipt the cp server so you need to specify the server or the pool that you created before so this is the pool that we are going to use and copy and paste it okay now done and then in here you can see they already updated so they get the dns server here so if i go to here okay this is a before we do or we offer a dhcp server you do not get that info related to domain name you do not get then you fall about then that's about and there is no dash visible so now i'm going to do ipconfig slash all so you should see now connection specific dns feed stateless.com this is the domain that we provide and dns server this is the ip address that we offer 2001 dba acad column c double column two five four okay and there is uh okay the http server is the achievement server for ipv4 so dhcp server for ipvc we have the the id and we have the client unit id here so we already provide uh auto configuration by using a slab combined with the other info from the hpp server okay that's for this lake so now i'm going to configure for stateful stateful which is we are not going to use a slab but we are going to manage everything through a dhtp server so compared to stateless stateful we need to define the network inside our pool in the state let's inside our pool we do not define the network id here okay in the state full we define the network id by command address prefix so we are going to create another pool in here r2 ipv6 dhp pull r2 stay full okay so now we are given with a sub configuration so now we are going to put you actually you can put any command regardless their sequence okay let's say i put a dns server first 2001 column dba column acad column let's say i give another number seven dot column two five four it's okay actually in one network we only use one or two dns but i just would like to show you this info or the client get from a different pool that's why i'm using a different dns server okay and then the domain name sorry domain name i use a stateful dot com okay in one organization you should use the same domain name so in this diagram actually we're supposed to use same domain name one domain name only but for this example i use a different domain name okay never mind so we already create a dns was same like a stateless so to the difference between stateless and stateful the statelessly food is just a name but the purpose of this pool actually for stateless and stateful you can give any name without putting these stateless as stateful so i need to put the address prefit so why is the network id we are going to use here 2001 column dba column acad column 4 column aaa double column slash okay so now i'm going to use this one two three four five segment as a network id so it's no longer 64 bit okay so now it's a slash eighty okay so we create a slash eighty done e and d or s z configure the minor interface g zero zero slash one i'm going to configure the ip address ipv6 address 2001 column dba column acad column 4 double column 1 slash 64. ipv6 address sorry fe80 double column one link locker no shutdown okay so now even though i configure this interface with the ip address of 2001 column dba column sad column 4 double columns let's d4 but i want all the devices here are using ip from this network but are they belong to the same network so we are configured as a part of the bigger network so now i'm already create the ip address so if i go straight in here i do not define the pool yet even though i already create the pool if i do the automatic okay i get ip this is through a slab but i don't want to have a to use a slack now so now in order to tell a router or interface to not use a slack terra client actually okay interface g0 0 slash 1 i need to set another flag flat m so ipv6 nd remember fbc nd manage config flag and actually there is another command you can do to turn off the a only for this interface okay but there is no four out two okay it's not that comma okay so we are only able to do a manage config flag only so when you when it's from fit flat with the the router attribute return please do not use a slack but use dhcp version 6 all managed by the http version 6 with disabled which server so now you need to specify what server you need to do so happy with 6 dhp server so underneath there are two stay full done so are you getting how to configure a dhcp server with a stateful so same like stateless we just create a pool but we must add the network prefix and then inside our interface we must do or enable the n-flat but now i'm going to route between these two network okay so if we see [Music] this is c in here try to ping 2001 column dba column a c a d column 1 double column 2 that's why i want to use a manual ip destination hosts unreachable why let's see where did this stop this simulator so let's go back in here okay let's see where our packet can go it go up to the router and it cannot go beyond here so if you still remember in order to go to either network beyond our router we need to have a routine so i have a command for the routing here okay for r1 now maybe i go for r2 first e and d so i p configure the ipv6 route so the command the network 201 column db 8 column acad column 1 double column slash 64. and then our xz interface you here you can put the ip address of nets hook but you cannot use a link locker okay if i put a link local f e 8 0 double column 1 interface must be specified for all link locker nets hook so i need to specify the interface serial 0 0 slash seriously 1 0 okay you see the interface of this here okay press enter and then for the network 2 or i can add the next hook fea 0 double column one because this is the ipad address of netsu fea 0 double column 1 done okay so if i start again is here you can see so our router nuts now know how to send to the network 1.0 but when pc1 reply go to r1 r1 doesn't know how to go to network 3.0 i need to add a route on r3 also so the same command configure to enable configure terminal ipv6 route 0 0 1 column db 8 column a c a d column 3 double column slash 64. series zeros less once that's zero and next hook what's the next hoop here next loop ip address here from point of view of r1 fea 0 double column 2 because it's a net hook not dlip address so on r1 dip address the fea zero but net sub is a fea02 from point of view r2 next hoop is a fea0 one so now we put a two for network three and then for network 4.0 four columns double column zero okay done e and d so now if i go back to our diagram here run one more packet so now i can go there and i can get a reply so if i see in here i get a reply now so if you try to ping you do not get a reply most of the time the problem is a fraud network if you have already checked all the ip so in this case all the ips you have no problem because you configure it from the dhcp you should make sure your hp is working and then there is no need to check the ip anymore and the iep is already unique so what's other problem might be the i mean routing and so on
Info
Channel: iamMiJA
Views: 564
Rating: undefined out of 5
Keywords:
Id: 87C3KybiN5I
Channel Id: undefined
Length: 29min 11sec (1751 seconds)
Published: Wed May 05 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.