-
Notifications
You must be signed in to change notification settings - Fork 3
/
ndproxy.ps
569 lines (569 loc) · 25.7 KB
/
ndproxy.ps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
%!PS-Adobe-3.0
%%Creator: groff version 1.22.4
%%CreationDate: Tue Feb 19 10:44:31 2019
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Courier-Bold
%%+ font Courier
%%DocumentSuppliedResources: procset grops 1.22 4
%%Pages: 5
%%PageOrder: Ascend
%%DocumentMedia: Default 612 792 0 () ()
%%Orientation: Portrait
%%EndComments
%%BeginDefaults
%%PageMedia: Default
%%EndDefaults
%%BeginProlog
%%BeginResource: procset grops 1.22 4
%!PS-Adobe-3.0 Resource-ProcSet
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/MF{
findfont
[5 2 roll
0 3 1 roll
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
/MANUAL{
statusdict begin/manualfeed true store end
}bind def
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
DEFS/BPhook known{DEFS begin BPhook end}if
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}def
/DA{
newpath arcn stroke
}bind def
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
/DL{
SN
moveto
SN
lineto stroke
}bind def
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
/Fr{
setrgbcolor fill
}bind def
/setcmykcolor where{
pop
/Fk{
setcmykcolor fill
}bind def
}if
/Fg{
setgray fill
}bind def
/FL/fill load def
/LW/setlinewidth load def
/Cr/setrgbcolor load def
/setcmykcolor where{
pop
/Ck/setcmykcolor load def
}if
/Cg/setgray load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne
2 index/UniqueID ne
and
{def}{pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[]0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{}def
/setpagedevice{}def
mark
}bind def
/PEND{
cleartomark
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%EndProlog
%%BeginSetup
%%BeginFeature: *PageSize Default
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
%%EndFeature
%%IncludeResource: font Times-Roman
%%IncludeResource: font Times-Bold
%%IncludeResource: font Courier-Bold
%%IncludeResource: font Courier
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Courier@0 ENC0/Courier RE/Courier-Bold@0 ENC0/Courier-Bold RE
/Times-Bold@0 ENC0/Times-Bold RE/Times-Roman@0 ENC0/Times-Roman RE
%%EndSetup
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(NDPR)72 48 Q -.4(OX)-.4 G 1.666(Y\().4 G 99.869
(4\) FreeBSD)-1.666 F -.25(Ke)2.5 G(rnel Interf).25 E(aces Manual)-.1 E
(NDPR)102.369 E -.4(OX)-.4 G 1.666(Y\().4 G(4\))-1.666 E/F1 10
/Times-Bold@0 SF -.2(NA)72 96 S(ME).2 E/F2 10/Courier-Bold@0 SF(ndproxy)
102 108 Q F0 2.5<8a4e>2.5 G(eighbor Disco)-2.5 E -.15(ve)-.15 G
(ry Proxy).15 E F1(SYNOPSIS)72 132 Q F0(ndproxy is a k)102 144 Q
(ernel module that implements IPv6 Neighbor Disco)-.1 E -.15(ve)-.15 G
(ry proxying o).15 E -.15(ve)-.15 G 2.5(rE).15 G(thernet-lik)-2.5 E 2.5
(ea)-.1 G(ccess)-2.5 E(netw)102 156 Q(orks, with man)-.1 E 2.5(yo)-.15 G
(ptions to handle se)-2.5 E -.15(ve)-.25 G(ral use-cases.).15 E(ndproxy\
replies to a neighbor solicitation with a speci\214c neighbor adv)102
174 Q(ertisement, in order to let the PE uplink)-.15 E
(router send further pack)102 186 Q(ets to a CPE do)-.1 E(wnlink router)
-.25 E 2.5(,t)-.4 G(hat may or may not be the same node that run nd-)
-2.5 E(proxy)102 198 Q(.)-.65 E(The hook-based)102 216 Q/F3 10/Courier@0
SF(pfil)2.5 E F0(\(9\) frame)A -.1(wo)-.25 G
(rk is used to let ndproxy be in).1 E -.2(vo)-.4 G -.1(ke).2 G 2.5(df).1
G(or e)-2.5 E -.15(ve)-.25 G(ry IPv6 incoming pack).15 E(et, in)-.1 E(o\
rder to speci\214cally handle and \214lter neighbor solicitations and r\
eply with appropriate neighbor adv)102 228 Q(ertise-)-.15 E(ments.)102
240 Q(ND \(Neighbor Disco)102 258 Q -.15(ve)-.15 G(ry\) pack).15 E
(ets are mainly tar)-.1 E
(geted at solicited-node multicast addresses, b)-.18 E(ut ndproxy has)
-.2 E(no information about the hosts to proxy)102 270 Q 2.5(,t)-.65 G
(hen it can not join the corresponding groups. Thus, the interf)-2.5 E
(ace on)-.1 E(which ndproxy listen to solicitations must be put into pe\
rmanently promiscuous mode: add "promisc" to the)102 282 Q
(ifcon\214g_<interf)102 294 Q(ace> v)-.1 E(ariable in)-.25 E F3(rc.conf)
2.5 E F0(\(5\).)A -.15(Fo)102 312 S 2.5(rt).15 G(he same reason, MLD sn\
ooping must be disabled on the switches that share the PE/CPE interconn\
ect)-2.5 E(\(the layer)102 324 Q(-2 link the listening interf)-.2 E(ace\
is attached to\). Note that MLD snooping must not be disabled entirely)
-.1 E(on each switch, b)102 336 Q(ut only on the corresponding vlan.)-.2
E(The interf)102 354 Q(ace on which ndproxy listen to solicitations onl\
y need to be assigned a link-local address. No infor)-.1 E(-)-.2 E
(mation about the dele)102 366 Q -.05(ga)-.15 G
(ted pre\214x and no global address are needed on this interf).05 E
(ace. It is suf)-.1 E(\214cient to add)-.25 E("inet6 -ifdisabled -accep\
t_rtadv auto_linklocal" to the ifcon\214g_<interf)102 378 Q(ace>_ipv6 v)
-.1 E(ariable in)-.25 E F3(rc.conf)2.5 E F0(\(5\).)A F1 1.666
(DIFFERENCES WITH NDP)72 402 R F0 .331(The tar)102 414 R .331
(get address to proxy must be gi)-.18 F -.15(ve)-.25 G 2.831(nw).15 G
.331(hen using the)-2.831 F F3(ndp)2.83 E F0 .33
(\(8\) command-line tool with the proxy option.)B .329(On the contrary)
102 426 R 2.829(,n)-.65 G .329(dproxy does not rely on a list of tar)
-2.829 F .33(get addresses to proxy)-.18 F 2.83(.T)-.65 G .33
(hus, RFC-4941 temporary ad-)-2.83 F .245(dresses can be proxy\214ed. F)
102 438 R .245(or security reasons, man)-.15 F 2.745(yo)-.15 G .244
(perating systems use a temporary address when estab-)-2.745 F
(lishing outbound connections.)102 450 Q 1.196(When using)102 468 R F3
(ndp)3.696 E F0 1.196
(\(8\) command-line tool with the proxy option, the proxy\214ed pack)B
1.196(ets are redirected to the)-.1 F .572(node that run ndp. W)102 480
R .572(ith ndproxy)-.4 F 3.072(,t)-.65 G .571
(he host that run ndp can be used only to redirect pack)-3.072 F .571
(ets to another IPv6)-.1 F(internal router)102 492 Q 2.5(,f)-.4 G
(or instance a dedicated router with hardw)-2.5 E
(are support of IPv6 routing process.)-.1 E F1 1.666(PREFIX SUBNETTING)
72 516 R F0 .511(Connecting a \215at IPv6 netw)102 528 R .511(ork to th\
e Internet is easily done with the RFC-4861 ND protocol. But connect-)
-.1 F .145(ing a subnetted IPv6 pre\214x is more complicated, depending\
on the ISP netw)102 540 R .145(ork design choices.)-.1 F .145
(ndproxy can)5.145 F(help subscribers to achie)102 552 Q .3 -.15(ve t)
-.25 H(his goal.).15 E .486(Here are some protocols or mechanisms the I\
SP need to support, when the dele)102 570 R -.05(ga)-.15 G .487
(ted pre\214x must be subnet-).05 F .674
(ted and assigned to multiple links within the subscriber')102 582 R
3.174(sn)-.55 G(etw)-3.174 E 3.174(ork. F)-.1 F .673
(or instance, the ISP could learn routes)-.15 F .783
(from the subscriber router using an IGP routing protocol, b)102 594 R
.783(ut the ISP and the subscriber must agree with a)-.2 F .445
(common routing protocol.)102 606 R .445
(The ISP could also feed the PE with a static route to the CPE router)
5.445 F 2.945(,b)-.4 G .445(ut the ISP)-3.145 F .525
(must be informed about the subscriber router address.)102 618 R
(Finally)5.525 E 3.025(,t)-.65 G .525
(he ISP could use the RFC-3633 IPv6 Pre\214x)-3.025 F .397
(Options with DHCPv6 to dele)102 630 R -.05(ga)-.15 G .396
(te the pre\214x from its PE router to a requesting subscriber').05 F
2.896(sr)-.55 G .396(outer: in such a)-2.896 F
(case, the ISP must support the DHCPv6 option.)102 642 Q .809
(ndproxy has been written for subscribers to ISP that do not support an)
102 660 R 3.309(yo)-.15 G 3.309(ft)-3.309 G .809
(hose mechanisms or protocols,)-3.309 F(thus not being able to nati)102
672 Q -.15(ve)-.25 G(ly subnet their IPv6 dele).15 E -.05(ga)-.15 G
(ted pre\214x.).05 E(FreeBSD 13.0)72 750 Q(May 27, 2017)148.865 E(1)
201.085 E 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(NDPR)72 48 Q -.4(OX)-.4 G 1.666(Y\().4 G 99.869
(4\) FreeBSD)-1.666 F -.25(Ke)2.5 G(rnel Interf).25 E(aces Manual)-.1 E
(NDPR)102.369 E -.4(OX)-.4 G 1.666(Y\().4 G(4\))-1.666 E/F1 10
/Times-Bold@0 SF(NETW)72 96 Q 1.666(ORK DESIGN)-.1 F F0
(Here is a generic netw)102 108 Q(ork design using ndproxy to solv)-.1 E
2.5(es)-.15 G(uch situations:)-2.5 E/F2 10/Courier@0 SF 96
(______________________ \\)120 120 R 132(/\\)114 132 S(\\)-30 E 18(|I)
114 144 S(SP core network)-18 E 108(|\\)18 G(\\__________ ___________/)
114 156 Q(|)114 E 186(||)180 168 S(ISP network)-180 E 6(|d)180 180 S
(sl to subscriber premises)-6 E(|)24 E 180(|/)180 192 S 36
(+---+---------------------+ /)156 204 R 12(|P)156 216 S 6(Eo)-12 G 6
(rt)-6 G(riple-play box)-6 E 36(|/)12 G(+-----------+-------------+)156
228 Q(|)228 240 Q(PE/CPE interconnect | /48 prefix)108 252 Q(\\)54 E 48
(--+---------+---------+-- \\)156 264 R 12(|n)168 276 S 6(om)-12 G
(ld snooping)-6 E 72(|\\)12 G 114(||)168 288 S(|)-36 E 24
(+----+--------+ +----+-----+)138 300 R(|)42 E 30(|C)138 312 S 24
(PE | |)-30 F 6(ndproxy |)6 F(|)42 E 6(|I)138 324 S(Pv6 router |)-6 E 6
(|B)30 G(SD host |)-6 E(|)42 E 24(+----+---+----+ +----------+)138 336 R
(|)42 E 6(subnet1 |)114 348 R 12(|s)18 G 114(ubnet2 |)-12 F(Subscriber)6
E(----+-----+- -+-----+------)108 360 Q 6(|n)102 G(etwork)-6 E 6(|/)132
372 S 60(60 |)-6 F 108(/60 |)6 F 12(+---+------+ +----+-----+)108 384 R
(|)102 E 12(|Subscriber| |Subscriber|)108 396 R(/)96 E 12(|h)108 408 S
18(ost |)-12 F 12(|h)18 G 18(ost |)-12 F(/)90 E 12
(+----------+ +----------+)108 420 R(/)84 E F0 .74(Note that man)102 438
R 3.24(yo)-.15 G .739(ther use-cases can be handled with ndproxy: the B\
SD host and the CPE router can be the)-3.24 F .423(same node, the dele)
102 450 R -.05(ga)-.15 G .423
(ted-pre\214x length can be /64, the PE router can ha).05 F .724 -.15
(ve s)-.2 H -2.15 -.25(ev e).15 H .424(ral interf).25 F .424
(aces on the ISP/Sub-)-.1 F(scriber layer)102 462 Q(-2 boundary)-.2 E
2.5(,t)-.65 G(here can be multiple PE routers, etc.)-2.5 E F1 1.666
(PREFIX LENGTH)72 486 R F0(Ev)102 498 Q .646(en if the IESG and the IAB\
\214rst recommended the allocations of /48 pre\214x)-.15 F .645
(es in the general case, for the)-.15 F .109
(boundary between the public and the pri)102 510 R -.25(va)-.25 G .109
(te topology \(see RFC-3177\), and that some Re).25 F .11
(gional Internet Re)-.15 F(g-)-.15 E .402
(istries \(APNIC, ARIN and RIPE\) ha)102 522 R .702 -.15(ve s)-.2 H .402
(ubsequently re).15 F .402(vised the end site assignment polic)-.25 F
2.902(yt)-.15 G 2.902(oe)-2.902 G .402(ncourage the)-2.902 F 1.217(assi\
gnment of /56 blocks to end sites, and that RFC-6177 \214nally recommen\
ded gi)102 534 R 1.217(ving home sites signi\214-)-.25 F .517
(cantly more than a single /64, in order for home sites to be gi)102 546
R -.15(ve)-.25 G 3.017(nm).15 G .516
(ultiple subnets, some ISP currently only)-3.017 F(dele)102 558 Q -.05
(ga)-.15 G(te /64 pre\214x).05 E(es.)-.15 E .344(In such a case, the su\
bscriber should subnet a RFC-4193 Unique Local IPv6 Unicast Addresses p\
re\214x to the)102 576 R .606(internal subnetw)102 588 R .605(orks, for\
internal-to-internal communications. The /64 global pre\214x should be\
routed to the)-.1 F .455(only internal subnet in which RFC-4941 tempor\
ary addresses are used by hosts when establishing outbound)102 600 R
.949(connections. Static routes on the CPE router should be set to let \
hosts on other internal subnets be able to)102 612 R .358(communicate w\
ith the Internet. Using temporary addresses for outbound connections to\
the Internet must be)102 624 R
(disabled on hosts on those other internal subnets.)102 636 Q F1 1.666
(IPv6 EXTENSION HEADERS)72 660 R F0 -.15(Fo)102 672 S 4.912(rs).15 G
2.412(ecurity reasons, ndproxy e)-4.912 F 2.412
(xplicitely rejects neighbor solicitation pack)-.15 F 2.412
(ets containing an)-.1 F 4.911(ye)-.15 G(xtension)-5.061 E(header)102
684 Q 5(.S)-.55 G(uch a pack)-5 E(et is mainly unattended:)-.1 E
(FreeBSD 13.0)72 750 Q(May 27, 2017)148.865 E(2)201.085 E 0 Cg EP
%%Page: 3 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(NDPR)72 48 Q -.4(OX)-.4 G 1.666(Y\().4 G 99.869
(4\) FreeBSD)-1.666 F -.25(Ke)2.5 G(rnel Interf).25 E(aces Manual)-.1 E
(NDPR)102.369 E -.4(OX)-.4 G 1.666(Y\().4 G(4\))-1.666 E/F1 10
/Times-Bold@0 SF(Fragmentation:)102 96 Q F0 1.062(According to RFC-6980\
, IPv6 fragmentation header is forbidden in all neighbor disco)167 114 R
-.15(ve)-.15 G(ry).15 E(messages.)167 126 Q F1(Hop-by-hop header:)102
144 Q F0 .245(commonly used for jumbograms or for MLD. Should not in)167
162 R -.2(vo)-.4 G(lv).2 E 2.745(en)-.15 G .245
(eighbor solicitation pack-)-2.745 F(ets.)167 174 Q F1
(Destination mobility headers:)102 192 Q F0(commonly used for mobility)
167 210 Q 2.5(,n)-.65 G(dproxy does not support these headers.)-2.5 E F1
(Routing header:)102 228 Q F0(commonly used for mobility or source rout\
ing, ndproxy does not support these headers.)167 246 Q F1
(AH & ESP headers:)102 264 Q F0 .015(securing the neighbor disco)167 282
R -.15(ve)-.15 G .016(ry process is not done with IPsec b).15 F .016
(ut with the SEcure Neighbor)-.2 F(Disco)167 294 Q -.15(ve)-.15 G 1.055
(ry protocol \(RFC-3971\). ndproxy can not support RFC-3971, since prox\
ifying ND).15 F(pack)167 306 Q
(ets is some kind of a spoo\214ng process.)-.1 E F1 1.666
(EXCEPTION ADDRESSES)72 330 R F0(Some neigbhor solicitations sent on th\
e PE/CPE interconnect must not be proxy\214ed:)102 342 Q 10
(1. solicitations)102 360 R(sent by other nodes than the PE;)2.5 E 10
(2. solicitations)102 378 R .411(sent by the PE to reach an)2.911 F
2.911(yo)-.15 G .411(n-link address \(the address \214lled in the tar)
-2.911 F .412(get address option\))-.18 F -.25(ow)122 390 S .015(ned by\
nodes attached to the PE/CPE interconnect, for instance to reach the C\
PE, the ndproxy host or).25 F(other hosts attached to this layer)122 402
Q(-2 interconnect.)-.2 E 1.612(The tar)102 420 R 1.612(get addresses \
\214lled in those solicitations that ndproxy must ignore ha)-.18 F 1.913
-.15(ve t)-.2 H 4.113(ob).15 G 4.113(ed)-4.113 G 1.613
(eclared via sysctl)-4.113 F(\(net.inet6.ndproxyconf_e)102 432 Q 1.338(\
xception_ipv6_addresses\). This list must contain the link-local and gl\
obal-scoped)-.15 F .432(unicast and an)102 444 R .432
(ycast addresses of the CPE, of the ndproxy host and of an)-.15 F 2.932
(yo)-.15 G .432(ther host than the PE attached to)-2.932 F
(the PE/CPE interconnect.)102 456 Q -.15(Fa)102 474 S .241(iling to mai\
ntain this list correctly could lead to badly redirect some pack).15 F
.241(ets to the CPE, b)-.1 F .241(ut with a simple)-.2 F(netw)102 486 Q
(ork design, this list can be let empty)-.1 E(.)-.65 E F1 1.666
(UPLINK R)72 510 R 1.666(OUTER ADDRESSES)-.3 F F0 2.169
(ndproxy only handles pack)102 522 R 2.169
(ets originating from one of the PE addresses.)-.1 F 2.17
(During its address resolution)7.17 F 1.327(process, dif)102 534 R 1.327
(ferent source addresses can be choosen by the PE, depending on the pac\
k)-.25 F 1.326(et that triggered the)-.1 F
(process or depending on other e)102 546 Q(xternal constraints.)-.15 E
(Here are some cases when it can occur:)102 564 Q 10(1. The)102 582 R
(PE may ha)2.5 E .3 -.15(ve m)-.2 H(ultiple interf).15 E(aces;)-.1 E 10
(2. There)102 600 R(may be multiple PE;)2.5 E 10(3. Man)102 618 R 3.32
(yr)-.15 G .82(outers choose to use a link-local address when sending n\
eighbor solicitations, b)-3.32 F .82(ut when an ad-)-.2 F .055
(ministrator of such a router)122 630 R 2.555(,a)-.4 G .055(lso ha)
-2.555 F .054
(ving a global address assigned on the same link, tries to send pack)-.2
F(ets)-.1 E .645(\(echo request, for instance\) to an on-link destinati\
on global address, the source address of the echo re-)122 642 R .82
(quest pack)122 654 R .819(et prompting the solicitation may be global-\
scoped according to the selection algorithm de-)-.1 F .623(scribed in R\
FC-6724. Therefore, the source address of the Neighbor Solicitation pac\
k)122 666 R .623(et should also be)-.1 F
(selected in the same global scope, according to RFC-4861;)122 678 Q
(FreeBSD 13.0)72 750 Q(May 27, 2017)148.865 E(3)201.085 E 0 Cg EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(NDPR)72 48 Q -.4(OX)-.4 G 1.666(Y\().4 G 99.869
(4\) FreeBSD)-1.666 F -.25(Ke)2.5 G(rnel Interf).25 E(aces Manual)-.1 E
(NDPR)102.369 E -.4(OX)-.4 G 1.666(Y\().4 G(4\))-1.666 E 10(4. When)102
96 R .422(the uplink router does not yet kno)2.922 F 2.922(wi)-.25 G
.422(ts o)-2.922 F .422
(wn address, it must use the unspeci\214ed address, accord-)-.25 F
(ing to RFC-4861.)122 108 Q .009
(So, it can not be assumed that an uplink router will al)102 126 R -.1
(wa)-.1 G .01(ys use the same IPv6 address to send neighbor solici-).1 F
.326(tations. Each assigned address that can be used as a source addres\
s by the PE on its do)102 138 R .326(wnlink interf)-.25 F .326(ace must)
-.1 F(then be declared to ndproxy via sysctl \(net.inet6.ndproxyconf_up\
link_ipv6_addresses\).)102 150 Q(ndproxy will only handle pack)102 168 Q
(ets that come from one of these addresses.)-.1 E 2.6(As)102 186 S .1
(pecial care must be tak)-2.6 F .101(en about the unsolicited address. \
It may be used by the PE, then it is part of the list)-.1 F .085(of PE \
addresses and should therefore be added to the list of PE addresses. Si\
nce this address can also be used)102 198 R .405(by other nodes during \
some initialization steps \(for instance when hot-sw)102 210 R .405
(apping an Ethernet board\), another)-.1 F .669(node could use this add\
ress to send neighbor solicitations that ndproxy should not handle, bec\
ause the)102 222 R 3.168(ya)-.15 G(re)-3.168 E .388
(not sent by the PE. In f)102 234 R .388
(act, this is not a problem because the tar)-.1 F .389
(get address option contained in a solicitation)-.18 F .733
(from this other node should be in the e)102 246 R .732
(xception list. So, adding the unsolicited address in the PE addresses)
-.15 F(list should be safe.)102 258 Q -.15(Fa)102 276 S .793(iling to m\
aintain this list correctly could lead the PE not to be able to establi\
sh outbound connections to).15 F .319
(nodes on the PE/CPE interconnect, b)102 288 R .319(ut if this list con\
tains at least the PE link-local address, IPv6 connecti)-.2 F(v-)-.25 E
(ity should be correctly established between the Internet and the inter\
nal subscriber')102 300 Q 2.5(ss)-.55 G(ubnets.)-2.5 E/F1 10
/Times-Bold@0 SF(CONFIGURA)72 324 Q(TION)-.95 E F0 .592
(An IPv6 address can be an)102 336 R 3.092(yv)-.15 G .592(alid te)-3.342
F .592
(xtual representation according to RFC-4291 and RFC-5952 \(this means)
-.15 F .792(that transitional te)102 348 R .792
(xtual representation is fully supported\).)-.15 F .791
(Other representations will trigger an error e)5.792 F -.15(ve)-.25 G
(nt.).15 E(IPv6 address lists must be formated as series of IPv6 adress\
es separated by semi-colons.)102 360 Q(The sysctl utility or)102 378 Q
/F2 10/Courier@0 SF(rc.conf)2.5 E F0
(\(5\) are used to set ndproxy con\214guration parameters.)A .364
(If you ha)102 396 R .664 -.15(ve i)-.2 H .365
(nstalled ndproxy as a port or as a package, set the follo).15 F .365
(wing v)-.25 F .365(ariables in)-.25 F F2(rc.conf)2.865 E F0 .365
(\(5\) and load)B(the module at boot time by placing the follo)102 408 Q
(wing line in)-.25 E F2(rc.conf)2.5 E F0(\(5\):)A F2
(ndproxy_enable="YES")132 426 Q F0 .105(On the contrary)102 444 R 2.605
(,i)-.65 G 2.605(fy)-2.605 G .105(ou ha)-2.605 F .405 -.15(ve N)-.2 H
.905 -.4(OT i).15 H .105(nstalled ndproxy as a port or as a package b).4
F .105(ut as a standalone distrib)-.2 F(ution,)-.2 E .314
(place the sysctl entries in)102 456 R F2(sysctl.conf)2.814 E F0 .314
(\(5\) and load the module at boot time by placing the follo)B .315
(wing line)-.25 F(in)102 468 Q F2(loader.conf)2.5 E F0(\(5\):)A F2
(ndproxy_load="YES")132 486 Q F1(net.inet6.ndpr)102 504 Q
(oxyconf_uplink_interface sysctl entry or ndpr)-.18 E
(oxy_uplink_interface r)-.18 E(c.conf v)-.18 E(ariable:)-.1 E F0 .787
(Name of the interf)167 522 R .786
(ace talking to the broadcast multi-access netw)-.1 F .786
(ork connecting the PE and)-.1 F(CPE routers.)167 534 Q
(Example: "vlan2".)167 552 Q F1(net.inet6.ndpr)102 570 Q(oxyconf_do)-.18
E(wnlink_mac_addr)-.1 E .04(ess sysctl entry or ndpr)-.18 F(oxy_do)-.18
E(wnlink_mac_addr)-.1 E .04(ess r)-.18 F(c.conf)-.18 E -.1(va)167 582 S
(riable:).1 E F0(MA)167 600 Q 2.538(Ca)-.4 G .037
(ddress of the CPE router)-2.538 F 2.537(.N)-.55 G .037(eighbor adv)
-2.537 F .037(ertisements sent by ndproxy will be \214lled with)-.15 F
.374(this address in the tar)167 612 R .375
(get link-layer address option. The format of this parameter is the he)
-.18 F(xa-)-.15 E(decimal representation made of 6 groups of 2 he)167
624 Q(xadecimal numbers separated by colons.)-.15 E
(Example: "00:0C:29:B6:43:D5".)167 642 Q F1(net.inet6.ndpr)102 660 Q
(oxyconf_exception_ipv6_addr)-.18 E 3.293(esses sysctl entry or ndpr)
-.18 F(oxy_exception_ipv6_addr)-.18 E(esses)-.18 E -.18(rc)167 672 S
(.conf v).18 E(ariable:)-.1 E F0 -.8(Ta)167 690 S -.18(rg).8 G .188
(et addresses not to proxy).18 F 2.689(.I)-.65 G 2.689(nas)-2.689 G .189
(imple netw)-2.689 F .189(ork design, this list can be let empty)-.1 F
2.689(.S)-.65 G .189(ee sec-)-2.689 F(tion "EXCEPTION ADDRESSES".)167
702 Q(FreeBSD 13.0)72 750 Q(May 27, 2017)148.865 E(4)201.085 E 0 Cg EP
%%Page: 5 5
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF(NDPR)72 48 Q -.4(OX)-.4 G 1.666(Y\().4 G 99.869
(4\) FreeBSD)-1.666 F -.25(Ke)2.5 G(rnel Interf).25 E(aces Manual)-.1 E
(NDPR)102.369 E -.4(OX)-.4 G 1.666(Y\().4 G(4\))-1.666 E
(Example: "fe80::20d:edf)167 96 Q(f:fe7b:68b7;fe80::222:15f)-.25 E
(f:fe3b:59a".)-.25 E/F1 10/Times-Bold@0 SF(net.inet6.ndpr)102 114 Q
(oxyconf_uplink_ipv6_addr)-.18 E 1.328(esses sysctl entry or ndpr)-.18 F
(oxy_uplink_ipv6_addr)-.18 E 1.328(esses r)-.18 F(c.conf)-.18 E -.1(va)
167 126 S(riable:).1 E F0 .702(Addresses of the PE. This list should at\
least contain the PE link-local address. See section)167 144 R
("UPLINK R)167 156 Q(OUTER ADDRESSES".)-.4 E(Example: "fe80::207:cbf)167
174 Q(f:fe4b:2d20;2a01:e35:8aae:bc60::1;::".)-.25 E F1(net.inet6.ndpr)
102 192 Q(oxycount sysctl entry:)-.18 E F0(Number of adv)167 210 Q
(ertisements sent.)-.15 E F1 1.666(SEE ALSO)72 234 R/F2 10/Courier@0 SF
(inet6)102 246 Q F0(\(4\),)A F2(rc.conf)2.5 E F0(\(5\),)A F2
(loader.conf)2.5 E F0(\(5\),)A F2(sysctl.conf)2.5 E F0(\(5\),)A F2
(sysctl)2.5 E F0(\(8\),)A F2(loader)2.5 E F0(\(8\),)A F2(pfil)2.5 E F0
(\(9\))A F1 -.5(AU)72 270 S(THOR).5 E F0(Ale)102 282 Q(xandre Fen)-.15 E
(yo <ale)-.15 E(x@fen)-.15 E(yo.net> - www)-.15 E(.fen)-.65 E(yo.net)
-.15 E(FreeBSD 13.0)72 750 Q(May 27, 2017)148.865 E(5)201.085 E 0 Cg EP
%%Trailer
end
%%EOF