• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Problem add two subnet (native + hurricane)

Started by sense, May 08, 2013, 10:07:12 AM

Previous topic - Next topic

sense

Hi all, If I add to /etc/network /interfaces the following lines:

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
         address 2001:470:x x: x :: 2
         netmask 64
         endpoint 216.66.x.x
         local 77.78.x.x
         ttl 255
         gateway 2001:470:x x: x :: 1

to the one already there:

# The primary network interface

iface eth0 inet6 static
     address 2001:1528:x:x ::2
     netmask 64
     2001:1528:x:x gateway :: 1

Reboot and I have problems. The subnet native (2001:1528:x:x:: 2) crash and only subnet Hurricane works temporarily. Can you explain me , please, how to solve this problem and add both subnet? Can you tell me how to add in /etc/network/interfaces the second subnet (Hurricane)? Thanks.


cholzhauer


kasperd

Quote from: sense on May 08, 2013, 10:07:12 AM2001:1528:x:x gateway :: 1
This looks like a syntax error to me.

Also, having two default gateways requires two separate routing tables. You need to create rules which use the source IP address to choose a routing table, and then have different default gateways in those two routing tables.

Without that you'll run into problems with filtering, because by default the same route will be used regardless of the source IP, but many providers will only allow you to send packets with a source IP, they have assigned to you.

sense

Hello and thank you, but what you have just explained exceeds my expertise in