[Dnsmasq-discuss] Doing only RA and not DHCPv4
Gui Iribarren
gui at altermundi.net
Sun Jan 20 15:37:35 GMT 2013
Hello again,
i'm trying to use dnsmasq to send router advertisements over a
ipv6-only tinc network.
with this minimal config
port=0
dhcp-range=2a00:1508:1:f000::, 64, ra-only
enable-ra
log-dhcp
and this interface
8: tinc6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether de:8e:ae:56:a3:ba brd ff:ff:ff:ff:ff:ff
inet6 2a00:1508:1:f000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::dc8e:aeff:fe56:a3ba/64 scope link
valid_lft forever preferred_lft forever
i get this in the logs, (and no RAs at all)
Jan 20 15:25:23 chato dnsmasq[20890]: started, version 2.65 DNS disabled
Jan 20 15:25:23 chato dnsmasq[20890]: compile time options: IPv6
GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
Jan 20 15:25:23 chato dnsmasq-dhcp[20890]: IPv6 router advertisement enabled
if i add dhcpv4 over that interface as well, RAs start working
port=0
dhcp-range=192.168.10.10,192.168.10.50,12h
dhcp-range=2a00:1508:1:f000::, 64, ra-only
enable-ra
log-dhcp
10: tinc6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether c2:f8:25:72:9f:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.10.1/24 scope global tinc6
inet6 2a00:1508:1:f000::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::c0f8:25ff:fe72:9f0f/64 scope link
valid_lft forever preferred_lft forever
Jan 20 15:26:38 chato dnsmasq[21813]: started, version 2.65 DNS disabled
Jan 20 15:26:38 chato dnsmasq[21813]: compile time options: IPv6
GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack
Jan 20 15:26:38 chato dnsmasq-dhcp[21813]: IPv6 router advertisement enabled
Jan 20 15:26:38 chato dnsmasq-dhcp[21813]: DHCP, IP range
192.168.10.10 -- 192.168.10.50, lease time 12h
Jan 20 15:26:42 chato dnsmasq-dhcp[21813]: RTR-ADVERT(tinc6) 2a00:1508:1:f000::
Jan 20 15:26:53 chato dnsmasq-dhcp[21813]: RTR-ADVERT(tinc6) 2a00:1508:1:f000::
Jan 20 15:27:12 chato dnsmasq-dhcp[21813]: RTR-ADVERT(tinc6) 2a00:1508:1:f000::
Is this expected? Maybe i'm going too far, trying to drop dual-stack?
Or more simply, i'm missing something in my setup?
As always, thanks!
Gui
More information about the Dnsmasq-discuss
mailing list