Xu He Jie
2013-04-28 09:53:30 UTC
Hi, folks
I am trying to run RA and stateless dhcpv6 in separeted host.
I have tried:
dnsmasq --interface l3outer -k -d --dhcp-range=2001:0:0:1::,ra-stateless
--no-resolv -I lo
But I found it still provide stateless dhcpv6 service.
How can I run dnsmasq as RA with A bit and O bit, but without stateless
dhcpv6?
And I run dnsmasq as stateless dhcpv6 as below:
dnsmasq --interface l3outer -k -d --dhcp-range=::,static --dhcp-option
option6:dns-server,[2111:0:0:1::3] --no-resolv -I lo
I tested that works for me. So it is the right way, right?
And another question, I found dnsmasq always provide 'rdnss' whatever
the mode
17:47:47.803104 IP6 (class 0xc0, hlim 255, next-header ICMPv6 (58)
payload length: 88) fe80::4ca5:93ff:fed0:7467 > ff02::1: [icmp6 sum ok]
ICMP6, router advertisement, length 88
hop limit 64, Flags [other stateful], pref medium, router
lifetime 1800s, reachable time 0s, retrans time 0s
prefix info option (3), length 32 (4): 2001:0:0:1::/64, Flags
[onlink, auto], valid time 3600s, pref. time 3600s
0x0000: 40c0 0000 0e10 0000 0e10 0000 0000 2001
0x0010: 0000 0000 0001 0000 0000 0000 0000
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
source link-address option (1), length 8 (1): 4e:a5:93:d0:74:67
0x0000: 4ea5 93d0 7467
rdnss option (25), length 24 (3): lifetime 1200s, addr:
2001:0:0:1::1
0x0000: 0000 0000 04b0 2001 0000 0000 0001 0000
0x0010: 0000 0000 0001
Is this right behavior?
I will appreciate any help from you!
Thanks
Alex
I am trying to run RA and stateless dhcpv6 in separeted host.
I have tried:
dnsmasq --interface l3outer -k -d --dhcp-range=2001:0:0:1::,ra-stateless
--no-resolv -I lo
But I found it still provide stateless dhcpv6 service.
How can I run dnsmasq as RA with A bit and O bit, but without stateless
dhcpv6?
And I run dnsmasq as stateless dhcpv6 as below:
dnsmasq --interface l3outer -k -d --dhcp-range=::,static --dhcp-option
option6:dns-server,[2111:0:0:1::3] --no-resolv -I lo
I tested that works for me. So it is the right way, right?
And another question, I found dnsmasq always provide 'rdnss' whatever
the mode
17:47:47.803104 IP6 (class 0xc0, hlim 255, next-header ICMPv6 (58)
payload length: 88) fe80::4ca5:93ff:fed0:7467 > ff02::1: [icmp6 sum ok]
ICMP6, router advertisement, length 88
hop limit 64, Flags [other stateful], pref medium, router
lifetime 1800s, reachable time 0s, retrans time 0s
prefix info option (3), length 32 (4): 2001:0:0:1::/64, Flags
[onlink, auto], valid time 3600s, pref. time 3600s
0x0000: 40c0 0000 0e10 0000 0e10 0000 0000 2001
0x0010: 0000 0000 0001 0000 0000 0000 0000
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
source link-address option (1), length 8 (1): 4e:a5:93:d0:74:67
0x0000: 4ea5 93d0 7467
rdnss option (25), length 24 (3): lifetime 1200s, addr:
2001:0:0:1::1
0x0000: 0000 0000 04b0 2001 0000 0000 0001 0000
0x0010: 0000 0000 0001
Is this right behavior?
I will appreciate any help from you!
Thanks
Alex