๐ Transparent IPv6 subnet extension using Linux
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
Hi everyone,
I have been playing with the idea of "extending" an IPv6 subnet through a Linux machine with 2 NICs. In the image below you see the Linux (VM for now) machines A, B and C. My goal is to make A able to ping C and vice versa, and later perhaps set up an SSH connection or similar. My aim has been to use ip6tables to setup a simple rule chain on B like:-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A FORWARD -i nic1 -o nic2 -j ACCEPT
-A FORWARD -i nic2 -o nic1 -j ACCEPT
I have also enabled the sysctl parameter net.ipv6.conf.all.forwarding=1
However, this is of course too simple it turns out. I feel like I am stuck on A doing a neighbor solicitation for computer C when pinging it and receiving no response. I am now considering enabling mrd6 on B to allow A to "discover" C, but I feel like I am getting further and further down the rabbit hole.
Is anyone here comfortable with this and willing to say whether what I am trying to accomplish is at all possible? Although I appreciate all sorts of input, it is not an option to add all devices to the same switch, the goal is to keep them separated.
A and B are connected through one switch. B and C are through another switch.
[link] [comments] ...