IPV4 vs IPV6 | Comptia Networking Course | CCNA courses
whereas an IP version six it is totally 128 bit address yeah totally eight octed so each octed 16 bit IP so we'll specify using colon for example so you'll get it is an exod decimal it's a bits binary but is an EXA dismal yeah so you'll get like this colon colon so you know exod decimal right 1 to n then a to F right mhm so a A or BB something like this something it totally eight eight OCT you will get but basically um I don't know some IP V4 address address is not contain eight I mean eight octed I mean ah I'll tell you that is because four octed it's like a MAC address what happens so initial that four octed so will be dedicated okay so you don't need to specify that so have you used the I verion 6 uh usually not ah but the No One is using see compar to IP version 4 you know IP version six is it is more secure and here why they have come up with IP version sixes see I'll go with class A so if I take any of the IP 1 do 0.0.0 it will end with how many IP 1 dot 254 255 255 255 so if you calculate 0 to 255 25 6 into into 256 so totally you'll get 1 cr67 lakh 77,6 IPS in a one network right one network now what is happening nowadays we have a uh we have we are running with everything it's going through on online we have a very big infra we we need to communicate with Clow together PCS so entire the world is communicating through on the internet right we want huge IP now this is limitation we have there is a limitation M like four billion IP we can say here so there is no limit you calculate totally it is 128 bit IP 30 for 32 bit IP itself 4 billion IPS for 128 calculate how much you will get so there is a multiple unlimited you can see there's a multiples of ips you will get so that is the n version six and one more thing is here so we have a uh completely security we have and compared to AP version 4 it is faster so you don't need to have any calculation like this so whenever you are sending a request from pc1 to PC2 for example so it will check it out what is this IP address for example it is one maybe it is 10.1.1 do 100 so check it out with the whether it is in same network or a different network sent to router so lot of calculation will be there to identify this is very simple very faster so how it's f it has lots of bit and lots of Octan ah exactly so it is faster so just see that last octed and the four octed immediately it will start working on it so it will check the beginning so there is a here we have a class range of Ip right Class A Class B Class C Class D class so you know Class A B C this is for business it's a private right so okay here in the class A again see we can use we can use this IP address so usable IP we can say usable IP use of IP address in that we have private IP public IP right private IP public IP so whichever the private IP address 10 Network 17 Network 192 network is a private apart from this we have a public IPS so like that we have a differentiate here is a multicast IP it's a R&D purpose they use Class E range of Ip but here we have uni cast multicast global unicast anycast can you see this screen yeah so global unicast address link local address multic multicast address and anycast address right link local unicast address multicast address and anycast see global unicast here I said right in class A Class B Class C IP version four private and public uh ah private and public so what is that public IP this IP address used to connect to the internet right yeah private IP within the organization so all the pces inside the network they'll use private IP now here we have Global uncast it is nothing but in your IP version 4 what we talked about public it's a public IP and Link local in IP version four what we talked about there is a uh private IP private IP and multicast here we have a multicast right where we are using this multicast address do you remember OKO we are talking about um RF mhm eigrp MH so while while sending a update it will use multicast IP I said 224 do 0.0 do 9
2240 do0 do 0. five and six 0 do0 dot maybe it is 4 I believe I forgot that so using this multicast address you will do what you will exchange the routing table from one router to another router whenever he sending a update do you remember 10 and 20 so right now I have here 10 address and 20 address so in his table he will send that update to the router to right MH so maybe he's having a 20 or maybe 30 so while sending a update he will use 22409 if it is in case of rip in case of OSF you may use five or he may use six to send the update so same scenario here see in the protocol the routing protocol so if we use multicast address and any cast what is anycast here so we have a broadcast address right 255.255 255 it's a broadcast address right so this is not a broadcast address any cast addresses you know suppose let's assume in my network it is a switch I've connected multiple PCS maybe here I have a DHCP server for example okay I'm using just an example 1.11.1 let's assume it is IP version 6
IP any cast IP let's assume now I have one more server dcpc for redundancy purpose and what should be the IP here what should be the IP you have to give a different IP right mean to if you give the same IP address what will happen it will not take it it will show IP conflict already this IP already used in ah exactly so now if you come to this IP version 6 I can use the same IP it's a any cast IP now what is happening how will differentiate these two device in a network uh one second you can do the load balancing here see earlier what happens if I want to do the load balancing some of the request here some of the request here we have to do a lot of things right backend you have to achieve load balancing but here suppose see normally what happens if I specify different IPS so one guy will become a primary one guy will become secondary secondary so whenever the primary phase everyone has to redirect you have to specify my DCP server is in 1.2 you have to send a request right yeah now here if I come to IP version 6 if I specify any cast any cast it's not a broadcast cast so you can say that multiple server I have with this IP any cast IP so whenever this guy is sending a request nearby maybe he can send a request here or maybe you can send a request here that's what the any cast function is it is internally it will find out uh which server it's nearby send a request access that even if the server fails so all the request will be moving to second yeah so that is an any cast so how you like identifier your Global uncast or link local unicast or multicast have you identifier your private IP or public IP we have a range right yeah what is the range for private IP one two in the class A it is 10 right 10.0.0.0 in the class uh 17260 0.0 Class C 182 168 0 yeah there is a range easily you can identify this a private IP right and similarly for Global uncast Link local unicast multicast and any cast to identify this we also have the range of Ip so that is uh um Global uncast always it is starting from uh 20 0 so it is a three octed should be same has three OCT can see the screen can you see this yeah here the global uni cast address will start from colon indate it may be all the zeros for example three octed initial this three octed it should be same three bits sorry the three bits not octed three bits it should be same it has to start from 20 whenever it's starting from the same but it is uh it's considered like Global uniquest it's a public IP okay link local uni cast address right so it will start from F e80 total it's a 16 bit right if you convert this exod decimal each bit each octed do you know conver ex decimal to bit yeah yeah yeah so you try with that suppose I have a bit of uh okay I'll go with 1 2 3 4 converted to exod decimal each bit you'll get four bits right so how it is exod decimal uh zero all the four zeros and here 0 0 0 1 0 0 1 0 0 0 1 1 right 0 1 0 0 0 1 0 1 0 1 1 0 then one 1 0 0 and then you'll get like this I forgot I thought I remember so totally 16 bits huh then how it is 1 0 0 right it's like this right okay all in all one all ones now the four octed whenever this a one so you need to check it out so the one um calculate this you convert this is for one some I forgot those calculation this is for zero it's one 2 3 4 5 6 7 8 9 after that a b c d e f right yeah now one in the sense is a one so the octed is 0 0 0 1 second octed that's two it is 0 0 1 0 third octed it is 0 0 1 1 fourth octed is that means each each octed has a 4bit or yes four bit now we'll come to unicast local right link local unicast address so if I convert this bit this is four mons e it is 1110 for eight one0 0 right now the 10 bit how what is a 10 bit so total it is 8 bit n and 10 right these bits should be same got it so the 10 bits 10 bits it will calculate the 10 bits initial 10 bits to identify the link local so we don't have submitting year okay there is no submitting in IP version six only it will identify based on the OED it is fixed these are all and multicast if you ask me the multicast so you are familiar with this right MH I'm not confusing I hope yeah multicast addresses it will start from ff00 totally 16 bit that means Global unicast three bit start first three bit same local link local uni is 10 10 bit yes multicast yeah multicast is 16 this entire de octed should be same so remaining can see I'll take a example here if you come back to IP version 4 I'll just take a re multicast address what is the rip multicast address 2240 do0 do 9 224 it's a multicast IP right o now in the multicast IP of IP version 6 is what dou F0 right then what is the multicast IP P for rep protocol so the rep protocol it is nine now when when the r protocal it will take IP version six so I didn't discuss while discussing rip there is a rip NG New Generation so this will support IP version six when you enable instead of re version one re version two right o remember rep portion one and rep portion two we discussed yeah instead of rep portion one rep portion two if you go with rip NG that will support IP version 6 when you enable RNG it will go with multicast IP with this instead of 224 it will take this F0 colon 9 okay in case of OPF OPF what is the multicast address SPF six five and six ah five and six why it is five why it is six because we normally we'll talk about in the CC um ccnp so do you remember I was talking about election part Dr bdr mhm when it's doing a Dr bdr activity it will take six when the router it is exchanging routing table it will take five okay now what is the if you enable re version six it will support iation six now what is the multicast address for sorry SPF dou F0 see remaining all the oct instead of 254 I've given F0 remaining octed remaining is all the zeros if I specify colon you know if I specify colon so all the octed is zeros it indicate all the octed is zero then what is the IP six or five okay got it yeah yeah now I need to talk about but uh is my observation like um on um suppose any site if I look for IP is private IP I mean ipv4 and ipv 6 is much different like any maybe I can try to understand now see this right the difference is see if you want to identify private IP address it will start from two okay at least two two in the three octed if I go with two this three octed initial three octed 0 0 1 it should be same okay remaining can be anything whenever it's starting from two right MH understand it's a public IP whenever it's starting from fe80 it understand link local so that's a private IP now we will go with simpler way how you can assign the IP version 6 IP so here suppose I'll go with one of the IP address for example 4 so I have 0 0 0 well how many OCT we have right now 1 2 3 4 5 five six seven right mhm shall I delete this totally it is 8 octed see instead of writing a eight octed you said very simple way right o mhm see can we do any changes in this no right this is IP so I can't do any changes I have to write the same act OED can we do any changes here second octed no can't do any changes can we do any changes here instead of writing all the zeros here I'll specify colon so in this uh in this case as we know in IP version four Network part and the host part how is calculate Network por that no no here we don't have any submitting that is the reason I said we don't have any uh uh vldr and we don't have sub we don't have CL cadr VSM cadr we don't have anything here only seeing the starting IP it will identify okay that's what I said subnetting we don't have here okay now tell me see instead of writing a zero see why we need to write all the zeros right this colon have written right this colon I have written here so I'll end up with this colon okay whereas double colon indicate okay it is all the zeros then doesn't matter doesn't matter how many OCT in between no no need to specify but you can see in the seventh octed there is a value is one right so I have to write that so instead of writing this three zeros whenever the starting it's starting as zero you know you don't need to write the zero also directly you can write one colon this is a simpler way got it okay okay I'll take one more example for example many up 1 2 3 4 5 6 7even now tell me how how you can make it as simple okay first then four colon all the way then 1 2 three AB B so we can't do any changes yeah then colon again col this and see this so there is a rule here okay we should not specify two colons in the same IP two double colons okay so this is not acceptable now we have to specify only one double colon now tell me where you will specify one double uh I don't know maybe see this how many octed you have zero more number of zero we have a second and third and fifth sixth and seventh okay we have a five octed zero see this see compared to this here we have two zero so I can't take in between we have some bits right oo if you see the starting two octed have zero but here in the last there is a three octed zero right so here I can put a double colon no more number of zero I have and what about here see instead of writing all the zeros specify one zero specify one zero and no need to give the zero no yeah you can two give two see even right side zero is also no you have to Once if you specify the number the octed after that whatever zero you will get you have to specify okay then okay then now the col 1 2 three ah exactly rightly understood that means okay what about if both is the same like ah that is what the my next question just a second I'll just log in yeah my next question is uh let's assume we have just an example M will make simpler so in this case I can make first one or second one or how I uh use it yeah that is that is you have to decide where you need to give more colon the where you have to give the colon no okay then either I can write both way AB Fe colon uh we can't give two colons right yeah in this scenario you can do what either you can specify your double colon or you can specify your double col any one of the place okay right after the octed whatever number of zeros you'll get you have to specify the same thing this is one one exactly f f f yeah yes see suppose I have a IP Fe a0 right I have a number of zeros 1 2 3 4 5 6 7 8 so tell me now yeah fc80 [Music] Pon I mean double colon 9 very good so double colon n yes F e80 double colon 9 very simple that is what I have written so in the multicast typ okay I have a I have one more question since it is has eight octed and each octed has a 16 bit but we are writing 4 bit but it's meaning 16 bit right I mean this is exal exad decimal if you do the binary calculation 16 bits okay that is what I have written here see this 4 + 4 is 8 + 4 is 12 + 4 is 16 16 bit right yeah if I specify four four bit f e 80 exad decimal if you calculate in the binary you'll get 60 bits now come back uh here four 5 6 7 8 okay no Co yeah yeah okay M how you'll make simpler way you can see all the octed is zero uh no I mean uh so each octet supposed to be 16 bit right not 4bit but since it is a hexa decimal each [Music] uh each bit is a meaning for bit right yeah suppose a a I know I mean my question is since it is 128 bit each IP represent 128 bit and it is 8 O o so each octet should have 16 bit Yeah 68 this is four zeros this meaning four yeah correct there yeah yeah now see instead of writing all the zeros tell me the simpler way four zeros right it is one zero one one zero mhm one Z
2024-10-24 22:45