12.10.2013 Views

What is wrong with the IPv6 RA protocol ? - FEHCom

What is wrong with the IPv6 RA protocol ? - FEHCom

What is wrong with the IPv6 RA protocol ? - FEHCom

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1 2 L $ ) @ @ H :<br />

) + ) @ @ H =<br />

2.1 Linux<br />

1 2 L $ ) @ @ H B A & A ' B B B A = @ # A &<br />

) + ) @ @ H A ' = @ # A &<br />

!<br />

4<br />

E 4 E <br />

4 K J A H 5 E ? E J = J E <br />

1 2 L $ 5 K H ? A 1 2 L $ ) @ @ H : 6 = H C A J 1 2 L $ ) @ @ H B B <br />

4 5 F J E 6 O F A 5 K H ? A E = O A H ) @ @ H = <br />

!<br />

4 K J A H ) @ L A H J E I A A J<br />

1 2 L $ 5 K H ? A 1 2 ) @ @ H B A & = B B B A " & @ " $ 6 = H C A J 1 2 ) @ @ H B B <br />

4 ) 4 A = ? D = > A 6 E A 4 A J H = I 6 E A H <br />

F J E 6 O F A 5 K H ? A E = O A H ) @ @ H & " & @ " $ <br />

F J E 6 O F A ! E 2 H A B E N F J E 6 O F A # 6 7 5 E A <br />

1 2 L $ 5 K H ? A 1 2 L $ ) @ @ H B A & A ' B B B A = @ B A & 6 = H C A J 1 2 L $ ) @ @ H : <br />

4 ) 4 A = ? D = > A 6 E A 4 A J H = I 6 E A H <br />

F J E 6 O F A 5 K H ? A E = O A H ) @ @ H A ' = @ # A & <br />

F J E 6 O F A ! E 2 H A B E N F J E 6 O F A # 6 7 5 E A <br />

4 5 4 K J A H 5 E ? E J = J E 4 ) 4 K J A H ) @ L A H J E I A A J<br />

!<br />

1 2 L $ ) @ @ H B A & = B B B A " & @ " $<br />

) + ) @ @ H & " & @ " $<br />

) 4 K J A H<br />

K J E ? = I J<br />

Figure 3: Multiple Router Advert<strong>is</strong>ements on a link segment<br />

In order to configure <strong>the</strong> <strong>IPv6</strong> settings on a<br />

Linux host, one may apply <strong>the</strong> following settings:<br />

The standard ifconfig command.<br />

The Linux-specific ip command.<br />

The kernel configuration command sysctl.<br />

The /proc file system, in particular<br />

/proc/sys/net/ipv6/.<br />

The Linux kernel imposes a silent concurrency<br />

limit on <strong>the</strong> received <strong>RA</strong> information.<br />

Only a limited number of Prefixes<br />

are accepted. The <strong>RA</strong> option DNS Recursive<br />

Resolvers however <strong>is</strong> ignored.<br />

Nei<strong>the</strong>r <strong>the</strong> ifconfig nor <strong>the</strong> ip command<br />

can be used to configure <strong>the</strong> processing of ND<br />

or <strong>RA</strong> messages; ra<strong>the</strong>r th<strong>is</strong> <strong>is</strong> subject of <strong>the</strong><br />

4<br />

) @ A<br />

K J E ? = I J<br />

<br />

7 E ? = I J<br />

sysctl kernel configurations. Linux accepts<br />

by construction <strong>RA</strong> messages and acts upon<br />

those accordingly.<br />

Linux provides <strong>the</strong> following settings [l<strong>is</strong>. 1]:<br />

net . ipv6 . c o n f . a l l . accept_ra_defrtr=1<br />

net . ipv6 . c o n f . a l l . accept_ra_pinfo=1<br />

net . ipv6 . c o n f . d e f a u l t . accept_ra_defrtr=1<br />

net . ipv6 . c o n f . d e f a u l t . accept_ra_pinfo=1<br />

net . ipv6 . c o n f . l o . accept_ra_defrtr=1<br />

net . ipv6 . c o n f . l o . accept_ra_pinfo=1<br />

net . ipv6 . c o n f . eth0 . accept_ra_defrtr=1<br />

net . ipv6 . c o n f . eth0 . accept_ra_pinfo=1<br />

net . ipv6 . c o n f . s i t 0 . accept_ra_defrtr=1<br />

net . ipv6 . c o n f . s i t 0 . accept_ra_pinfo=1<br />

L<strong>is</strong>ting 1: Linux sysctl default settings<br />

We realize that <strong>the</strong> <strong>RA</strong> options Prefix and<br />

Routing can be fine-tuned specifically. It <strong>is</strong><br />

remarkable, that <strong>the</strong> ’all’ and ’default’ parameter<br />

settings have no influence on a specific<br />

interface. Fur<strong>the</strong>r, it <strong>is</strong> doubtful to include

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!