I have a following setup
Linux1---------------Linux2------------------Linux3
(eth0) (eth1) (eth0) (eth0)
I have this in a local network i.e the Ethernet cables are connected directly.I am configuring the IPV6 address for the first time.
I want Linux1(eth0)
and Linux2(eth1)
to be in one ipv6 subnet
and Linux2(eth0)
and Linux3(eth0)
in a different ipv6 subnet
.
After going through this link http://techxcellence.net/2011/05/09/v6-subnetting-made-easy/
i chose the following
For Linux3 eth0
ifconfig eth0 add 2002:db8:c001:ba40::/58
For Linux 2 eth0
ifconfig eth0 add 2001:db8:c001:ba40::/58
I am not sure if this is correct. the intention is to have 2 different ipv6 addresses in the same ipv6 subnet. I am guessing we can change any bit in the prefix.
Is my understanding correct?
The ipv6 address in the other subnet would be
2002:db8:c001:ba00::/58 and 2001:db8:c001:ba00::/58?