Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Problem add two subnet (native + hurricane)  (Read 3796 times)

sense

  • Newbie
  • *
  • Posts: 2
Problem add two subnet (native + hurricane)
« on: May 08, 2013, 10:07:12 AM »

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.

Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2729
Re: Problem add two subnet (native + hurricane)
« Reply #1 on: May 08, 2013, 10:40:38 AM »

What are you trying to acclomplish?
Logged

kasperd

  • Founder, Netiter ApS
  • Hero Member
  • *****
  • Posts: 962
Re: Problem add two subnet (native + hurricane)
« Reply #2 on: May 08, 2013, 11:23:12 AM »

2001: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.
Logged

sense

  • Newbie
  • *
  • Posts: 2
Re: Problem add two subnet (native + hurricane)
« Reply #3 on: May 08, 2013, 12:18:28 PM »

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