L
L
loxnemamont2016-06-11 11:41:35
linux
loxnemamont, 2016-06-11 11:41:35

How to connect ipv6 subnet to VPS /56?

I just can’t understand - how, in fact, to connect the ipv6 subnet to the VPS / 56?
I received a letter from the host with the following content:

We gave you 2 ipv6 subnets
1. 2a07:1840:3:20a::/64 - this is main /64 subnet that we give with any VPS.
2. 2a07:1840:4::/56 - this is route /56 subnet to 2a07:1840:3:20a::1

Take a note - routed subnet should be configured on a virtual interface like this:
ip tuntap add mode tun
ifconfig tun0 up
ifconfig tun0 add 2a07:1840:4::/56

Previously, I worked only with /64 subnets - everything is clear there:
in /etc/sysconfig/network-scripts/ifcfg-eth0 register
IPV6ADDR, IPV6ADDR_SECONDARIES, IPV6_DEFAULTGW
But what about the /56 subnet? I understand that everything should be simple - but Google did not help, and I still have not enough experience with Tux :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
none7, 2016-06-11
@none7

Do you need to distribute addresses to other servers or networks? If not, then don't touch it at all, otherwise create virtual interfaces, split this /56 into separate /64s (or whatever you like), hang them on these interfaces and configure routing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question