Author
Message
realcapone DD-WRT Novice Joined: 24 May 2021 Posts: 6
Posted: Tue May 25, 2021 21:52 Post subject: VLAN2 and IPV6 Routing question
Hey everyone,
I'm trying to accomplish these things.
1.) Distribute IPV6 addresses to clients on LAN and WLAN
2.) Understand or at least know how to set a route using VLAN2(IPV6 WAN) for my clients in LAN
3.) Lastly, what setting should I use under IPV6? Is it Native IPV6 from ISP or Prefix with delegation?
I have followed and tried a lot of solutions from different posters here but to no avail. Only positive is my DDWRT router gets an IPV6 address from the /56 prefix.
My current topology is below:
ISP Router(DHCP) -> DDWRT (DHCP) -> CLIENTS
My ISP router's IPV6 config:
IPv6 Address 2001:4454:84::3:bxxx/64
Prefix 2001:4454:5ea:xx00::/56
Default Gateway fe80::ca1f:beff:fe6d:xx1
ISP Router has DHCP6S enabled with the configuration in the screenshot below..
Below are the details of my DDWRT's ifconfig:
Code: br0 Link encap:Ethernet HWaddr AC:9E:17:E9:8C:E6
inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::ae9e:17ff:fee9:8ce6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4997 errors:0 dropped:5 overruns:0 frame:0
TX packets:6505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:454789 (444.1 KiB) TX bytes:7495059 (7.1 MiB)
eth0 Link encap:Ethernet HWaddr AC:9E:17:E9:8C:E4
inet6 addr: fe80::ae9e:17ff:fee9:8ce4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14476 errors:0 dropped:0 overruns:0 frame:0
TX packets:16224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3227533 (3.0 MiB) TX bytes:10160604 (9.6 MiB)
Interrupt:179 Base address:0x4000
eth1 Link encap:Ethernet HWaddr AC:9E:17:E9:8C:E6
inet6 addr: fe80::ae9e:17ff:fee9:8ce6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:552 errors:0 dropped:0 overruns:0 frame:7170
TX packets:540 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:119351 (116.5 KiB) TX bytes:133874 (130.7 KiB)
Interrupt:163
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 MULTICAST MTU:65536 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:464 (464.0 B) TX bytes:464 (464.0 B)
vlan1 Link encap:Ethernet HWaddr AC:9E:17:E9:8C:E4
inet6 addr: fe80::ae9e:17ff:fee9:8ce4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8388 errors:0 dropped:2 overruns:0 frame:0
TX packets:11450 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1078992 (1.0 MiB) TX bytes:9287049 (8.8 MiB)
vlan2 Link encap:Ethernet HWaddr AC:9E:17:E9:8C:E5
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2001:4454:5ea:xx00:ae9e:17ff:fee9:8cxx/64 Scope:Global
inet6 addr: fe80::ae9e:17ff:fee9:8ce5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6088 errors:0 dropped:10 overruns:0 frame:0
TX packets:4766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1990719 (1.8 MiB) TX bytes:842379 (822.6 KiB)
Router: Asus RT-N18u
Firmware: Firmware: V3.0-r-46733
Back to top
Sponsor
Wildlion DD-WRT Guru Joined: 24 May 2016 Posts: 1415
Posted: Tue May 25, 2021 22:46 Post subject:
This is confusing the fe80::/10 addresses are link local, not intenteded to be global.
The vlan2 address is the only address that the router needs because it is global and the idea is that it is the singular router address.
Did you get prefix delegation? Or are you expecting the router to deliver to the rest of the network?
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Back to top
realcapone DD-WRT Novice Joined: 24 May 2021 Posts: 6
Posted: Wed May 26, 2021 2:08 Post subject:
Wildlion wrote: This is confusing the fe80::/10 addresses are link local, not intenteded to be global.
The vlan2 address is the only address that the router needs because it is global and the idea is that it is the singular router address.
Did you get prefix delegation? Or are you expecting the router to deliver to the rest of the network?
This is what I have on my ISP router:
IPv6 Address 2001:4454:84::3:bxxx/64
Prefix 2001:4454:5ea:xx00::/56
Default Gateway fe80::ca1f:beff:fe6d:xx1
If I forcefully put the WAN port under br0, works just fine but I am assuming that puts the whole thing into bridge mode plus wifi is not working.
I am expecting the router to deliver it to the rest of the clients.
kernel-panic69 wrote: https://wiki.dd-wrt.com/wiki/index.php/Category:IPv6
Thanks for the link but unfortunately nothing worked out for me at least, maybe I'm doing something wrong or maybe not. That's the very first thing I read before opening other people's thread here.
Just to add, adding this in the custom Radvd config allows my LAN clients to get an IPV6 address but it's not routed out to the internet.
That's also another confusion for me on how to set it's default route since the default route set when that conf is used is the link local of br0 which does not route out to the internet. Not sure if I there's a need to do a static default route instead?
Back to top
realcapone DD-WRT Novice Joined: 24 May 2021 Posts: 6
Posted: Thu May 27, 2021 13:58 Post subject:
Reverted back to ASUSWRT and tried the IPV6 passthrough and native, works fine then upgrade to the merlin version of it and works fine as well. I'm not sure what was wrong with the ddwrt config I got. Thanks anyway.
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6868 Location: Romerike, Norway
Posted: Thu May 27, 2021 18:04 Post subject:
DHCP6 with Delegated Prefix will not work with the ISP router upstream, because it probably don't have a Wide DHCP6 server that can hand out prefixes.
Don't you have the possibility to attach the dd-wrt router directly to the ISP?
Back to top