Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: nsp: ipv6

Workaround for problems with RA (was: Re: Unwanted RA on LAN)

 

 

nsp ipv6 RSS feed   Index | Next | Previous | View Threaded


leen at consolejunkie

Mar 11, 2011, 2:14 AM

Post #1 of 8 (1138 views)
Permalink
Workaround for problems with RA (was: Re: Unwanted RA on LAN)

Hi folks,

Sorry for hijacking this thread.

I haven't given this a lot of thought and checked the protocols or
operating system support so sorry if it is a stupid comment.

Is it possible to workaround these problems with DHCP on IPv4 by adding
2 routes like: 128.0.0.0/1 and 0.0.0.0/1
And send 2 routes like 0::0/1 and 8000::0/1 along with RA or DHCPv6 ?

Wouldn't that mean you have the more specific prefix when someone
announces 0.0.0.0/0 or 0::0/0 by accident ?

I don't know if these protocols allow this or which operating systems
support this but couldn't this workaround help prevent disruption ?

I did see an option static-routes in dhcp-options (5) and list of
prefixes in radvd.conf (5)

Someone probably already tried this with IPv4 I'm sure.

Have a nice day,
Leen.


martin at millnert

Mar 11, 2011, 5:30 AM

Post #2 of 8 (1069 views)
Permalink
Re: Workaround for problems with RA (was: Re: Unwanted RA on LAN) [In reply to]

Leen,

http://tools.ietf.org/html/rfc4191 .

At this point in time, I think 2000::/3 would be a good pick for your
workaround attempt.

Cheers,
Martin

On Fri, 2011-03-11 at 11:14 +0100, Leen Besselink wrote:
> Hi folks,
>
> Sorry for hijacking this thread.
>
> I haven't given this a lot of thought and checked the protocols or
> operating system support so sorry if it is a stupid comment.
>
> Is it possible to workaround these problems with DHCP on IPv4 by adding
> 2 routes like: 128.0.0.0/1 and 0.0.0.0/1
> And send 2 routes like 0::0/1 and 8000::0/1 along with RA or DHCPv6 ?
>
> Wouldn't that mean you have the more specific prefix when someone
> announces 0.0.0.0/0 or 0::0/0 by accident ?
>
> I don't know if these protocols allow this or which operating systems
> support this but couldn't this workaround help prevent disruption ?
>
> I did see an option static-routes in dhcp-options (5) and list of
> prefixes in radvd.conf (5)
>
> Someone probably already tried this with IPv4 I'm sure.
>
> Have a nice day,
> Leen.
>


dr at cluenet

Mar 11, 2011, 7:29 AM

Post #3 of 8 (1083 views)
Permalink
Re: Workaround for problems with RA (was: Re: Unwanted RA on LAN) [In reply to]

On Fri, Mar 11, 2011 at 08:30:38AM -0500, Martin Millnert wrote:
> http://tools.ietf.org/html/rfc4191 .

Which OS' do support that?

Best regards,
Daniel

--
CLUE-RIPE -- Jabber: dr [at] cluenet -- dr [at] IRCne -- PGP: 0xA85C8AA0


martin at millnert

Mar 11, 2011, 9:20 AM

Post #4 of 8 (1074 views)
Permalink
Re: Workaround for problems with RA (was: Re: Unwanted RA on LAN) [In reply to]

On Fri, 2011-03-11 at 16:29 +0100, Daniel Roesen wrote:
> On Fri, Mar 11, 2011 at 08:30:38AM -0500, Martin Millnert wrote:
> > http://tools.ietf.org/html/rfc4191 .
>
> Which OS' do support that?
>

At least: Windows & IOS (1), Linux (2,3,4).

Regards,
Martin

1,
http://ltlnetworker.blogter.hu/411354/ipv6_hosts_default_router_selection
2,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d
3,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=270972554c91acd29412d8b6a10e606041012106
4,
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=70ceb4f53929f73746be72f73707cd9f8753e2fc


sesse at google

Mar 16, 2011, 3:38 AM

Post #5 of 8 (1037 views)
Permalink
Re: Workaround for problems with RA (was: Re: Unwanted RA on LAN) [In reply to]

On Fri, Mar 11, 2011 at 12:20:11PM -0500, Martin Millnert wrote:
>>> http://tools.ietf.org/html/rfc4191 .
>> Which OS' do support that?
> At least: Windows & IOS (1), Linux (2,3,4).

Unfortunately RFC4191 router preference isn't really all that useful; it only
controls nexthop selection, not source address selection. In other words, if
you have an RA with a bogus prefix on your network, your clients will still
happily try to send packets from that prefix, even if you have a good RA with
high priority.

I don't think Linux supports the other half of RFC4191 (more-specific routes
in RA).

/* Steinar */
--
Software Engineer, Google Switzerland


dr at cluenet

Mar 16, 2011, 4:11 AM

Post #6 of 8 (1037 views)
Permalink
Re: Workaround for problems with RA (was: Re: Unwanted RA on LAN) [In reply to]

On Wed, Mar 16, 2011 at 11:38:40AM +0100, Steinar H. Gunderson wrote:
> I don't think Linux supports the other half of RFC4191 (more-specific routes
> in RA).

A cursory glance at
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=net/ipv6/route.c;h=0f30ee3d94eacd3010fbe40ebd442412675f2de3;hp=c797b9bbb7d1aedb32d97453a680f6d55a08a1ce;hb=70ceb4f53929f73746be72f73707cd9f8753e2fc;hpb=52e1635631b342803aecaf81a362c1464e3da2e5
suggests it does.

Best regards,
Daniel

--
CLUE-RIPE -- Jabber: dr [at] cluenet -- dr [at] IRCne -- PGP: 0xA85C8AA0


leen at consolejunkie

Mar 16, 2011, 4:26 AM

Post #7 of 8 (1031 views)
Permalink
Re: Workaround for problems with RA [In reply to]

On 03/11/2011 06:20 PM, Martin Millnert wrote:
> On Fri, 2011-03-11 at 16:29 +0100, Daniel Roesen wrote:
>> On Fri, Mar 11, 2011 at 08:30:38AM -0500, Martin Millnert wrote:
>>> http://tools.ietf.org/html/rfc4191 .
>> Which OS' do support that?
>>
> At least: Windows & IOS (1), Linux (2,3,4).
>
> Regards,
> Martin
>
> 1,
> http://ltlnetworker.blogter.hu/411354/ipv6_hosts_default_router_selection
> 2,
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ebacaaa0fdf4402cdf4c8e569f54af36b6f0aa2d
> 3,
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=270972554c91acd29412d8b6a10e606041012106
> 4,
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=70ceb4f53929f73746be72f73707cd9f8753e2fc
>

Thanks Martin,

Didn't have a lot of time to check/test much.

But atleast on Ubuntu 10.10 (Linux) it did NOT work, because it is not
enabled in the kernel by default.

On Debian 6.0 (Linux) it is enabled by default but didn't have an
installation ready to test yet.

Ubuntu does have a bugreport about it, but without much result:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/447905

Haven't checked anything else.

Have a nice day,
Leen.


jkirby at datawareservices

Apr 11, 2011, 11:41 AM

Post #8 of 8 (863 views)
Permalink
RE: Manual Configuration of Interface ID [In reply to]

Sorry for such a late response to this thread but the posts have been puzzling me for some time. After much unfruitful research I posted the 5 rules to Cisco's support community for input. The response was that in practice these rules (except the first one) can be ignored in nearly all situations. In the few situations where one of these rules may apply the designer/engineer should also have access to all IDs on the network and would need to knowingly create a conflict. The thread can be found at:

https://supportforums.cisco.com/message/3334900

The entire response below. Answers from Cisco's Salman Asadullah are prefaced with "++". I'd appreciate any comments on his response.

1. Do not use all 0s. (interferes with Router Anycast)

++ Correct, but there may be cases where you actually want to configure the subnet router Anycast address on a router. "ipv6 address 2001:db8::/64 anycast"

2. Do not use all 0s with one character at the end (interferes with Embedded-RP RFC 3956)

++ Not correct. "2001:db8::1" is a perfectly fine IPv6 address to use, and 'conflict' with 3956 would only be an issue if they chose to configure an embedded RP address on that /64.That's completely under control of the operator. So just pick another /64 for embedded RPs.

3. Do not use all Fs followed by 80 through FF I.e. do not use FFFF:FFFF:FFFF:FF80 through FFFF:FFFF:FFFF:FFFF (interferes with Anycast)

++ Well, possibly. There is a reserved Anycast range in the interface-id space however again the /64 has to be setup to use that, so in a normal /64 link that's not an issue. Really nothing one has to worry about either.

4. Do not use something that begins with 0000:5EFE (interferes with ISATAP RFC5214)

++ It doesn't interfere, however some implementations pretty prints 'ISATAP' addresses. Note that if they use EUI-64 identifiers, then ISATAP has a separate reservation in OUI space, so no implementation would generate this. No practical consequence if that bit string is used though, only for pretty printing.

5. The second hexadecimal character of the 64 bit Interface ID must be 0, 4, 8 or C i.e. X8XX:XXXX:XXXX:XXXX where the 8 can be replaced with 0, 4 or C (71st and 72nd bit set to 0)

++ See text from RFC4291 below. The use of u/g bits came after discussions about the 8+8/GSE proposals. I don't know if the more modern versions (ILNP) depend on this property or not. In any case for _existing_ implementations the setting of those bits does not matter. There are no implementations that interpret the interface-ids.

++ There is a combination of RFCs, see RFC429, that has the following excerpt:
"IPv6 nodes are not required to validate that interface identifiers
created with modified EUI-64 tokens with the "u" bit set to universal
are unique.
The use of the universal/local bit in the Modified EUI-64 format
identifier is to allow development of future technology that can take
advantage of interface identifiers with universal scope."
I wouldn't call these "rules" or take them too literary if I were you.

--
Jim Kirby
Director of Engineering
Dataware Services
main: 605.336.0820 x368
fax: 605.336.0228

On Dec 20, 2010, at 1:50 AM, Chad Kissinger wrote:

> Well, no other input yet, but through RFC 5375, I have compiled the following:
>
> In manually choosing a 64 bit IPV6 Interface ID, you should follow the following rules (stated in terms of hexadecimal choices):
>
> 1. Do not use all 0s. (interferes with Router Anycast)
> 2. Do not use all 0s with one character at the end (interferes with Embedded-RP RFC 3956)
> 3. Do not use all Fs followed by 80 through FF I.e. do not use FFFF:FFFF:FFFF:FF80 through FFFF:FFFF:FFFF:FFFF (interferes with Anycast)
> 4. Do not use something that begins with 0000:5EFE (interferes with ISATAP RFC5214)
> 5. The second hexadecimal character of the 64 bit Interface ID must be 0, 4, 8 or C i.e. X8XX:XXXX:XXXX:XXXX where the 8 can be replaced with 0, 4 or C (71st and 72nd bit set to 0)
>
>
> Any other input? Corrections?
>
>
>
> chad kissinger | founder-vp | onramp access, llc
> p: 512.322.9200 | f: 512.476.2878 | www.onr.com
> your internet operations | built | deployed | managed

nsp ipv6 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.