eui-64 generates the host id simple formula using your interface MAC address, it flips the 7th bit and insets FEEE in the middle of your MAC address.
Below is the network that I will be setting up.
Lets start with router 1, we will configure fa0/0 and s1/0 as shown.
First we will enable IPV6
Next we will assign IPV6 address to each interface using eui-64
We can verify that an host ID was generated based on the routers MAC address.
You can also see i forgot to do a no shut on the interfaces.
Now lets configure OSPF using the command ipv6 router ospf 1 (where 1 is the process id of your choosing)
Note:Immediately after using this command it shoots out an error of no router-id. This was not an issue with OSPF for IPV4 since it generated a router id based on the IPV4 address.
Next we will assign a random router ID, this must be unique on each router using the x.x.x.x format
In OSPF for IPV4 you would use the network command to identify networks that it would use for OSPF hello packets and which networks to advertise. In OSPF for IPV6 you simply enable OSPF on each interface you would like to make routable using the following command ipv6 ospf 1 area 0
That's all it takes to apply IPV6 to your router an make it routable, now we will all the same configs to the other router and do a test ping
Note: Don't forget to save your config!!!
First on R1 I'll do a sh ipv6 route to show learned routs via OSPF
Now from R1 I'll ping R3 an R4 and we see both are successful
Thats it, we've enabled IPv6 and configured routing with OSPF , IPv6 is not as scarry as it sounds.
I'll do a few sh cdp neighbor just for fun .
No comments:
Post a Comment