My provider (I user ROS on ESXi platform and I talk about a server provider) asignes me a subnet (first segments censored for security reasons):
xx:xx:xx:21::/64
The default gateway is xx:xx:xx:20::1 which is NOT within my subnet.
The router at ISPs side is configured as xx:xx:xx:21::/59
the xx:xx:xx is the same for all IPs of course.
I only have this subnet.
I want ROS to be the gateway.
Ether5 is connected to a vSwitch, Ether1 to the Gateway of my provider.
How do I solve this problem?
Here is what I tried:
I am now able to contact each of my servers from each other but no connectivity to internet…
It doesn’t find the GW but as you see I added a host route for this purpose. In my opinon a ROS-dault?
I would recommend asking your provider .
The configuration you gave looks really strange… IP address assigned to any interface should have /64 mask, never /59… And the subnets on LAN and WAN should never “overlap”…
Does the provider give you an IP address for WAN, or should it be received by autoconfiguration?
as far as i understand the situation:
routers in IPv6 network can be without real IP addresses, and what you need in only address hosts, or have your, kind of, local network with your prefix.
you can check ni your neighbours if you see the neighbor with that address, or just set up default gateway to link-local address, so next-hop router will receive the packets you are sending out and provider have correct routes to route packets going to your prefix.
Also, for clarity in addressing, if you do not want to use your real prefix you can allways use 2001:db8::/32 network, as that is specific network for documentation and example use.
like, i got prefix 2001:db8:feed:beee::/64, and gateway is from this network 2001:db8:feed:beef::/59