Unable to add IPv6 default static route on XMG1915-18EP

dan_a
dan_a Posts: 5  Freshman Member
First Comment

Hi,

I'm trying to add a static default route to my XMG1915-18EP for ipv6 but no matter what I try to add for "Route Destination" for all addresses (::0) I get an error saying "Error: Invalid ipv6 Address".

I have tried :: ::0 and ::0/0 and they all fail.

Can anyone help?

Thank you.

All Replies

  • Zyxel_Melen
    Zyxel_Melen Posts: 3,352  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate
    edited May 28

    Hi @dan_a,

    Since the information you shared is vague, I assume you set route destination "::0" in IPv6 Static Route page. In here, you need to set specific IPv6 destination and next hop IP address. Please check the screenshots below as an example.

    image.png image.png

    If you need to switch to have a default gateway, here are the methods:

    • Setup Router Discovery for specific VLAN to let the switch get RA from IPv6 router.
    image.png
    Zyxel Melen


  • dan_a
    dan_a Posts: 5  Freshman Member
    First Comment

    I see, OK. I have a problem. With that setup, when I traceroute6 between 2 clients connected in different VLANS, the traffic goes to the router interface and back, not "through" the switch. What I'm trying to achieve is "inter-vlan" routing on the switch, like I can with IPv4 (by setting the ipv4 clients gateways to the matching VLAN interface on the switch).

    With router discovery setup on the VLANs my clients end up with 2 default routes when I think what I actually want is for them to have one, set to the switch interface and not the router.

    If I turn off RAs on the router and have them enabled on the switch, I do get the correct default route on clients, but how do I then tell the switch to send "everything that isn't on my vlan prefixes" (i.e. ::0/0) to the router? Or am I misunderstanding something here (I'm an ipv6 noob).

    Thanks

  • dan_a
    dan_a Posts: 5  Freshman Member
    First Comment

    I think the default route that the switch is using is corrupt?

    Screenshot 2025-06-11 at 14.20.20.png

    From the switch console I can resolve and ping6 internal hosts. Internal hosts can also connect to ipv6 internet hosts without issue, so I think the problem I have is to do with this route being broken.

    How can I fix that if I can't override it with a static route entry?

    Thanks.

  • dan_a
    dan_a Posts: 5  Freshman Member
    First Comment

    I think I have found a bug, of sorts. In System → IPv6 → IPv6 Addressing → IPv4 Default Gateway, if you put a link local address in there it accepts it, but the entry provided by "show ipv6 route" on the console shows the address as corrupt. I have discovered if you unset it, save and reboot, set it to a global unicast address and save+reboot again, that sticks and the switch has ipv6 access to the internet via ping6 on the console again.

    D.