IPV6 setup with static Ip addresses on WAN/LAN

Started by ofh, July 02, 2025, 12:59:41 PM

Previous topic - Next topic
July 02, 2025, 12:59:41 PM Last Edit: July 02, 2025, 02:05:55 PM by ofh
Hi
Have following ipv6 net:2a0a:5400:xxxx:yyyy::/56 ip net. I have subnettet this net into 256 subnets (/64).
The 2 subnets 0 and 2 (2a0a:5400:xxxx:yy00::/64 and 2a0a:5400:xxxx:yy02::/64)  I want to use for WAN/LAN.

My Gateway is at 2a0a:5400:xxxx:yy00::1/64

Is there a link to setup guide on how to setup WAN/LAN with these ip addresses?

Shall I use DHCP or SLAAC or both on LAN?

What about RA and all the possibilities?

Have tryed to look at the online documentation, but I don't find what I want.

BR
OFH

Here is a small example (just ignore the HA setup):

https://docs.opnsense.org/manual/how-tos/carp.html#configuring-carp-for-ipv6

Essentially the GUA your ISP routes your prefix to should be configured on the WAN.

For RA use Services - Router Advertisements set to Stateless for the LAN.

You don't need DHCPv6 in most cases.
Hardware:
DEC740

1)Tanks, Will give IT a try tomorow.

2)
When Pingin WAN addresses from the Router everything is OK:
------------------------------------------------------------------------------------------------------------------------
root@OPNsense-19:~ # ping 2606:4700:4700::1001
PING(56=40+8+8 bytes) 2a0a:????:xxxx:yyyy::?? --> 2606:4700:4700::1001 (ip removed) :-)
16 bytes from 2606:4700:4700::1001, icmp_seq=0 hlim=53 time=5.956 ms
16 bytes from 2606:4700:4700::1001, icmp_seq=1 hlim=53 time=6.207 ms
16 bytes from 2606:4700:4700::1001, icmp_seq=2 hlim=53 time=6.289 ms
16 bytes from 2606:4700:4700::1001, icmp_seq=3 hlim=53 time=6.251 ms
16 bytes from 2606:4700:4700::1001, icmp_seq=4 hlim=53 time=6.293 ms
^C
--- 2606:4700:4700::1001 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 5.956/6.199/6.293/0.125 ms

-----------------------------------------------------------------------------------------------------------------------

When doing Traceroute6 from Router everything is OK:
root@OPNsense-19:~ # traceroute6 www.dr.dk
traceroute6: Warning: e117571.dscb.akamaiedge.net has multiple addresses; using 2a02:26f0:3b::5f64:9ba1
 1  First rows removed :-)
 6  2a00:19f8:109:232:79::170  1.263 ms  1.208 ms  1.381 ms
 7  2a00:19f8:109:232:79::210  1.244 ms  1.316 ms  1.154 ms
 8  2a00:19f8:109:232:79::165  1.274 ms  1.322 ms  1.265 ms
 9  2001:6c8:41:100:0:30:2:2  1.277 ms  1.558 ms  1.301 ms
10  et-2-1-0-100.hrnqe12.dk.ip.tdc.net  2.049 ms  2.077 ms  4.026 ms
11  batdh8nqp7.dk.ip.tdc.net  7.040 ms  6.811 ms  6.703 ms
12  peer-as20940.batdh8nqp7.dk.ip.tdc.net  6.690 ms  6.739 ms  6.915 ms
13  g2a02-26f0-003b-0000-0000-0000-5f64-9ba1.deploy.static.akamaitechnologies.com  6.267 ms  6.287 ms  6.195 ms
--------------------------------------------------------------------------------------------------------------------------------------------------

But   when pining WAN addresses from LAN PC, it is not working.

C:\Users\admin>ping 2606:4700:4700::1001

Pinging 2606:4700:4700::1001 with 32 bytes of data:
Request timed out.
Request timed out.

Ping statistics for 2606:4700:4700::1001:
    Packets: Sent = 2, Received = 0, Lost = 2 (100% loss)

Any clue on this?
BR