<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, folks<br>
<br>
I am trying to run RA and stateless dhcpv6 in separeted host.<br>
<br>
I have tried:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(0, 0, 0); font-family: 宋体, 'sans serif',
tahoma, verdana, helvetica; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 24px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none;"><br>
dnsmasq --interface l3outer -k -d
--dhcp-range=2001:0:0:1::,ra-stateless --no-resolv -I lo<br>
But I found it still provide stateless dhcpv6 service.<br>
How can I run dnsmasq as RA with A bit and O bit, but without </span><span
style="color: rgb(0, 0, 0); font-family: 宋体, 'sans serif', tahoma,
verdana, helvetica; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 24px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none;"><span style="color: rgb(0, 0, 0); font-family: 宋体, 'sans
serif', tahoma, verdana, helvetica; font-size: 16px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 24px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
display: inline !important; float: none;"> stateless dhcpv6</span>?<br>
<br>
And I run dnsmasq as stateless dhcpv6 as below:</span><br>
<span style="color: rgb(0, 0, 0); font-family: 宋体, 'sans serif',
tahoma, verdana, helvetica; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 24px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none;">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(0, 0, 0); font-family: 宋体, 'sans serif',
tahoma, verdana, helvetica; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 24px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; display: inline !important;
float: none;">dnsmasq --interface l3outer -k -d
--dhcp-range=::,static --dhcp-option
option6:dns-server,[2111:0:0:1::3] --no-resolv -I lo</span><br>
I tested that works for me. So it is the right way, right?<br>
<br>
And another question, I found dnsmasq always provide 'rdnss'
whatever the mode<br>
<br>
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<br>
hop limit 64, Flags [other stateful], pref medium, router
lifetime 1800s, reachable time 0s, retrans time 0s<br>
prefix info option (3), length 32 (4): 2001:0:0:1::/64,
Flags [onlink, auto], valid time 3600s, pref. time 3600s<br>
0x0000: 40c0 0000 0e10 0000 0e10 0000 0000 2001<br>
0x0010: 0000 0000 0001 0000 0000 0000 0000<br>
mtu option (5), length 8 (1): 1500<br>
0x0000: 0000 0000 05dc<br>
source link-address option (1), length 8 (1):
4e:a5:93:d0:74:67<br>
0x0000: 4ea5 93d0 7467<br>
rdnss option (25), length 24 (3): lifetime 1200s, addr:
2001:0:0:1::1<br>
0x0000: 0000 0000 04b0 2001 0000 0000 0001 0000<br>
0x0010: 0000 0000 0001<br>
<br>
Is this right behavior?<br>
<br>
I will appreciate any help from you!<br>
<br>
Thanks<br>
Alex<br>
<br>
<br>
</span>
</body>
</html>