Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: RADVD + IPV6 = Stuck...  (Read 4229 times)

TimothyS

  • Newbie
  • *
  • Posts: 3
RADVD + IPV6 = Stuck...
« on: November 28, 2011, 08:28:05 PM »

I can't get my server to correctly forward IPv6 traffic. I have done everything that I possible can understand. I have literally been trying to figure this out for over 24 straight hours. Help would be greatly appreciated. This really is my last option, I don't tend to rely on the community too much. Thank you kind souls ;]
server 2001:470:a:xxx::1/64
client 2001:470:a:xxx::2/64
routed ipv6 prefix 2001:470:b:xxx::/64


Interfaces
Quote
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.0.254.140
netmask 255.255.255.0
gateway 192.0.254.1
# Adding IPv6 address to the eth0 interface.
# Adding an IPv6 route to the he-ipv6 Client IPv6 Endpoint.
up ip -6 addr add 2001:470:b:xxx::60/64 dev eth0
up ip -6 route add 2001:470:a:xxx::2/64 dev eth0
# Interface down
down ip -6 addr del 2001:470:b:xxx::60/64 dev eth0
down ip -6 route del 2001:470:a:xxx::2/64 dev eth0

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

# IPv6 via Hurricane Electric Tunnel
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
   endpoint 216.218.226.238
   address 2001:470:a:xxx::2
   gateway 2001:470:a:xxx::1
   local xx.xx.xx.xx
   netmask 64
   ttl 255
   up ip -6 route add default dev he-ipv6
        down ip -6 route del default dev he-ipv6

RADVD.conf
Quote
interface eth0
{
     AdvSendAdvert on;
     prefix 2001:470:b:xxx::/64
          {
               AdvOnLink on;
               AdvAutonomous on;
          AdvRouterAddr on;
          };
};
ifconfig
Quote
eth0      Link encap:Ethernet  HWaddr 00:14:d1:20:51:98 
          inet addr:192.0.254.140  Bcast:192.0.254.255  Mask:255.255.255.0
          inet6 addr: fe80::214:d1ff:fe20:5198/64 Scope:Link
          inet6 addr: 2001:470:a:xxx::1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8051101 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16302366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:613371975 (613.3 MB)  TX bytes:23273044793 (23.2 GB)
          Interrupt:17 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 00:1b:fc:4c:9c:87 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:333 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35484 (35.4 KB)  TX bytes:2228 (2.2 KB)
          Interrupt:23 Base address:0xc000

he-ipv6   Link encap:IPv6-in-IPv4 
          inet6 addr: fe80::414a:7212/128 Scope:Link
          inet6 addr: 2001:470:a:xxx::2/64 Scope:Global
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:119 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11894 (11.8 KB)  TX bytes:11894 (11.8 KB)


once again I appreciate all of your help.
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1733
Re: RADVD + IPV6 = Stuck...
« Reply #1 on: November 28, 2011, 09:35:49 PM »

Did you enable ipv6 packet forwarding in sysctl or proc?
Logged

gudboy1

  • readonly_member
  • Newbie
  • *
  • Posts: 12
Re: RADVD + IPV6 = Stuck...
« Reply #2 on: November 28, 2011, 09:47:53 PM »

i've the same problem, i even enable sysctl -w net.ipv6.conf.all.forwarding=1

it advertised the ipv6 to the client:

Code: [Select]

eth0      Link encap:Ethernet  HWaddr 00:e0:4c:87:0f:8e 
          inet addr:202.47.88.75  Bcast:202.47.88.79  Mask:255.255.255.240
          inet6 addr: 2001:470:36:270:2e0:4cff:fe87:f8e/64 Scope:Global
          inet6 addr: fe80::2e0:4cff:fe87:f8e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13873 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6948 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2638970 (2.6 MB)  TX bytes:989037 (989.0 KB)
          Interrupt:28 Base address:0xa000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:698 errors:0 dropped:0 overruns:0 frame:0
          TX packets:698 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:55495 (55.4 KB)  TX bytes:55495 (55.4 KB)

wlan0     Link encap:Ethernet  HWaddr 48:5d:60:53:2f:6b 
          inet6 addr: fe80::4a5d:60ff:fe53:2f6b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:131060 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15326944 (15.3 MB)  TX bytes:279750 (279.7 KB)


but the client still cudnt ping ipv6
and i try to ping router but still unreachable;

Code: [Select]

ipv6@ipv6-laptop:~$ ping6 2001:470:36:270::2
PING 2001:470:36:270::2(2001:470:36:270::2) 56 data bytes
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=2 Destination unreachable: Address unreachable
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=3 Destination unreachable: Address unreachable
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=4 Destination unreachable: Address unreachable
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=5 Destination unreachable: Address unreachable
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=6 Destination unreachable: Address unreachable
From 2001:470:36:270:2e0:4cff:fe87:f8e icmp_seq=7 Destination unreachable: Address unreachable

Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1733
Re: RADVD + IPV6 = Stuck...
« Reply #3 on: November 28, 2011, 10:01:44 PM »

My bad, whatever you think your doing to add an IPv6 address to eth0 isn't working, it should be in "b" and instead its in "a":

Code: [Select]
eth0      Link encap:Ethernet  HWaddr 00:14:d1:20:51:98
          inet addr:192.0.254.140  Bcast:192.0.254.255  Mask:255.255.255.0
          inet6 addr: fe80::214:d1ff:fe20:5198/64 Scope:Link
          inet6 addr: 2001:470:a:xxx::1/64 Scope:Global
Logged

TimothyS

  • Newbie
  • *
  • Posts: 3
Re: RADVD + IPV6 = Stuck...
« Reply #4 on: November 28, 2011, 10:57:16 PM »

That is what I thought as well, but I do not know how to go about changing it in the configuration to see it reflect on ifconfig.
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1733
Re: RADVD + IPV6 = Stuck...
« Reply #5 on: November 28, 2011, 11:04:51 PM »

The quick fix is:

ip addr del 2001:470:a:xxx::1/64 dev eth0
ip addr add 2001:470:b:xxx::1/64 dev eth0
Logged

TimothyS

  • Newbie
  • *
  • Posts: 3
Re: RADVD + IPV6 = Stuck...
« Reply #6 on: November 28, 2011, 11:11:51 PM »

Thanks mate! That was exactly what I was looking for!
Logged