<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Routing on Simon Žekar — unix, communications, stupidities</title><link>https://simon.zekar.com/tags/routing/</link><description>Recent content in Routing on Simon Žekar — unix, communications, stupidities</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 27 Sep 2009 22:44:15 +0000</lastBuildDate><atom:link href="https://simon.zekar.com/tags/routing/index.xml" rel="self" type="application/rss+xml"/><item><title>IPv6 over IPv4 tunnel with Mikrotik &amp; Cisco router</title><link>https://simon.zekar.com/2009/09/27/ipv6-over-ipv4-tunnel-with-mikrotik-cisco-router/</link><pubDate>Sun, 27 Sep 2009 22:44:15 +0000</pubDate><guid>https://simon.zekar.com/2009/09/27/ipv6-over-ipv4-tunnel-with-mikrotik-cisco-router/</guid><description>&lt;p>Time when native &lt;a href="http://en.wikipedia.org/wiki/IPv6">IPv6 network&lt;/a> will come right to your home is still far away. So &lt;a href="http://en.wikipedia.org/wiki/6to4">tunneling IPv6 network over IPv4&lt;/a> to some IPv6 enabled site is a way to go.&lt;/p>
&lt;p>Configuration is easier than expected and it worked right away. In my case &lt;a href="http://www.cisco.com/en/US/products/hw/routers/ps368/">Cisco 7600&lt;/a> series is at the data center where native IPv6 is established and &lt;a href="http://www.routerboard.com/">Mikrotik RB450&lt;/a> ( a choice for home router – really powerful and really cheap).&lt;/p>
&lt;p>One /64 subnet is assigned for the tunnel (point-to-point) and /48 is then routed to it. Yes. In IPv6 /64 subnet of 18446744073709551616 IPs is used for point-to-point tunnel (2 IPs).&lt;/p>
&lt;p>On Cisco 7600 – interface (99.. is a 7600 public IP as 22.. is my home public IP):&lt;/p>
&lt;pre tabindex="0">&lt;code>interface Tunnel0
description --- test ipv6 in ipv4 tunnel ---
no ip address
ipv6 address 2AAA:BABA:101:1::1/64
tunnel source 99.99.99.99
tunnel destination 22.22.22.22
tunnel mode ipv6ip
&lt;/code>&lt;/pre>&lt;p>and route:&lt;br>
&lt;code>ipv6 route 2AAA:BABA:BEEF::/48 2AAA:BABA:101:1::2&lt;/code>&lt;/p>
&lt;p>and on Mikrotik:&lt;/p>
&lt;pre tabindex="0">&lt;code>/interface 6to4 add disabled=no local-address=22.22.22.22 mtu=1280 name=ipv6tunnel remote-address=99.99.99.99
/ipv6 address add address=2AAA:BABA:101:1::2/64 interface=ipv6tunnel
/ipv6 route add disabled=no dst-address=::/0 gateway=ipv6tunnel
&lt;/code>&lt;/pre>&lt;p>And that’s it. You can configure local interface on Mikrotik, like this:&lt;br>
&lt;code>/ipv6 add address=2AAA:BABA:BEEF:DEAD:1/64 advertise=yes interface=ether2&lt;/code>&lt;/p>
&lt;p>Local machines, if properly configured should receive &lt;a href="http://www.faqs.org/rfcs/rfc2461.html">advertised IPv6 prefix&lt;/a> and configure itself for IPv6.&lt;/p>
&lt;p>That’s for now, more about IPv6 soon ! HaveAnice !!&lt;/p>
&lt;p>S.&lt;/p></description></item><item><title>routing po SiOL-ovo</title><link>https://simon.zekar.com/2007/06/11/routing-po-siol-ovo/</link><pubDate>Mon, 11 Jun 2007 20:42:10 +0000</pubDate><guid>https://simon.zekar.com/2007/06/11/routing-po-siol-ovo/</guid><description>&lt;p>Takole delajo usmerjevalniki na SiOL-u,&lt;/p>
&lt;p>ping-pong…&lt;/p>
&lt;p>pa mal obelix, pa mal ljubljanica, dela pa nic…&lt;/p>
&lt;p>8 obelix-2-0-0.siol.net (89.143.1.25) 36.596 ms 24.269 ms 21.338 ms&lt;br>
9 ljubljanica1-2-0-0.siol.net (89.143.1.26) 28.703 ms 23.760 ms 22.593 ms&lt;br>
10 * * *&lt;br>
11 ljubljanica1-2-0-0.siol.net (89.143.1.26) 26.319 ms 24.276 ms 21.602 ms&lt;br>
12 * * *&lt;br>
13 ljubljanica1-2-0-0.siol.net (89.143.1.26) 28.652 ms 23.751 ms 22.126 ms&lt;br>
14 * * *&lt;br>
15 ljubljanica1-2-0-0.siol.net (89.143.1.26) 26.552 ms 23.541 ms 21.348 ms&lt;br>
16 * * *&lt;br>
17 ljubljanica1-2-0-0.siol.net (89.143.1.26) 29.017 ms 24.495 ms 23.939 ms&lt;br>
18 * * *&lt;br>
19 ljubljanica1-2-0-0.siol.net (89.143.1.26) 27.509 ms 24.292 ms 22.093 ms&lt;br>
20 * * obelix-2-0-0.siol.net (89.143.1.25) 23.805 ms&lt;br>
21 ljubljanica1-2-0-0.siol.net (89.143.1.26) 29.112 ms 23.784 ms 22.083 ms&lt;br>
22 obelix-2-0-0.siol.net (89.143.1.25) 27.724 ms * *&lt;br>
23 ljubljanica1-2-0-0.siol.net (89.143.1.26) 27.298 ms 25.996 ms 23.084 ms&lt;br>
24 * obelix-2-0-0.siol.net (89.143.1.25) 22.317 ms 24.056 ms&lt;br>
25 ljubljanica1-2-0-0.siol.net (89.143.1.26) 26.412 ms 24.497 ms 22.623 ms&lt;/p></description></item></channel></rss>