537 users online
NEW ZEALAND

GP Forums / Tech Discussion / Topics / Internet, Broadband & Networking Post a new thread in the current forumPost a new reply in the current thread
IPv6 - Tomato + Vigor120

Analgia
Monarch
Old Post Yesterday 7:20 pm REPLY Edit Profile Send PM Add Friend
Anyone had any luck with getting IPv6 to work with a Vigor120? Currently with Snap and while I can get a v6 address, ping it internally and am able to resolve v6 DNS entires I'm unable to send any useful external traffic over it.
---
Xbox Live Gamertag: JaggedCrane

OfflineAnalgia is offline
tehyitz
Emperor
~~
Old Post Yesterday 7:21 pm REPLY Edit Profile Send PM Add Friend
http://www.gpforums.co.nz/showthrea...threadid=448316

What have you got the Vigor 120 doing? Try operating in RFC1483/2684 bridged mode with VLAN=10.

Offlinetehyitz is offline
mercutio
Prince
Old Post Yesterday 8:22 pm REPLY Edit Profile Send PM Add Friend
make sure you've got a legit ip block assigned and not some private default thingy.

Offlinemercutio is offline
Analgia
Monarch
Old Post Yesterday 9:51 pm REPLY Edit Profile Send PM Add Friend

tehyitz wrote:
http://www.gpforums.co.nz/showthrea...threadid=448316

What have you got the Vigor 120 doing? Try operating in RFC1483/2684 bridged mode with VLAN=10.


It's just bridging PPoA to PPoE, tried setting up vlan10 but it doesn't appear to have made a difference.

Here is my vlan config:

Code
lan_ifnames=vlan0 eth1 eth2 eth3
landevs=vlan0 wl0
vlan0hwname=et0
vlan0ports=0 1 2 3 5*
vlan10hwname=et0
vlan10ports=4 5
vlan1hwname=et0
vlan1ports=4 5
wan_ifname=vlan10
wan_ifnameX=vlan10
wan_ifnames=vlan10
wl0_vlan_prio_mode=off
wl_vlan_prio_mode=off

---
Xbox Live Gamertag: JaggedCrane

OfflineAnalgia is offline
mercutio
Prince
Old Post Yesterday 9:52 pm REPLY Edit Profile Send PM Add Friend
the vigor120 shouldn't be involved in the ipv6 at all if you're bridging.

Offlinemercutio is offline
tehyitz
Emperor
~~
Old Post Yesterday 10:00 pm REPLY Edit Profile Send PM Add Friend
Just follow what Lorenceo did in that thread.

On the modem (your Vigor 120):
Set ADSL WAN interface to VPI=0, VCI=110
Enable RFC1483/2684 bridged mode

On the router (whatever you're running Tomato on)
Set WAN interface to PPPoE tagged vlan=10

No need for that "PPPoA to PPPoE" feature on the Vigor when Snap support PPPoE on EUBA-based connections.

Offlinetehyitz is offline
Analgia
Monarch
Old Post Yesterday 10:01 pm REPLY Edit Profile Send PM Add Friend

mercutio wrote:
make sure you've got a legit ip block assigned and not some private default thingy.


I'm using DHCPv6...
---
Xbox Live Gamertag: JaggedCrane

OfflineAnalgia is offline
eXDee
Deity
8bit
Old Post Yesterday 10:03 pm REPLY Edit Profile Send PM Add Friend
What about if you simply use regular bridging on the vigor 120 (with VPI 0 VCI 110), rather than the PPPoA to PPPoE bridge? Though i'd think in theory this shouldn't make a difference due to how encapsulation works, it seems like a 'cleaner' solution to me.

edit: mentioned above already
---
[ Coupons! Pizza + More (!!UPDATED!!) ]

OfflineeXDee is offline
mercutio
Prince
Old Post Yesterday 10:34 pm REPLY Edit Profile Send PM Add Friend

Analgia wrote:
I'm using DHCPv6...



and you're getting a normal looking ip block, and you can ping your gateway?

Offlinemercutio is offline
Zeon
Monarch
Old Post Yesterday 11:07 pm REPLY Edit Profile Send PM Add Friend
Is your ipv6 address something like fe80:xxx? How do providers set the lan interface on routers with the correct IP out of interest? I always do it manually and use SLAAC instead of DHCPv6

OfflineZeon is offline
eXDee
Deity
8bit
Old Post Yesterday 11:35 pm REPLY Edit Profile Send PM Add Friend
FYI i get a 2406:e000:XXXX::/48 block. Unsure if they multiple v6 allocations.
---
[ Coupons! Pizza + More (!!UPDATED!!) ]

OfflineeXDee is offline
Analgia
Monarch
Old Post Yesterday 11:40 pm REPLY Edit Profile Send PM Add Friend
Same/similar range as eXDee.

Tried playing with VPI/VCI and PPoA/PPoE settings as a test and couldn't even get a connection with anything other than 0/100 PPoA.

Tried playing with the RFC1483 settings on the modem and it somehow kept breaking my connection to the modem via tomato every 30 or so seconds needing me to manually reset the rule through telnet.

I've done a factory reset on both tomato and modem to fix the issues and have given up for tonight, might take another look tomorrow.
---
Xbox Live Gamertag: JaggedCrane

OfflineAnalgia is offline
Lorenceo
Noble
Old Post Today 12:43 am REPLY Edit Profile Send PM Add Friend
You should still be able to get v6 from Snap via PPPoA, I believe.

Try putting your Vigor 120 in PPPoA-PPPoE mode. Disable VLAN tagging on the router. Enter username and password in PPPoE settings on the router. If it connects and you get v4, then that part of it is definitely working.

Under IPv6 settings, select DHCPv6 with prefix delegation.
If you can ping v6 hosts from the router, then you have v6 working on the router.

To get it working with your client devices, enable router advertisements. Do not allow advertisements from WAN or LAN.
See if your PCs pick up v6 addresses. Check whether it's working via ipv6.google.com, or some other v6 only website.

Right now, at least on the Toastman Tomato builds, router advertisements are a bit iffy. The daemon defaults to 1500 MTU which breaks some v6 sites, notably Facebook.

If your v6 does not work with the above settings try the following, which I have been using since that thread mentioned earlier:
Set the V6 options to the following:
http://i.imgur.com/mjdXYNd.png

Select system under tools, or SSH into the router and enter the following commands:

Code
nvram set FILE:/etc/radvd.conf="\\A4\\81~~p\\17\\16\\12interface br0\\0A{\\0A IgnoreIfMissing on;\\0A AdvSendAdvert on;\\0A AdvLinkMTU 1488;\\0A MaxRtrAdvInterval 60;\\0A AdvHomeAgentFlag off;\\0A AdvManagedFlag off;\\0A prefix ::/48 \\0A {\\0A  AdvOnLink on;\\0A  AdvAutonomous on;\\0A };\\0A RDNSS 2406:e000::100 {};\\0A };\\0A" 
sleep 10
nvram commit
reboot



Under Administration, Scheduler enter the following, to be repeated every two minutes:

Code
#!/bin/sh
if top -b -n 1 | grep -v grep | grep radvd > /dev/null
then
echo  radvd is running.
else
echo  radvd is not running, starting.
#start the process
radvd
fi



The first section writes a radvd.conf file to nvram, since the default one that radvd uses has the MTU set to 1500, which won't work over ADSL. After running it the router will reboot.

The scheduled task is a small script that will check every two minutes whether radvd is running or not. If it is it'll do nothing, if it isn't it'll start it.

Short of recompiling the firmware, I've not been able to get Tomato to recognise the MTU needs to be different for router advertisements, so have been using the above settings for nearly a year. The only problem with it I've found is that if radvd crashes (which it does, every 12 hours or so), if you're moving some v6 traffic at the time it'll stop, and won't come back till you've restarted the radvd daemon.

If you can't get it working with PPPoA-PPPoE mode, as tehyitz suggested, follow the previous thread and see if that works.
As eXDee said, Snap seem to hand out /48's in the 2406:e000:: range. They're dynamic, even if you're on a static v4 IP. I'm not sure whether you can get static v6 from Snap or not.
Last edited Today at 12:52 am by Lorenceo

OfflineLorenceo is offline
mercutio
Prince
Old Post Today 1:48 am REPLY Edit Profile Send PM Add Friend
you could just ask for a static ipv6 subnet and see if they give you one and it means you can have friendlier ip addresses, dns etc.

Offlinemercutio is offline

Post a new thread in the current forumPost a new reply in the current thread

Print Show printable version
Email Email this page to a friend
Subscribe Receive updates to this thread

All times are GMT +12 hours. The time now is 6:41 am.
Previous Thread | Next Thread