VLAN2 and IPV6 Routing question

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
realcapone
DD-WRT Novice


Joined: 24 May 2021
Posts: 6

PostPosted: Tue May 25, 2021 21:52    Post subject: VLAN2 and IPV6 Routing question Reply with quote
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
Sponsor
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1415

PostPosted: Tue May 25, 2021 22:46    Post subject: Reply with quote
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?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Tue May 25, 2021 23:28    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Category:IPv6
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
realcapone
DD-WRT Novice


Joined: 24 May 2021
Posts: 6

PostPosted: Wed May 26, 2021 2:08    Post subject: Reply with quote
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?
realcapone
DD-WRT Novice


Joined: 24 May 2021
Posts: 6

PostPosted: Thu May 27, 2021 13:58    Post subject: Reply with quote
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.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6868
Location: Romerike, Norway

PostPosted: Thu May 27, 2021 18:04    Post subject: Reply with quote
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?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum