One document matched: draft-axu-addr-sel-00.xml
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>
<?xml-stylesheet type='text/xsl' href='http://xml.resource.org/authoring/rfc2629.xslt' ?>
<!-- $Id: draft-axu-addr-sel.xml,v 1.16 2009-07-14 11:15:34 ams Exp $ -->
<!-- For a complete list and description of processing instructions (PIs),
please see http://xml.resource.org/authoring/README.html. -->
<?rfc strict="yes" ?>
<?rfc toc="yes" tocdepth="4"?>
<?rfc symrefs="yes" sortrefs="yes" ?>
<?rfc compact="yes" subcompact="no" ?>
<rfc category="exp" docName="draft-axu-addr-sel-00"
ipr="pre5378Trust200902"
updates="3484">
<front>
<title abbrev="Routing Table Based Address Selection">
Address Selection Using Source Address Specific Routing Tables
</title>
<author fullname="Aleksi Suhonen" initials="A.M.S."
surname="Suhonen">
<organization>Tampere University of Technology, Finland</organization>
<address>
<postal>
<street>Korkeakoulunkatu 1</street>
<code>33720</code><city>Tampere</city>
<country>FI</country>
</postal>
<phone>+358 45 670 2048</phone>
<email>i-d-2009@ssd.axu.tm</email>
</address>
</author>
<date/>
<area>Internet</area>
<workgroup>none yet</workgroup>
<keyword>address selection</keyword>
<keyword>autoconfiguration</keyword>
<keyword>automatic</keyword>
<keyword>configuration</keyword>
<abstract>
<t>RFC 3484 defines two algorithms for default
source and destination address selection, but it
has several shortcomings as specified in RFC 5220.
RFC 5221 lists some requirements for any attempts
to update the original RFC.
This document specifies an alternate
address selection algorithm to fulfill those requirements.
</t>
</abstract>
</front>
<middle>
<section title="Introduction">
<t><xref target="RFC3484"/>
defines default address selection rules for IPv6
and IPv4.
Several shortcomings in the original address selection
rules have been identified in <xref target="RFC5220"/>
and its sister document <xref target="RFC5221"/>
specifies some requirements for any attempts to update the
original address selection algorithm.
</t>
<t>A further concern comes from multipath protocols.
When <xref target="RFC2960">SCTP</xref>, for example, finds that its
active source destination address pair is no longer
functional, it will need to start searching for a new one.
</t>
<t>The communicating hosts may both have a dozen addresses so it
might take unacceptably long to iterate through all combinations
before finding a functional pair. On the other hand, many
of the invalid combinations could be filtered out using this
algorithm, making the process noticeably faster.
</t>
<section title="Requirements Language">
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <xref
target="RFC2119">RFC 2119</xref>.</t>
</section>
</section>
<section anchor="filter" title="Filter Algorithm">
<t>
When a host has several addresses, they SHOULD each
be associated with their own routing tables.
When selecting source and destination
addresses, the first stage is to filter out combinations
where the routing table attached with
the source (local) address
does not have a valid route for
the destination (remote) address.
In other words, if a destination address can't be found
from the routing table for a given source address
the system MUST discard that destination address for that
source address.
</t>
<t>If none of the possible destination addresses can be
found in the routing table for a source address, then
that source address MUST be discarded for those
destination addresses.
</t>
<t>One side effect of this filter algorithm is that it doesn't
need to know anything about scopes. The routing tables
associated with source address candidates will determine
what destination addresses they are usable with. This
effect is demonstrated below and later in this document.
</t>
<section title="Link Local Scope">
<t>The routing table associated with a link local address
(e.g. 169.254.123.45%le0)
SHOULD only have one external unicast route, the link local
network for that link
(e.g. 169.254.0.0%le0 /16).
In addition, if the host supports multicast on this link,
a route for the local scope multicast space SHOULD also
appear in this table.
</t>
<t>This means that the link local address is usable only
with other link local addresses on the same link.
</t>
<t>The localhost addresses and prefixes
(127.0.0.1/8 and ::1/128)
SHOULD be treated like link local scope
in this algorithm.
</t>
</section>
<section title="Autoconfiguration for Global Scope">
<t>When addresses are assigned to interfaces dynamically
through stateless or stateful autoconfiguration
the process usually also yields a default route.
That default route SHOULD be placed only into
the routing table associated with that address.
In addition, if the host and network support multicast,
a route for the global scope multicast space SHOULD also
appear in this table.
</t>
<t>This usually means that the next hop of that
default route will only be useable with the source
address learned from that default router.
</t>
<t>Some autoconfiguration methods
(see <xref target="RFC3442"/> and <xref target="RFC4191"/>)
can be used to communicate
other routes in addition to the default route.
Those routes SHOULD likewise be added only into the
routing table associated with the address configured
using that same interchange.
</t>
<t>Examples of autoconfiguration methods include
RARP, DHCPv4, ICMPv6 RA, DHCPv6, Teredo, 6to4,
ISATAP, PPP, mDNS.
</t>
</section>
<section title="Site Local Scope">
<t>The routing tables for site local addresses
SHOULD have routes for site local address space.
They SHOULD NOT have the default route, so that they
would be automatically eliminated when selecting
address pairs for site external communication.
</t>
<t>However, if the site edge automatically translates
site local addresses to global addresses, the routing
tables associated with site local scope addresses MAY
have the default route.
</t>
</section>
<section title="Additional Filter Constraints"
anchor="additional filter constraints">
<t>The address selection algorithm MAY also be given
additional filter constraints,
such as "use only link#3" or "do not use next-hop 10.0.0.1".
<xref target="RFC5014"/> specifies an interface that
does something very similar.
</t>
<t>Work is going on in the
<xref target="I-D.blanchet-mif-problem-statement">MIF-wg</xref>
to tie address selection and next-hop selection with
DNS resolver selection and other similar resources.
That is, when using the DNS resolvers received from
one DHCP server, the terminal should also always use
the default route received from that DHCP server.
</t>
<t>This algorithm supports those efforts by making
it possible to restrict a process to one routing
table for both address resolution and selection.
</t>
</section>
<section title="Forwarding">
<t>If a host is configured to forward packets between networks,
it SHOULD combine the routing tables for the networks
in question into one. Link local scope tables MUST NOT
be combined.
</t>
<t>If the host has multiple addresses from different
global scope prefixes then system administration MAY
specify which addresses are combined to form
routing tables.
The resulting functionality resembles the VRF functionality
found in some modern routers.
</t>
<t>One purpose behind this algorithm is to move
source routing burden from the network to the host.
So if a router wants to advertise two (or more) prefixes
on the subnet, but to keep their routing separate, it
should use different link local and link layer addresses
when advertising them.
It can then choose the correct VRF to forward a packet
depending on which link layer address it received it on.
</t>
</section>
<section title="Dynamic Routing Protocols">
<t>Hosts don't usually run dynamic routing protocols,
but since they sometimes do, this subsection is
included for completeness.
</t>
<t>Dynamic routing protocol instances are usually
bound to links or interfaces. With this algorithm
network administrators MAY bind routing protocol
instances to specific addresses or prefixes on
a link and the routing tables associated with them.
The routing protocol instance MUST update
only the routing table it is associated with.
</t>
<t>A reasonable default setting is that all addresses
that are not link local are associated with the routing
protocol instance. Thus, they will share a routing table.
</t>
<t>If the network administration wants to separate
traffic belonging to different upstream operator prefixes,
it may wish to run separate routing protocol instances
throughout the network for different upstream prefixes.
</t>
</section>
</section>
<section title="Precedences and Labels">
<t>TBD
</t>
<t>My original thought was to follow the metrics systems
of the original RFC here, since candidate filtering and
proper next hop selection were my primary concerns.
However, it might be a good idea to just rethink the issue
one more time.
</t>
<t>Perhaps it might be a good idea to associate preferences
with individual routes and/or whole routing tables.
In that case, the routing table lookup performed in the
filtering phase would also yield the precedence of the
address in addition to next-hop information.
</t>
<t>The label abstraction used by the original RFC
loosely corresponds
to the routing table abstraction in this algorithm.
That is, different scopes had different labels in
<xref target="RFC3484"/>
but in this algorithm different scopes SHOULD
have their own routing tables.
</t>
<t>The rest of this section outlines one approach to
sorting addresses by preference.
</t>
<section title="Route and Table Preferences">
<t>Each routing table has a default precedence,
meaning all routes added to that table will have
that precedence in the absence of a specific precedence.
</t>
<t>This precedence MUST be used to sort the source
and destination address pairs according to preference.
In effect, the precedence is for the address pair,
not for a single address.
</t>
<t>When two routes have the same precedence, their
prefix lengths MUST be compared and the longer prefix
MUST be considered more preferable.
</t>
<t>The algorithm normally performs both source and
destination address selection simultaneously and
efficiently.
</t>
<t>In order to perform source address selection,
only one destination address SHOULD be presented to
the algorithm, which will then look for the address
in all tables and sort the source addresses where it
was found according to the precedences.
</t>
<t>In order to perform destination address selection,
only one source address SHOULD be presented to
the algorithm along with the set of destination addresses.
The algorithm will then look for all the given
destination addresses in the table associated with the
source address and sort the results according to the precedences.
</t>
<section title="Local and Link Local Scope Routing Tables">
<t>The default precedence for all local and link local
scope route entries SHOULD be 50.
</t>
</section>
<section title="Global Scope Routing Tables">
<t>The default precedence for all global
scope route entries SHOULD be 40.
</t>
<t>System or network administrators or
operating systems MAY
alter this default precedence to account for
things like link speeds.
Such environmental precedence modifiers SHOULD NOT
alter the precedence by more than +-4.
</t>
<t>The system MAY automatically add depreference
routes to global scope routing tables. These
routes will cover address space reserved for
transition techniques, such as 2002::/16 (FIXME: add xrefs)
and 2001::/32. They SHOULD have the same next-hop
information as the default route in the same table,
but their precedence SHOULD be 15.
</t>
<t>The system MAY automatically add blackhole
routes to global scope routing tables for illegal
address combinations. An example of such an
illegal combination is IPv6 prefix 2002:a00::/24,
which corresponds to 6to4 addresses generated
from IPv4 addresses inside 10.0.0.0/8 which can't
be used on the Internet.
</t>
</section>
<section title="Transition Technique Routing Tables">
<t>The default precedence for all route entries for
source addresses generated through transition techniques
SHOULD be 30.
</t>
<t>The transition table SHOULD NOT of course have a
depreference route for its own address space.
Instead, the precedence of the route for its own
address space SHOULD be 35.
</t>
<t>Individual transition techniques or the system
administrator MAY specify different default precedences
to establish relative preferences between transition
techniques or the proxies/servers associated with them.
</t>
</section>
<section title="IPv4 Compatible Routing Tables">
<t>The default precedence for all
IPv4 compatible global scope route entries SHOULD be 20.
</t>
</section>
<section title="Reachability Information">
<t>If the next-hop information associated with a
route in any table has been found unreachable or
the interface link is down the precedence of that route
MAY be temporarily dropped to zero until it works again.
</t>
</section>
</section>
</section>
<section title="RFC3484 Rule Comparison">
<t>The algorithm defined by <xref target="RFC3484"/> uses a
set of rules to perform its function. Those rules are
compared to this algorithm in this section.
</t>
<t>FIXME: write this section</t>
</section>
<section title="RFC5220 Concerns" anchor="effectiveness">
<t><xref target="RFC5220"/> presents several problems and
issues with the original default address selection algorithm.
The following subsections address these issues.
</t>
<section title="Multiple Routers on a Single Interface">
<t>This problem was one of the starting points for
the development of this algorithm. This algorithm
solves the problem by having separate routing tables
for addresses learned from different routers.
</t>
</section>
<section title="Ingress Filtering Problem">
<t>This problem was one of the starting points for
the development of this algorithm. This algorithm
solves the problem by having separate routing tables
for different addresses.
</t>
</section>
<section title="Half-Closed Network Problem">
<t>This problem was one of the starting points for
the development of this algorithm. This algorithm
solves the problem by having separate routing tables
for different addresses.
</t>
<t>System or network administration MUST specify
allowed or disallowed connections by modifying
the routing tables.
</t>
</section>
<section anchor="ula" title="Combined Use of Global and ULA">
<t>This algorithm
solves the problem by having separate routing tables
for different addresses.
Scope of address usage is controlled by the routing tables.
</t>
<t>Implementations MAY recognize ULA addresses
and other site local addresses
as scopes of their own, and treat them properly
when autogenerating the routing tables.
</t>
<t>System or network administration MUST specify
allowed or disallowed address pair selection by modifying
the routing tables.
</t>
</section>
<section title="Site Renumbering">
<t>When the autoconfiguration client discovers that a
prefix or address has been deprecated, it SHOULD drop
the route precedences for all the routes associated
with the deprecated resource to zero.
</t>
<t>When such deprecated routing information finally
times out and is no longer in use, the routing table
associated with it MAY be removed entirely.
</t>
</section>
<section title="Multicast Source Address Selection">
<t>TBD
</t>
</section>
<section title="Temporary Address Selection">
<t>Conceivably temporary addresses could be associated
with routing tables of their own, instead of sharing
routing tables with the addresses used to generate
the temporary addresses.</t>
<t>The precedences for the table for a temporary address
would be lower than that of a similar but more permanent
address. Clients wishing to make use of the temporary
address would add appropriate constraints to their address
selection.
</t>
<t>Alternatively, if the system or network administration
wishes that the host use a temporary address with some
certain destination network, a route to that network could
be added to the routing table for the temporary address with
a higher than normal precedence.
</t>
</section>
<section title="IPv4 or IPv6 Prioritization">
<t>This is a configuration issue with the routing tables.</t>
<t>Connection pooling, as specified in
<xref target="connection pooling"/>,
could mitigate this problem.
</t>
</section>
<section title="ULA and IPv4 Dual-Stack Environment">
<t>This special case is easily handled by omitting the
default route for the routing table for ULA addresses.
</t>
</section>
<section title="ULA or Global Prioritization">
<t>Already covered in <xref target="ula"/>.</t>
</section>
</section>
<section title="RFC5221 Requirements">
<t><xref target="RFC5221"/> defines a set of requirements
for the address selection algorithm. The subsection headings
used in that document
have been copied here and an explanation of how this
algorithm deals with each issue is given.
</t>
<section title="Effectiveness">
<t>The effectiveness of the proposed solution to solve
problems presented in <xref target="RFC5220"/>
is covered by <xref target="effectiveness"/>.
</t>
</section>
<section title="Timing">
<t>This algorithm relies on other methods and protocols
to submit address selection configuration and information
and to place it in the routing table.
</t>
<t>Once the routing table is updated, the address selection
algorithm will start making decisions based on the new
information.
</t>
</section>
<section title="Dynamic Behavior Update">
<t>From the point of view of this algorithm,
this problem is a feature of autoconfiguration methods.
If the autoconfiguration methods rewrite routing tables,
the address selection algorithm will always use the updated
information when it's invoked.
</t>
</section>
<section title="Node-Specific Behavior">
<t>From the point of view of this algorithm,
this problem is a feature of autoconfiguration methods.
This algorithm will happily make address selection
decisions according to any input it is given.
</t>
</section>
<section title="Application-Specific Behavior">
<t>Additional filter constraints from
<xref target="additional filter constraints"/>
can be used to influence address selection
per application.
</t>
</section>
<section title="Multiple Interface">
<t>This algorithm doesn't differenciate between cases
where a host has multiple interfaces and where it has
multiple prefixes on a single interface.
If it solves a problem satisfactorily for one case,
it solves it identically for the other case as well.
</t>
</section>
<section title="Central Control">
<t>This algorithm doesn't specify new methods for
central control. It does, however, work well with other
protocols that provide methods of central control,
such as routing protocols.
</t>
</section>
<section title="Next-Hop Selection">
<t>The next-hop and interface used is a side product of
the source address specific routing table lookup, which
is performed in the filtering stage.
</t>
<t>A very pleasing feature of this algorithm is that
there can be multiple routers advertising different
prefixes on the same subnet, and this algorithm will still
select proper address pairs and next-hops to satisfy
any SAVI requirements.
</t>
</section>
<section title="Compatibility with RFC 3493">
<t>TBD
</t>
<t>On first impression, this algorithm shouldn't have any
impact on the Socket API. Then again, routing table index
could be referenced as part of some process.
</t>
<t>Solaris, for example, creates new alias-interfaces
for each new address assigned to a physical interface.
So if_index could also be used to uniquely identify a
source address specific routing table on that platform.
Other operating systems do not work the same way.
</t>
</section>
<section title="Compatibility and Interoperability with RFC 3484">
<t>When a host implementing this address selection algorithm
and a host implementing the <xref target="RFC3484"/> algorithm
interact, this algorithm will become constrained by the choices
made by the peer.
</t>
</section>
<section title="Security">
<t>Security issues raised in <xref target="RFC5221"/>
are covered by <xref target="rfc5221-sec"/>.
</t>
</section>
</section>
<section title="Implementation Issues and Other Concerns">
<t>Some popular operating systems already implement all
the features required to implement this algorithm. In
such cases all that is required is to integrate the
features together.</t>
<t>The trickiest feature required by this algorithm is
probably support for multiple routing tables.
This may also create backward compatibility issues in
some implementations. More discussion may be required here.
</t>
<section title="Low Memory and Power Concerns">
<t>The biggest worry is that creating lots of routing
tables will waste memory and power.
However, when compared to the old way
(see <xref target="rt-example"/>),
memory consumption doesn't explode. Every route that
was present in the monolithic routing table will usually
be present in only one source address specific routing table.
</t>
<t>CGAs (ADD XREF) MAY reuse the same routing table.
</t>
</section>
<section title="Differing Larger Scopes">
<t>The default route for global scope addresses is
0::0/0, but this route will also cover addresses
of potentially incompatible scopes.
For example, the basic algorithm would accept
a link local destination address with a global
scope source address.
</t>
<t>One way to prevent this would be to add blackhole
routes into the routing tables of global scope addresses
for address space belonging to incompatible scopes.
The filter algorithm SHOULD treat a blackhole route
as an indication that no valid route was found for
addresses matching the blackhole in that table.
</t>
</section>
<section anchor="connection pooling" title="Connection Pooling">
<t>When trying to establish a new connection,
the stack MAY send open packets to all
source/destination/nexthop combinations
that pass the filter stage
at a pace of three per second until it
receives a response.
</t>
<t>When the connection is established the addresses are
fixed (for non-multipathing protocols, such as TCP).
</t>
<t>If the peer also responds to the other connection attempts
after the first connection is established,
those connections MAY either be reset immediately, or the
stack MAY pool them for a short while in an incomplete
handshake state, in case some application tries to open
an identical socket.
</t>
<t>This would benefit applications such as web browsers,
mail transfer agents and database clients, which routinely
create more than one connection between the same two hosts
and the same destination port.
</t>
<t>It would also benefit dual stacked or multi-homed hosts
where some of the addresses or networks are misconfigured
and don't work.
</t>
</section>
<section title="Using Just One Table with Tags">
<t>It is possible to implement this algorithm with just
one routing table, if tags or bitfields are used to identify
which routing table each route really belongs to.
</t>
<t>However, since a less specific route in one table can
have higher precedence than a more specific route in another
table, care must be taken in the implementation.
</t>
<t>It is also possible to implement this algorithm without
interfering with the actual routing table at all, by just
mirroring all the routing table information and changes
in a policy table used by this algorithm only.
</t>
</section>
</section>
<section anchor="Acknowledgements" title="Acknowledgements">
<t>This document was written using the template derived from
an initial version written by Pekka Savola and contributed by
him to the xml2rfc project.</t>
<t>Thanks to the following people for giving feedback during
the writing of this document:
Jari Arkko,
Jan Melen,
Arifumi Matsumoto,
James Morse,
.</t>
</section>
<!-- Possibly a 'Contributors' section ... -->
<section anchor="IANA" title="IANA Considerations">
<t>This document has no IANA Actions.</t>
</section>
<section anchor="Security" title="Security Considerations">
<section anchor="rfc5220-sec" title="RFC5220 Considerations">
<t>
Section 4 of <xref target="RFC5220"/>
<!-- <xref target="RFC5220" x:fmt="of" x:sec="4"/> -->
raises a concern that a malicious
attacker can gather information about addresses connected to
the target host by triggering the address selection algorithm
on the target host by various methods and listening to what
candidates it produces.
</t>
<t>This algorithm doesn't completely remove that possibility,
but due to the filtering stage, the attacker can only gain
information on addresses routable to the address used by
the attacker.
</t>
</section>
<section anchor="rfc5221-sec" title="RFC5221 Requirements">
<t>
Section 3 of <xref target="RFC5221"/>
lists two security concerns
which are dealt with in subsections below.
</t>
<section title="List of threats introduced by new address-selection mechanism">
<t>This specification relies on existing
autoconfiguration methods and routing protocols
to distribute address selection hints.
Each of those SHOULD have their own methods to
combat leakage, hijacking and denial of service.
</t>
</section>
<section title="List of recommendations in which security mechanism should be applied">
<t>This specification relies on existing
autoconfiguration methods and routing protocols
to distribute address selection hints.
Each of those SHOULD have their own methods to
combat leakage, hijacking and denial of service.
</t>
</section>
</section>
</section>
</middle>
<!-- *****BACK MATTER ***** -->
<back>
<!-- References split into informative and normative -->
<references title="Normative References">
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.2960.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.3442.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.3484.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.4191.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.5220.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.5221.xml"?>
</references>
<references title="Informative References">
<?rfc include="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.blanchet-mif-problem-statement.xml"?>
<?rfc include="http://xml.resource.org/public/rfc/bibxml/reference.RFC.5014.xml"?>
</references>
<section title="Routing Table Example" anchor="rt-example">
<t>This section demonstrates how this algorithm affects the routing
table of a multi-homed host.
<xref target="rt-example-before"/> shows the routing table
using only methods without this algorithm.
<xref target="rt-example-after"/> shows the routing tables
produced on the same host if this algorithm is applied.
</t>
<section title="Before" anchor="rt-example-before">
<t>This routing table was initially copied from a system
running Linux 2.6.25. The addresses were then greatly
simplified to make the table fit better on the page.
</t>
<texttable anchor="before-table"
title="Routing Table w/o Modifications">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>2001::/32</c><c>::</c><c>teredo</c><c>256</c>
<c>2001:db8:1::/64</c><c>::</c><c>eth0</c><c>256</c>
<c>2001:db8:2::/64</c><c>::</c><c>eth1</c><c>256</c>
<c>fe80::/64</c><c>::</c><c>teredo</c><c>256</c>
<c>fe80::/64</c><c>::</c><c>eth0</c><c>256</c>
<c>fe80::/64</c><c>::</c><c>eth1</c><c>256</c>
<c>::/0</c><c>::</c><c>teredo</c><c>1029</c>
<c>::/0</c><c>fe80::13</c><c>eth0</c><c>1024</c>
<c>::/0</c><c>fe80::ce</c><c>eth1</c><c>1024</c>
<c>::/0</c><c>::</c><c>lo</c><c>-1 !U</c>
<c>::1/128</c><c>::</c><c>lo</c><c>0</c>
<c>2001:db8:1:0:a00:ff:fedc:a/128</c><c>::</c><c>lo</c><c>0</c>
<c>2001:db8:2:0:200:ff:fec4:b/128</c><c>::</c><c>lo</c><c>0</c>
<c>2001:0:c200:201::3/128</c><c>::</c><c>lo</c><c>0</c>
<c>fe80::a00:ff:fedc:a/128</c><c>::</c><c>lo</c><c>0</c>
<c>fe80::200:ff:fec4:b/128</c><c>::</c><c>lo</c><c>0</c>
<c>fe80::ffff:ffff:ffff/128</c><c>::</c><c>lo</c><c>0</c>
</texttable>
<t>"!U" after metric denotes unreachable or blackhole routes.</t>
</section>
<section title="After Conversion" anchor="rt-example-after">
<t>These tables contain and implement just the basic idea.
Thus the combined size of these tables is equal to
<xref target="before-table"/>.
Optional improvements are presented in the next subsection.
</t>
<texttable anchor="after-table-loopback"
title="Routing Table for ::1">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>::/0</c><c>::</c><c>lo</c><c>-1 !U</c>
<c>::1/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
<texttable anchor="after-table-teredo"
title="Routing Table for 2001:0:c200:201::3%teredo">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>2001::/32</c><c>::</c><c>teredo</c><c>35</c>
<c>::/0</c><c>::</c><c>teredo</c><c>30</c>
<c>2001:0:c200:201::3/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
<texttable anchor="after-table-teredoLL"
title="Routing Table for fe80::ffff:ffff:ffff%teredo">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>fe80::/64</c><c>::</c><c>teredo</c><c>50</c>
<c>fe80::ffff:ffff:ffff/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
<texttable anchor="after-table-eth0"
title="Routing Table for 2001:db8:1:0:a00:ff:fedc:a%eth0">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>2001:db8:1::/64</c><c>::</c><c>eth0</c><c>40</c>
<c>::/0</c><c>fe80::13</c><c>eth0</c><c>40</c>
<c>2001:db8:1:0:a00:ff:fedc:a/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
<texttable anchor="after-table-eth0LL"
title="Routing Table for fe80::a00:ff:fedc:a%eth0">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>fe80::/64</c><c>::</c><c>eth0</c><c>50</c>
<c>fe80::a00:ff:fedc:a/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
<texttable anchor="after-table-eth1"
title="Routing Table for 2001:db8:2:0:200:ff:fec4:b%eth1">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>2001:db8:2::/64</c><c>::</c><c>eth1</c><c>40</c>
<c>2001:db8:2:0:200:ff:fec4:b/128</c><c>::</c><c>lo</c><c>50</c>
<c>::/0</c><c>fe80::ce</c><c>eth1</c><c>40</c>
</texttable>
<texttable anchor="after-table-eth1LL"
title="Routing Table for fe80::200:ff:fec4:b%eth1">
<ttcol>Network</ttcol><ttcol>Next-Hop</ttcol><ttcol>Link</ttcol><ttcol>Metric</ttcol>
<c>fe80::/64</c><c>::</c><c>eth1</c><c>50</c>
<c>fe80::200:ff:fec4:b/128</c><c>::</c><c>lo</c><c>50</c>
</texttable>
</section>
</section>
<!-- Change Log
pre00 2009-06-11 AMS Initial incomplete version
v00 2009-07-14 AMS More complete version for first release
-->
</back>
</rfc>
| PAFTECH AB 2003-2026 | 2026-04-23 19:43:13 |