Skip to main content
Fixed a tiny mistranslation for easier reading
Source Link
Chris Davies
  • 128.4k
  • 16
  • 179
  • 324

Routing packagespackets between IPv4 and IPv6 networks on different Interfaces

I have a Linux-Board with two Ethernet-Interfaces (eth0, eth1). On eth0 I have a IPv4 network, on eth1 there's a IPv6 network. Now I want to route packagespackets from specific devices on the IPv4-network to the IPv6-network and vice versa. Each IPv4-device has a unique IPv6-address and each IPv6-device has a unique IPv4-adress which shall be specified in a textfile. I read about tayga but it seems that I can use it with only one eth-interface. I don't know if this is really what I need. Isn't it possible to manage this with standard linux tools? Do you think a simple C-program which receives IP-Packages on one interface, changes the IP-addresses and IP-PDU-Layout, and sends it back on the other interface will work?

Routing packages between IPv4 and IPv6 networks on different Interfaces

I have a Linux-Board with two Ethernet-Interfaces (eth0, eth1). On eth0 I have a IPv4 network, on eth1 there's a IPv6 network. Now I want to route packages from specific devices on the IPv4-network to the IPv6-network and vice versa. Each IPv4-device has a unique IPv6-address and each IPv6-device has a unique IPv4-adress which shall be specified in a textfile. I read about tayga but it seems that I can use it with only one eth-interface. I don't know if this is really what I need. Isn't it possible to manage this with standard linux tools? Do you think a simple C-program which receives IP-Packages on one interface, changes the IP-addresses and IP-PDU-Layout, and sends it back on the other interface will work?

Routing packets between IPv4 and IPv6 networks on different Interfaces

I have a Linux-Board with two Ethernet-Interfaces (eth0, eth1). On eth0 I have a IPv4 network, on eth1 there's a IPv6 network. Now I want to route packets from specific devices on the IPv4-network to the IPv6-network and vice versa. Each IPv4-device has a unique IPv6-address and each IPv6-device has a unique IPv4-adress which shall be specified in a textfile. I read about tayga but it seems that I can use it with only one eth-interface. I don't know if this is really what I need. Isn't it possible to manage this with standard linux tools? Do you think a simple C-program which receives IP-Packages on one interface, changes the IP-addresses and IP-PDU-Layout, and sends it back on the other interface will work?

Post Migrated Here from stackoverflow.com (revisions)
Source Link
lola li
lola li

Routing packages between IPv4 and IPv6 networks on different Interfaces

I have a Linux-Board with two Ethernet-Interfaces (eth0, eth1). On eth0 I have a IPv4 network, on eth1 there's a IPv6 network. Now I want to route packages from specific devices on the IPv4-network to the IPv6-network and vice versa. Each IPv4-device has a unique IPv6-address and each IPv6-device has a unique IPv4-adress which shall be specified in a textfile. I read about tayga but it seems that I can use it with only one eth-interface. I don't know if this is really what I need. Isn't it possible to manage this with standard linux tools? Do you think a simple C-program which receives IP-Packages on one interface, changes the IP-addresses and IP-PDU-Layout, and sends it back on the other interface will work?