$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ASimple_Static_IPv6_Routing</id>
	<title>Manual:Simple Static IPv6 Routing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ASimple_Static_IPv6_Routing"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:Simple_Static_IPv6_Routing&amp;action=history"/>
	<updated>2026-06-26T09:07:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Manual:Simple_Static_IPv6_Routing&amp;diff=361&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;__TOC__  == Introduction ==  Let&#039;s make a simple routing setup illustrated in image below  Image:simple-ipv6-routing.png   Lets consider ISP is giving us prefix 2001:db8::...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:Simple_Static_IPv6_Routing&amp;diff=361&amp;oldid=prev"/>
		<updated>2015-01-29T18:27:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__  == Introduction ==  Let&amp;#039;s make a simple routing setup illustrated in image below  &lt;a href=&quot;/support/radio/software/index.php/File:Simple-ipv6-routing.png&quot; title=&quot;File:Simple-ipv6-routing.png&quot;&gt;Image:simple-ipv6-routing.png&lt;/a&gt;   Lets consider ISP is giving us prefix 2001:db8::...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s make a simple routing setup illustrated in image below&lt;br /&gt;
&lt;br /&gt;
[[Image:simple-ipv6-routing.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lets consider ISP is giving us prefix 2001:db8::/62 and prefix is routed to us with link-local address (fe80::1:1).&lt;br /&gt;
&lt;br /&gt;
Ether1 of Router1 is connected to ISP and will be the gateway of our networks. Router2 is connected to ether2 of Router1 and will act as a gateway for clients connected to it from LAN2. Router1 also connects one client to ether3. Our goal is to create setup so that clients from LAN1 can reach clients from LAN2 and all of them can connect to the internet.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
At first we need to find what link-local addresses are on Router1 and on Router&amp;#039;s 2 ether1 for routing.&lt;br /&gt;
We can do IPv6 routing without globally configuring addresses on every link that way addresses are not wasted. In current setup there is no global addresses even between ISP and our gateway.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /ipv6 address&amp;gt; print &lt;br /&gt;
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local &lt;br /&gt;
 #    ADDRESS                                     FROM-POOL INTERFACE     ADVERTISE&lt;br /&gt;
 0 DL fe80::219:d1ff:fe00:3511/64                           ether1        no &lt;br /&gt;
 1 DL fe80::219:d1ff:fe00:3512/64                           ether2        no &lt;br /&gt;
 1 DL fe80::219:d1ff:fe00:3513/64                           ether3        no &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R2] /ipv6 address&amp;gt; print &lt;br /&gt;
Flags: X - disabled, I - invalid, D - dynamic, G - global, L - link-local &lt;br /&gt;
 #    ADDRESS                                     FROM-POOL INTERFACE     ADVERTISE&lt;br /&gt;
 0 DL fe80::219:d1ff:fe39:3535/64                           ether1        no &lt;br /&gt;
 1 DL fe80::219:d1ff:fe39:3536/64                           ether2        no &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can start configuration.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Router1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/ipv6 address &lt;br /&gt;
add address=2001:db8:1::1/64 interface=ether3 advertise=yes&lt;br /&gt;
&lt;br /&gt;
/ipv6 route &lt;br /&gt;
add gateway=fe80::1:1%ether1&lt;br /&gt;
add dst-address=2001:db8:2::/64 gateway=fe80::219:d1ff:fe39:3535%ether2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Router2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/ipv6 address &lt;br /&gt;
add address=2001:db8:2::1/64 interface=ether2 advertise=yes&lt;br /&gt;
&lt;br /&gt;
/ipv6 route &lt;br /&gt;
add gateway=fe80::219:d1ff:fe00:3512%ether1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice how link local addresses are configured as gateways. We provide directly connected neighbour routers link-local address and explicitly specify on which interface ll address is reachable.&lt;br /&gt;
&lt;br /&gt;
Added global addresses are with advertise flag meaning that RA will be used to automatically configure IPv6 addressing on the client PCs. [[Manual:IPv6/ND#Stateless_address_autoconfiguration | Read more&amp;gt;&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
That is all required configuration. At this point all clients are directly reachable from remote locations.&lt;br /&gt;
&lt;br /&gt;
{{Note | Since IPv6 does not have NAT all clients have direct connection to the Internet. IPv6 firewall rules are required to protect the clients from unwanted  access or attacks}} &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Manual:My_First_IPv6_Network | IPv6 routing example with tunnel broker]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{cont}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Manual|S]]&lt;br /&gt;
[[Category:Routing|S]]&lt;br /&gt;
[[Category:Examples|S]]&lt;br /&gt;
[[Category:IPv6|S]]&lt;br /&gt;
[[Category:Basic|S]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>