I have a computer running Tumbleweed that I'm using as a router. I am using
wicked for network management.
I have 1 interface (enp5s6) connected to the wan using dhcp.
I have 1 interface (enp3s0 bridged br0) connected to the lan with a static ip
address.
In YaST2 on the routing tab of network settings I have Enable IPv4 & IPv6
Forwarding checked.
In Yast2 in the Masquerading section of Firewall, I have Masquerade Networks
checked.
I have dnsmasq taking care of dns and dhcp.
This all works, but I would like to get IPv6 working. I found this guide
https://doc.opensuse.org/documentation/leap/reference/html/
book.opensuse.reference/cha.basicnet.html and created the 50-router.conf file.
After several reboots of the computer and modem, I'm not getting an IPv6
address assigned to the interface.
n1250:~ # ip a
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: mtu 1500 qdisc pfifo_fast master
br0 state UP group default qlen 1000
link/ether 50:e5:49:c6:1a:e0 brd ff:ff:ff:ff:ff:ff
3: enp5s6: mtu 1500 qdisc pfifo_fast state
UNKNOWN group default qlen 1000
link/ether 00:50:04:22:fd:33 brd ff:ff:ff:ff:ff:ff
inet 174.1xx.xxx.xxx/20 brd 255.255.255.255 scope global enp5s6
valid_lft forever preferred_lft forever
inet6 fe80::250:4ff:fe22:fd33/64 scope link
valid_lft forever preferred_lft forever
5: br0: mtu 1500 qdisc noqueue state UP
group default qlen 1000
link/ether 50:e5:49:c6:1a:e0 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.50/24 brd 192.168.0.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::52e5:49ff:fec6:1ae0/64 scope link
valid_lft forever preferred_lft forever
I only have an fe80 address.
When I check in the journal my isp is giving my an ipv6 address
1250:~ # journalctl -b |grep wickedd-dhcp6
Dec 22 19:35:36 n1250 wickedd-dhcp6[937]: enp5s6: Request to acquire DHCPv6
lease with UUID e8b23d5a-d5d0-0600-ab03-000007000000 in mode auto
Dec 22 19:35:54 n1250 wickedd-dhcp6[937]: enp5s6: Committed DHCPv6 lease with
addresses:
Dec 22 19:35:54 n1250 wickedd-dhcp6[937]: 2605:a000:xxxx:x:xxxx:b1bd:
1859:c410, pref-lft 604800, valid-lft 604800
Here's my 50-router.conf
n1250:~ # cat /etc/sysctl.d/50-router.conf
net.ipv4.conf.all.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.all.rp_filter = 0
net.ipv6.conf.enp5s6.accept_ra = 2
net.ipv6.conf.enp5s6.autoconf = 0
Any ideas on how to assign the ipv6 address?
Thanks for any assistance.
Mark
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org