[Dnsmasq-discuss] Router advertisement added.

Conrad Kostecki ConiKost at gmx.de
Fri Feb 24 16:56:56 GMT 2012


Am 24.02.2012 17:52, schrieb Simon Kelley:
> On 24/02/12 16:38, Conrad Kostecki wrote:
>> Am 24.02.2012 17:16, schrieb Simon Kelley:
>>> http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.60test14.tar.gz
>>>
>>>
>>>
>>> is out there, (or pick it up from git).
>>>
>>>
>>> Please test.
>>>
>>> Simon.
>>>
>>>
>>
>> Hi Simon,
>> great news! I've compiled test14 with my Gentoo, but setting enable-ra
>> and restarting DNSMasq gives me this error:
>> dnsmasq: failed to join DHCPv6 multicast group: Die Adresse wird bereits
>> verwendet (Address already in use)
>>
>> What could be the cause? Radvd ist completly stopped and disabled.
>>
>> Conrad
>>
>
>
> Could you send me a copy of your config file (off list) please?
>
>
> Cheers,
>
> Simon.
>
>
Hi!
Sure, here we go:

# DNSMasq

# RA
enable-ra

# Interne DNS-Namen nicht weiterleiten
domain-needed

# Privaten IP-Adressraum nicht weiterleiten
bogus-priv

# Interfaces
interface=eth0
interface=eth1
except-interface=eth2

# Automatisch DNS-Domain anhängen an Hosts
expand-hosts

# DNS Domain
domain=LAN.Bl4ckB0x.de,192.168.23.0/24
domain=WLAN.Bl4ckB0x.de,192.168.42.0/24

# DHCP - Ranges - IPv4
dhcp-range=set:lan,192.168.23.10,192.168.23.49,24h
dhcp-range=set:wlan,192.168.42.10,192.168.42.49,24h

# DHCP - Ranges - IPv6
dhcp-range=2a01:AAA:BBB:23::10,2a01:AAA:BBB:23::49,24h
dhcp-range=2a01:AAA:BBB:42::10,2a01:AAA:BBB:42::49,24h

# DHCP - Hosts - LAN
dhcp-host=6C:F0:49:EF:33:C3,192.168.23.2,Valkyrie
dhcp-host=00:1F:16:0A:27:35,192.168.23.3,Firefly
dhcp-host=00:01:02:42:5F:1D,192.168.23.4,Triton
dhcp-host=98:4B:E1:36:B9:D8,192.168.23.251,Mercury
dhcp-host=7C:2F:80:1F:1E:D8,192.168.23.252,Yashuman
dhcp-host=30:E4:DB:72:A1:86,192.168.23.253,Athena

# DHCP - Hosts - LANv6
dhcp-host=id:00:01:00:01:15:E9:74:8C:6C:F0:49:EF:33:C3,2a01:198:290:23::2,Valkyrie6

# DHCP - Hosts - WLAN
dhcp-host=00:16:EB:23:5F:F4,192.168.42.2,Serenity
dhcp-host=D8:75:33:57:07:1A,192.168.42.3,Pegasus
dhcp-host=00:90:A2:39:41:F5,192.168.42.4,Voyager
dhcp-host=00:21:29:7C:A8:E4,192.168.42.254,Columbia

# DHCP - Optionen
dhcp-option=tag:lan,3,192.168.23.1
dhcp-option=tag:lan,6,192.168.23.1,8.8.8.8
dhcp-option=tag:lan,40,LAN.Bl4ckB0x.de
dhcp-option=tag:lan,42,192.168.23.1
dhcp-option=tag:lan,44,192.168.23.1,127.0.0.1
dhcp-option=tag:wlan,3,192.168.42.1
dhcp-option=tag:wlan,6,192.168.42.1,8.8.8.8
dhcp-option=tag:wlan,40,WLAN.Bl4ckB0x.de
dhcp-option=tag:wlan,42,192.168.42.1
dhcp-option=tag:wlan,44,192.168.42.1
dhcp-option=option6:dns-server,[2a01:AAA:BBB:23::1],[2001:4860:4860::8888]
dhcp-option=option6:ntp-server,[2a01:AAA:BBB:23::1]

# TFTP
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftp/boot
tftp-secure

# DHCP Autoritativer Modus
dhcp-authoritative

Conrad




More information about the Dnsmasq-discuss mailing list