IPv6 routing using Dual Stack PPPoe setup from ISP
-
Hi, As some of you may know already I have access to an ISP with Dual Stack PPPoe setup and to help get this feature working on pfsense I asked databeestje here to add a command line in the mpd5 defaults to enable ipv6cp, This has been working great since only issues is it does not get the proper ipv6 default gateway/route so in order to get ipv6 working fully I need to go into the command/cli side and enter the route command to point to the proper pppoe session. in my case would be pppoe1 as I have multi pppoe sessions going atm. my question is there a way to fix this or anyway I can help with it? everytime the link resets etc I'd have to redo that command again Maybe you can suggest a good place to put this command line so it will load up everytime perhaps in the mpd5 config for that pppoe? Comments ideas anyone? I tried this on monowall it had no issues with it and no probs with the routing too. I wonder what they did.
anyways brief setup info in case you need.
Alix Geode 500 with three lan ports Reflashed as of last night and fresh config.
2.1-DEVELOPMENT (i386)
built on Sat Sep 3 16:07:52 EDT 2011You are on the latest version.
Platform nanobsd (4g)
NanoBSD Boot Slice pfsense0 / ad0s1
CPU Type Geode(TM) Integrated Processor by AMD PCS
ISP provides a /56 and a router /64 static Remember this is a dual stack pppoe session so it utilizes both ipvcp and ipv6cp during login.
This is what I get looking in the interfaces section under Gateway IPv4 fe80::90:1a00:4243:14a8%pppoe1bit of the ppp logs
Sep 13 06:08:58 ppp: [opt1] 020d:b9ff:fe1f:04b0 -> 0090:1a00:4243:14a8
Sep 13 06:08:58 ppp: [opt1] IPV6CP: LayerUp
Sep 13 06:08:58 ppp: [opt1] IPV6CP: state change Ack-Sent –> Opened
Sep 13 06:08:58 ppp: [opt1] IPV6CP: rec'd Configure Ack #3 (Ack-Sent)
Sep 13 06:08:58 ppp: [opt1] IPV6CP: state change Stopped –> Ack-Sent
Sep 13 06:08:58 ppp: [opt1] IPV6CP: SendConfigAck #118
Sep 13 06:08:58 ppp: [opt1] IPV6CP: SendConfigReq #3
Sep 13 06:08:58 ppp: [opt1] IPV6CP: LayerStart
Sep 13 06:08:58 ppp: [opt1] IPV6CP: rec'd Configure Request #118 (Stopped)
Sep 13 06:08:40 ppp: [opt2] IFACE: Up eventAlso I notice in this version it's maxing out my cpu quite a bit at least according to dashboard. is this normal I know it's dev stuff.
last pid: 58798; load averages: 2.43, 2.55, 2.71 up 0+11:23:11 17:29:16
95 processes: 3 running, 79 sleeping, 13 waitingMem: 53M Active, 19M Inact, 40M Wired, 420K Cache, 34M Buf, 122M Free
Swap:PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND
45494 root 102 0 4944K 2448K RUN 226:14 30.96% syslogd
25932 root 60 0 3316K 1284K nanslp 233:47 8.98% dhcp6c
10 root 171 ki31 0K 8K RUN 17:30 6.98% idle
38672 root 76 0 33116K 15816K piperd 1:01 3.96% php
14116 root 76 0 33116K 16124K accept 0:57 3.96% php
20300 root 45 0 3352K 1068K nanslp 15:46 0.98% blinkled
19681 root 45 0 3352K 1068K nanslp 15:46 0.98% blinkled
57554 root 76 0 33116K 15716K accept 0:30 0.98% php
37487 root 69 0 33116K 15468K accept 0:27 0.98% php
11 root -68 - 0K 104K WAIT 4:50 0.00% {irq11: vr1}
11 root -68 - 0K 104K WAIT 3:02 0.00% {irq10: vr0}
11 root -32 - 0K 104K WAIT 1:46 0.00% {swi4: clock}
13 root -16 - 0K 8K - 1:19 0.00% yarrow
0 root -16 0 0K 48K sched 0:39 0.00% {swapper}
35 root -8 - 0K 8K mdwait 0:37 0.00% md1
61406 root 64 20 3316K 1332K select 0:24 0.00% apinger
51421 root 44 0 3352K 1356K select 0:23 0.00% miniupnpd
1690 root 44 0 6588K 3560K kqread 0:17 0.00% lighttpdI notice syslogd and dhcp6c seem to be the cpu hoggers. what's up with that lol.
Also gettting
Sep 13 17:35:07 dhcp6c[25932]: client6_recv: recvmsg: Socket operation on non-socket
Sep 13 17:35:07 dhcp6c[25932]: client6_recv: recvmsg: Socket operation on non-socket
in the log files constantly. -
The sept 3 images from Jim' site will get you your default gateway automatically.
The issue with the dhcp6c burning a core on boot is a race condition. If you go into the WAN page and save it's fixed. dnsmasq had a similar issue recently.
The dhcp-pd code should just work too. The september 3 code will also automatically show the link local address of your gateway.
I think I'll add a 6 second wait on the dhcp6c client function just to stop it from breaking on boot.
-
If your 2Wire is not listing a computer with a static IP address, or you would like the 2Wire to act as a bridged router, the 2Wire offer the technicians pages to change advanced settings:
h t t p://{router ip}//tech/configuration.html
This will bring you into the advanced configuration for the 2Wire. If you have a server with a static IP, and the 2Wire does not have it listed, it will not forward network/internet traffic to that computer. You can reset your local area network’s computer list. This will force the 2Wire to start rebuilding the list again and re-detect your server.
This this problem become common, consider placing the 2Wire into bridge mode and using your own router. This will require a static IP.Shawn Zernik
-
The sept 3 images from Jim' site will get you your default gateway automatically.
The issue with the dhcp6c burning a core on boot is a race condition. If you go into the WAN page and save it's fixed. dnsmasq had a similar issue recently.
The dhcp-pd code should just work too. The september 3 code will also automatically show the link local address of your gateway.
I think I'll add a 6 second wait on the dhcp6c client function just to stop it from breaking on boot.
Tried the wan save trick still no go it's so fast the log file fills up in seconds. I will try a reboot later tonight see if it helps. I also still cannot get a proper default route for ipv6 when it's up I still have to plug in this command in the cli etc route -n add -inet6 default pppoe1 any other suggestions maybe perhaps where to stick this line so it loads up when the ipv6 link comes up?
-
I'm using PPPoE connection too on my pfsense and running IPv6 from he.net . I haven't got any issue regarding default gateway on IPv4 or IPv6. But i noticed that your connection is pppoe1 unline me, my interface shows pppoe0
pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492 inet6 fe80::205:5dff:fe7b:b589%pppoe0 prefixlen 64 scopeid 0x8 inet 60.xxx.xxx.xxx --> 219.xxx.xxx.xxx netmask 0xffffffff nd6 options=3<performnud,accept_rtadv></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast>
I know maybe it's not an issue whether it's pppoe0 or pppoe1, but that's what i found in my interface assignment and plus i've managed to surf IPv6 sites without any problem now. Do tell me if you need further info on my conf
-
I'm using PPPoE connection too on my pfsense and running IPv6 from he.net . I haven't got any issue regarding default gateway on IPv4 or IPv6. But i noticed that your connection is pppoe1 unline me, my interface shows pppoe0
pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492 inet6 fe80::205:5dff:fe7b:b589%pppoe0 prefixlen 64 scopeid 0x8 inet 60.xxx.xxx.xxx --> 219.xxx.xxx.xxx netmask 0xffffffff nd6 options=3<performnud,accept_rtadv></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast>
I know maybe it's not an issue whether it's pppoe0 or pppoe1, but that's what i found in my interface assignment and plus i've managed to surf IPv6 sites without any problem now. Do tell me if you need further info on my conf
I used to use a HE ipv6 tunnel but now I am using my isp's beta ipv6 program which requires me to use a second pppoe login which get's both a ipv4 and ipv6 info from my isp via ipcp and pppoe. anyways I still have to add the default ipv6 route to the system after a reboot or reconnect.