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

Ubuntu IPV6 router using (PPPOE)

Started by krs360, July 07, 2013, 02:40:42 PM

Previous topic - Next topic

krs360

Hello,

I've spent alot of hours messing around today attempting to get IPV6 to work on my network. It works great on the gateway, but there's no access at all for LAN clients.

The setup for the server is

eth0 - it's kinda doing nothing at the minute, as it's the NIC that the PPPOE connection goes through.
Link encap:Ethernet  HWaddr 00:a0:c9:e6:1f:f1
          inet6 addr: fe80::2a0:c9ff:fee6:1ff1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12589 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9098 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5037878 (5.0 MB)  TX bytes:1510602 (1.5 MB)


Eth1 - This is the NIC that connects into my local network, currently runs IPV4 DHCP
Link encap:Ethernet  HWaddr 00:13:d3:5b:43:c5
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::213:d3ff:fe5b:43c5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10254 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12219 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1534978 (1.5 MB)  TX bytes:5065325 (5.0 MB)



ppp0 - So, this is the PPPOE connection.
ppp0      Link encap:Point-to-Point Protocol
          inet addr:my.external.ip  P-t-P:my.external.ip  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:12459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8253 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:4727257 (4.7 MB)  TX bytes:1239345 (1.2 MB)



The gateway also runs UFW at the moment, didn't have any luck adding the applicable rules or even disabling it. I would imagine i've done something wrong within in the config.

Here are my HE details:
IPv6 Tunnel Endpoints
Server IPv4 Address:216.66.80.26
Server IPv6 Address:2001:470:1f08:c27::1/64
Client IPv4 Address:my.external.ip
Client IPv6 Address:2001:470:1f08:c27::2/64
Routed IPv6 Prefixes
Routed /64:2001:470:1f09:c27::/64
Routed /48:Assign /48
Available DNS Resolvers
Anycasted IPv6 Caching Nameserver:2001:470:20::2
Anycasted IPv4 Caching Nameserver:74.82.42.42


Is anyone able to tell me if it will be possible to configure this through my current setup? A lot of the guides I've seem to talk about the setup of eth 1 --------> adsl router and eth 2 ----------> LAN, no mention of pppoe connections in any of them.

Based around those details ^^ is there anyone here who would be kind enough as to provide me with an idea of what config I will need, I think my largest stumbling block right now is understanding the IPv6 addresses.

Any help would be massively appreciated.

Thanks,

kasperd

Quote from: krs360 on July 07, 2013, 02:40:42 PMA lot of the guides I've seem to talk about the setup of eth 1 --------> adsl router and eth 2 ----------> LAN, no mention of pppoe connections in any of them.
The part about configuring the tunnel is only slightly different depending on whether it is IP over Ethernet or IP over PPP over Ethernet. But this is the part you already got working. The LAN part of the configuration is the same in both cases, so the guides you have seen should help you the rest of the way.

You need to assign an IPv6 address to eth1, you could assign 2001:470:1f09:c27::1/64 to that interface. And you need to configure a router advertisement daemon (such as radvd) to let clients know that they are on 2001:470:1f09:c27::/64 and 2001:470:1f09:c27::1 is the gateway to the Internet.