02-25-2024 04:53 PM
Hello!
So I'm working on a project on gns3 that uses VRRP v3 with IPv6, what I'm trying to do is to configure a pc's default gateway as the virtual ipv6 of vrrp, (i'm using a router as a pc and already entered: no ip routing command), but when it comes to configuring the default gateway of the device i keep getting invalid command
What I'm typing is as follows"
ipv6 default-gateway
Reply:
Invalid command
Thanks
02-25-2024 05:07 PM - edited 02-25-2024 05:07 PM
Hello,
You turned off IPv4 routing which may not be affecting your config. IPv6 routing is turned off by default which could render your command invalid. If you want the router to be able to use a default GW you would need to turn on the respective routing to accomplish that. If you want to keep it off you could just use DHCPv6 on the interface to get an IP and the VRRP default gateway from whatever you're you are using.
-David
02-27-2024 07:56 AM - edited 02-27-2024 08:00 AM
Hi @braahaurayath255 ,
"ipv6 default-gateway" is not a valid command. Cisco IOS has "ipv6 unicast-routing" disabled by default. So it is a host by default. You only need to configure a static ipv6 route with a next hop set to the hsrpv3 ipv6 virtual address.
ipv6 route ::/0 <hsrpv3 virtual ipv6 address>
Regards,
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