SixXS::Sunset 2017-06-06

FreeBSD, problem setting up rtsol/rtadvd
[ch] Shadow Hawkins on Tuesday, 30 December 2008 14:39:13
I am having problems setting up rtsol/rtadvd with FreeBSD. I got the following subnet assigned: 2001:41e0:ff62::/48 Gateway: OS: FreeBSD i386 7.0-RELEASE (PC-Engines) ifconfig:
# ifconfig -a vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=280b<RXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC> ether 00:0d:b9:14:ea:28 inet 192.168.1.16 netmask 0xffffff00 broadcast 192.168.1.255 inet6 2001:41e0:ff62::1 prefixlen 64 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vr1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=280b<RXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC> ether 00:0d:b9:14:ea:29 inet 77.57.221.162 netmask 0xfffff000 broadcast 255.255.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280 tunnel inet 77.57.221.162 --> 194.1.163.40 inet6 2001:41e0:ff00:ba::2 --> 2001:41e0:ff00:ba::1 prefixlen 128
/etc/rtadvd.conf:
vr0:\ :addrs#1:addr="2001:41e0:ff62::":prefixlen#64:
As you can see I assigned 2001:41e0:ff62::1 to vr0, the internal interface. rtadvd is up and running. Now I try to assing an IP to a host behind the gateway: Client: OS: FreeBSD 7.0 (amd64) Kernel options:
net.inet6.ip6.accept_rtadv=1 net.inet6.ip6.forwarding=0
Now I'm trying to assing an address to interface re0 with rtsol:
# rtsol -D re0 checking if re0 is ready... get_llflag() failed, anyway I'll try set timer for re0 to 0:24967 New timer is 0:00024735 New timer is 0:00000387 New timer is 0:00000283 New timer is 0:00000216 New timer is 0:00000151 New timer is 0:00000087 New timer is 0:00000026 timer expiration on re0, state = 1 send RS on re0, whose state is 2 sendmsg on re0: Can't assign requested address set timer for re0 to 4:0 New timer is 4:00000326 timer expiration on re0, state = 2 send RS on re0, whose state is 2 sendmsg on re0: Can't assign requested address set timer for re0 to 4:0 New timer is 4:00000352 timer expiration on re0, state = 2 send RS on re0, whose state is 2 sendmsg on re0: Can't assign requested address set timer for re0 to 1:0 New timer is 1:00000348 timer expiration on re0, state = 2 No answer after sending 3 RSs stop timer for re0 there is no timer
Maybe I don't see the obvious. Any help would be great. Emanuel
FreeBSD, problem setting up rtsol/rtadvd
[us] Shadow Hawkins on Tuesday, 30 December 2008 15:39:25
Can you post /etc/rc.d?
FreeBSD, problem setting up rtsol/rtadvd
[us] Shadow Hawkins on Tuesday, 30 December 2008 15:39:40
Oops, make that /etc/rc.conf
FreeBSD, problem setting up rtsol/rtadvd
[ch] Shadow Hawkins on Tuesday, 30 December 2008 16:06:35
That's on the gateway:
hostname="v6wall.my.domain.tld" ifconfig_vr0="inet 192.168.1.16 netmask 255.255.255.0" ipv6_ifconfig_vr0="2001:41e0:ff62::1" ifconfig_vr1="DHCP" gateway_enable="YES" ipv6_gateway_enable="YES" kern_securelevel_enable="NO" keymap="swissgerman.iso.acc" keyrate="fast" linux_enable="NO" sendmail_enable="NONE" sshd_enable="YES" syslogd_flags="-s -b 192.168.1.16" clear_tmp_enable="YES" fsck_y_enable="YES" pf_enable="YES" ntpd_enable="YES" ntpd_sync_on_start="YES" ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift" rtadvd_enable="YES" rtadvd_interfaces="vr0" # ports sixxs_aiccu_enable="YES"
That's on the host behind the gw:
gateway_enable="YES" hostname="alaska.my.domain.tld" defaultrouter="192.168.1.1" ifconfig_re0="inet 192.168.1.2 netmask 255.255.255.0" keymap="swissgerman.iso.acc" keyrate="fast" nfs_client_enable="YES" nfs_server_enable="YES" nfs_server_flags="-t -n 4" rpcbind_enable="YES" sshd_enable="YES" usbd_enable="YES" syslogd_flags="-a 192.168.1.0/24" ntpd_enable="YES" ntpd_sync_on_start="YES" ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift" clear_tmp_enable="YES" powerd_enable="YES" powerd_flags="-a adaptive" rwhod_enable="YES" inetd_enable="YES" sendmail_enable="YES" virecover_enable="YES" named_enable="YES"
FreeBSD, problem setting up rtsol/rtadvd
[us] Shadow Hawkins on Tuesday, 30 December 2008 16:18:34
It seems to me that you need an ipv6_enable="YES" on your "host behind the gateway" Can you post ifconfig -a from the "host behind the gateway"? Do you have any other hosts that are trying to receive an auto-config address from this router? Are there any errors related to rtadvd in /var/log/messages? FWIW, this is the content of my /etc/rtadvd.conf cat /etc/rtadvd.conf fxp0:\ :addrs#1:addr="2001:4978:1d8:f000::":prefixlen#64:tc=ether:
FreeBSD, problem setting up rtsol/rtadvd
[ch] Shadow Hawkins on Tuesday, 30 December 2008 16:46:13
It seems to me that you need an ipv6_enable="YES" on your "host behind the gateway"
That was the problem. After setting
ipv6_enable="YES"
and restarting the host the interface was properly configured. Thanks Carl. Emanuel

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker