<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Imagine and Explore ....</title>
	<link>http://rendo.info</link>
	<description>"Imagination is more important than knowledge...", by Albert Einstein</description>
	<pubDate>Sun, 10 May 2009 12:51:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Linux on USB (persistent mode)</title>
		<link>http://rendo.info/?p=106</link>
		<comments>http://rendo.info/?p=106#comments</comments>
		<pubDate>Sun, 10 May 2009 12:51:21 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=106</guid>
		<description><![CDATA[Last Thursday, i did a quite stupid mistake. I wanted to try Backtrack persistent mode in my usb drive, but accidentally i activate the Lilo in backtrack. The bad thing is, once lilo is executed, it is installed in both my flash disk master boot record and my primary hard disk boot record (even i [...]]]></description>
			<content:encoded><![CDATA[<p>Last Thursday, i did a quite stupid mistake. I wanted to try Backtrack persistent mode in my usb drive, but accidentally i activate the Lilo in backtrack. The bad thing is, once lilo is executed, it is installed in both my flash disk master boot record and my primary hard disk boot record (even i didn&#8217;t mount the primary hard disk). <img src='http://rendo.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Now, my laptop is still being handled by my company IT, because even i did the recovery using Vista recovery CD, i can not make the pointsec (encryption software for my laptop) boot loader appears again.</p>
<p>Ok, back to the main story,<br />
Backtrack 3 is good, it is based on Slax, but it&#8217;s quite difficult to install new package. So, i am using Backtrack 4 beta now, which is based on Ubuntu and is completed with standard Ubuntu apt-get utility, so you can easily add anything you want. I found it is quite interesting to have one Backtrack 4 usb drive with persistent mode, you can just easily bring one flash disk, find an available pc/laptop, boot your usb, and you get you complete linux tools. Persistent mode means it will keep your changes during reboot.</p>
<p>Why I choose backtrack? two reason, first, backtrack gives you almost all standard networking tools, including wireshark, and any sniffing or tunneling tools, so if you are network engineer, you should like this one. Second, even linux is not my favorite, at this moment, creating live usb with persistent mode in FreeBSD is still not easy and after you create the live usb, you still need to populate your usb with all the required tools.</p>
<p>You can find all the necessary step to create backtrack 4 live usb persisten mode in <a href="http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/">http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/</a></p>
<p>The story is not stop here. Sometimes, I want to use some tools from my backtrack live USB but i don&#8217;t want to reboot my laptop and leave my windows because all my documents and my corporate tools and email are inside my windows.</p>
<p>Asking for answer from Google gives me some conclusions:<br />
- VMware can&#8217;t boot from USB<br />
- vxmVirtualBox is not clear, document said that usb booting is not implemented in VirtualBox bios. Some people reported that they can boot from USB but some people can&#8217;t.<br />
- Qemu is definitely supports usb booting. </p>
<p>So, since i have been using qemu for sometimes to simulate my Juniper Olive, qemu is familiar for me.I just boot my USB inside the qemu (detailed procedure can be found <a href="http://www.911cd.net/forums//index.php?showtopic=21353">here</a>, and configure my internet connection sharing from my real ethernet interface to the TAP interface that connect my qemu to the the host PC.<br />
This is my qemu command line to boot my backtrack USB:</p>
<blockquote><p>E:\qemu>qemu -L . -m 256 -hda //./PhysicalDrive3 -net nic,vlan=0,macaddr=00:aa:00:00:01:00 -net tap,vlan=0,ifname=tap3</p></blockquote>
<p>./rendo</p>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=106</wfw:commentRss>
		</item>
		<item>
		<title>Indonesian OpenIXP network Map</title>
		<link>http://rendo.info/?p=105</link>
		<comments>http://rendo.info/?p=105#comments</comments>
		<pubDate>Sun, 10 May 2009 12:18:21 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=105</guid>
		<description><![CDATA[it&#8217;s quite some time that I haven&#8217;t post anything here.
Last few weeks, i was distracted by some other activities, and also some new &#8220;toys&#8221;.
After creating my jabber/gtalk bot for looking glass and also dictionary (you can find the detailed information in http://inet0.net I started to create the updated list of Indonesian AS Number and how [...]]]></description>
			<content:encoded><![CDATA[<p>it&#8217;s quite some time that I haven&#8217;t post anything here.</p>
<p>Last few weeks, i was distracted by some other activities, and also some new &#8220;toys&#8221;.<br />
After creating my jabber/gtalk bot for looking glass and also dictionary (you can find the detailed information in <a href="http://inet0.net/">http://inet0.net</a> I started to create the updated list of Indonesian AS Number and how is the connectivity looks like.</p>
<p>The idea is coming from Alief [at] arc.itb.ac.id, he want to generate and calculate the connectivity degree of all indonesian ISP. His calculation was based on <a href="http://www.caida.org">Caida</a> data, so the connectivity is mainly covering for intra-indonesian BGP connectivity which the ASN is also advertised to the internet.</p>
<p>But, i want something else, i want the live and real BGP mapping for indonesian openixp network, so i reuse his script to generate the graph, but i am using the data input directly from &#8220;show ip bgp&#8221; result of one ISP router that connected to OpenIXP. </p>
<p>List of the ASN, generated graph based on Caida data and also &#8220;show ip bgp&#8221; result are available <a href="http://inet0.net/index.php?n=Main.ListASNIndonesia">here</a></p>
<p>-rendo-<br />
nb: the graph is generated using python script,networkx and matplotlib</p>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=105</wfw:commentRss>
		</item>
		<item>
		<title>Building Looking Glass over XMPP</title>
		<link>http://rendo.info/?p=104</link>
		<comments>http://rendo.info/?p=104#comments</comments>
		<pubDate>Sun, 12 Apr 2009 15:25:36 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=104</guid>
		<description><![CDATA[Ingredients:
- One jabber/Gtalk account
- one unix server
- xmpppy (http://xmpppy.sourceforge.net/)
- jabberbot (http://thpinfo.com/2007/python-jabberbot/)
As stated in the title, during this weekend I was playing around with python to build a simple &#8220;bot&#8221; which provide some internet looking glass services.
You can try my bot, by adding
lookingglass [at] inet0.net
  in your gtalk/jabber contact list and then,  send &#8220;help&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Ingredients:<br />
- One jabber/Gtalk account<br />
- one unix server<br />
- xmpppy (<a href="http://xmpppy.sourceforge.net/">http://xmpppy.sourceforge.net/</a>)<br />
- jabberbot (<a href="http://thpinfo.com/2007/python-jabberbot/">http://thpinfo.com/2007/python-jabberbot/</a>)</p>
<p>As stated in the title, during this weekend I was playing around with python to build a simple &#8220;bot&#8221; which provide some internet looking glass services.</p>
<p>You can try my bot, by adding<br />
<blockquote>lookingglass [at] inet0.net</p></blockquote>
<p>  in your gtalk/jabber contact list and then,  send &#8220;help&#8221; message to get list of available commands</p>
<p>Current Features:</p>
<p>    * DNS dig tool (using unix &#8220;dig&#8221; tool)<br />
    * IP to ASN converter (powered by http://www.team-cymru.org/Services/ip-to-asn.html)<br />
    * IP to Geographical Location Converter (powered by http://www.iplocationtools.com/)<br />
    * Ping tool (using unix &#8220;ping&#8221; tool)<br />
    * BGP routes checker (powered by routeviews.org)<br />
    * IP routes checker (powered by routeviews.org)<br />
    * TCP port checker (using unix &#8220;netcat&#8221; tool)<br />
    * Traceroute tool (using unix &#8220;traceroute&#8221; tool)<br />
    * UDP port checker (using unix &#8220;netcat&#8221; tool)<br />
    * Whois tool (using unix &#8220;whois&#8221; tool)</p>
<p>For the other services, visit <em><strong><a href="http://inet0.net">http://inet0.net</a></strong></em></p>
<p>note: botdarkstar [at] gmail.com is no longer active and its renamed to lookingglass [at] inet0.net</p>
<p>./rendo</p>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=104</wfw:commentRss>
		</item>
		<item>
		<title>E71 vs SE P1i + SE W910i</title>
		<link>http://rendo.info/?p=103</link>
		<comments>http://rendo.info/?p=103#comments</comments>
		<pubDate>Sat, 07 Feb 2009 04:32:41 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[phone]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=103</guid>
		<description><![CDATA[Have been more than one week using E71 (yes, finally i can&#8217;t find any phone with better functionality+price than this phone), here is the summary:
Pro:
1. It&#8217;s much faster then SE P1i
2. Qwerty keyboard is good, maybe the shift and numeric pad sometimes can be confusing
3. Loudspeaker for music is better than SE walkman series
4. battery [...]]]></description>
			<content:encoded><![CDATA[<p>Have been more than one week using E71 (yes, finally i can&#8217;t find any phone with better functionality+price than this phone), here is the summary:</p>
<p>Pro:<br />
1. It&#8217;s much faster then SE P1i<br />
2. Qwerty keyboard is good, maybe the shift and numeric pad sometimes can be confusing<br />
3. Loudspeaker for music is better than SE walkman series<br />
4. battery is ok, more than one day even using fring connected all the time + gps active<br />
5. very slim</p>
<p>Cons:<br />
1. Nokia seems not good when it is used for modem. Need to restart the phone or laptop (sometimes both) when gprs connection is disconnected not in the proper way<br />
2. SE W910 still has much better sound during the phone call<br />
3. Headset is not as good as SE walkman series<br />
4. A little bit heavy<br />
5. built in GPS guide is not to accurate, in Jakarta, it is always suggesting to use Tol Dalam Kota and JORR. And, the guide is talking too much.</p>
<p>Personal Opinion:<br />
1. Use Garmin XT GPS rather than the built in GPS.<br />
2. Use cable is much more stable than bluetooth for modem connection, but sometimes still need to restart the phone</p>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=103</wfw:commentRss>
		</item>
		<item>
		<title>Unlimited Mobile Broadband</title>
		<link>http://rendo.info/?p=99</link>
		<comments>http://rendo.info/?p=99#comments</comments>
		<pubDate>Thu, 02 Oct 2008 11:53:11 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=99</guid>
		<description><![CDATA[Idul Fitri Holiday with unlimited mobile broadband from Telkomsel and Indosat M2.
Below are the speed that I get at my home in Surabaya. Both of them provides speed as what I have in my contract.
Telkomsel Flash: my contract is 256 kbps unlimited and will be downgraded to 64 kbps after 3 GB (at this moment, [...]]]></description>
			<content:encoded><![CDATA[<p>Idul Fitri Holiday with unlimited mobile broadband from Telkomsel and Indosat M2.</p>
<p>Below are the speed that I get at my home in Surabaya. Both of them provides speed as what I have in my contract.</p>
<p>Telkomsel Flash: my contract is 256 kbps unlimited and will be downgraded to 64 kbps after 3 GB (at this moment, Telkomsel seems does not apply the throttle yet)<br />
<a href='http://rendo.info/wp-content/uploads/2008/10/flash-unlimited.jpg' title='flash-unlimited.jpg'><img src='http://rendo.info/wp-content/uploads/2008/10/flash-unlimited.jpg' alt='flash-unlimited.jpg' /></a></p>
<p>Indosat M2: my contract is 1.5 Mbps and will be downgraded to 64 kbps after 3 GB<br />
<a href='http://rendo.info/wp-content/uploads/2008/10/im2-unlimited.jpg' title='im2-unlimited.jpg'><img src='http://rendo.info/wp-content/uploads/2008/10/im2-unlimited.jpg' alt='im2-unlimited.jpg' /></a></p>
<p>notes:<br />
- the test was done using multiple http download with Internet download manager<br />
- modem: Huawei e220 (hsdpa 7.2 capable)</p>
<p>./rendo</p>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=99</wfw:commentRss>
		</item>
		<item>
		<title>BGP load test with JunOS 8.5 @ Juniper M7i</title>
		<link>http://rendo.info/?p=98</link>
		<comments>http://rendo.info/?p=98#comments</comments>
		<pubDate>Tue, 09 Sep 2008 16:53:42 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[juniper]]></category>

		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=98</guid>
		<description><![CDATA[Just got a BGP routes injector, and tried it on the Juniper M7i in my testbed. The results is quite good, I think. With 512 MB memory, the routing engine can handle up to 534k BGP prefixes. When the memory reach 96%, junos seems drops all the new BGP routes but still keep the bgp [...]]]></description>
			<content:encoded><![CDATA[<p>Just got a BGP routes injector, and tried it on the Juniper M7i in my testbed. The results is quite good, I think. With 512 MB memory, the routing engine can handle up to 534k BGP prefixes. When the memory reach 96%, junos seems drops all the new BGP routes but still keep the bgp session up to avoid crash. No impact in the forwarding plane, not sure what is going to happen if I have a lot of traffic, maybe next time I&#8217;ll use this BGP routes injector and traffic generator at the same time.</p>
<pre>
[edit]
rendo@m7i# run show chassis routing-engine
Routing Engine status:
    Temperature                 23 degrees C / 73 degrees F
    CPU temperature             22 degrees C / 71 degrees F
    DRAM                       512 MB
    Memory utilization          97 percent
    CPU utilization:
      User                       0 percent
      Background                 0 percent
      Kernel                     3 percent
      Interrupt                  1 percent
      Idle                      96 percent
    Model                          RE-5.0
    Serial ID                      xxxxxxxxxxx
    Start time                     2008-09-06 06:46:53 WIT
    Uptime                         3 days, 6 hours, 36 minutes, 37 seconds
    Load averages:                 1 minute   5 minute  15 minute
                                       0.02       0.04       0.01

[edit]
rendo@m7i# run show bgp summary
Groups: 1 Peers: 1 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0            536706     534421          0          0          0          0
Peer               AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Damped...
192.168.196.107   200       1977        324       0       0     2:24:47 534421/536706/0      0/0/0

[edit]
rendo@m7i#
</pre>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=98</wfw:commentRss>
		</item>
		<item>
		<title>Inter-AS VPN option C #2</title>
		<link>http://rendo.info/?p=97</link>
		<comments>http://rendo.info/?p=97#comments</comments>
		<pubDate>Mon, 08 Sep 2008 09:22:47 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[juniper]]></category>

		<category><![CDATA[config]]></category>

		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=97</guid>
		<description><![CDATA[Purpose: Sample working config of Inter AS VPN option C : Multihop MP-eBGP between PE routers
(using traffic-engineering bgp-igp)
Type: Simulated using logical-router
Tools: Olive on Qemu


logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
    [...]]]></description>
			<content:encoded><![CDATA[<p>Purpose: Sample working config of Inter AS VPN option C : Multihop MP-eBGP between PE routers<br />
<strong><em>(using traffic-engineering bgp-igp)</em></strong><br />
Type: Simulated using logical-router<br />
Tools: Olive on Qemu</p>
<p><a href='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_c.jpg' title='inter_as_option_c.jpg'><img src='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_c.jpg' alt='inter_as_option_c.jpg' /></a></p>
<pre>
logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 11 {
                    family inet {
                        address 10.1.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                traffic-engineering bgp-igp;
                interface all;
            }
            bgp {
                group iBGP {
                    type internal;
                    local-address 10.1.0.1;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.1.0.2;
                }
                group eBGP {
                    type external;
                    family inet {
                        labeled-unicast;
                    }
                    export export-lo0;
                    neighbor 10.9.1.2 {
                        peer-as 2;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp2.619;
                    interface lo0.11;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                term a {
                    from protocol direct;
                    then accept;
                }
            }
            policy-statement export-lo0 {
                from {
                    route-filter 10.1.0.0/24 orlonger;
                    route-filter 10.2.0.0/24 orlonger;
                }
                then accept;
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
            policy-statement set-pref {
                then {
                    preference 10;
                }
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as1-pe1 {
        interfaces {
            fxp1 {
                unit 616 {
                    vlan-id 616;
                    family inet {
                        address 10.10.1.1/30;
                    }
                }
                unit 617 {
                    vlan-id 617;
                    family inet {
                        address 10.11.1.1/30;
                    }
                }
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.1/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 12 {
                    family inet {
                        address 10.1.0.2/32;
                    }
                }
                unit 101 {
                    family inet {
                        address 10.10.0.1/32;
                    }
                }
                unit 111 {
                    family inet {
                        address 10.11.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group eMPBGP {
                    type external;
                    multihop;
                    local-address 10.1.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.2.0.2 {
                        peer-as 2;
                    }
                }
                group iBGP {
                    type internal;
                    local-address 10.1.0.2;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.1.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-lo0 {
                from {
                    route-filter 10.1.0.2/32 exact;
                }
                then accept;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.616;
                interface lo0.101;
                route-distinguisher 1:10;
                vrf-target target:1:1;
                vrf-table-label;
                protocols {
                    ospf {
                        export export-bgp;
                        area 0.0.0.1 {
                            interface all;
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp1.617;
                interface lo0.111;
                route-distinguisher 1:20;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as2-asbr {
        interfaces {
            fxp1 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 21 {
                    family inet {
                        address 10.2.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                traffic-engineering bgp-igp;
                interface all;
            }
            bgp {
                group iBGP {
                    type internal;
                    local-address 10.2.0.1;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.2.0.2;
                }
                group eBGP {
                    type external;
                    family inet {
                        labeled-unicast;
                    }
                    export export-lo0;
                    neighbor 10.9.1.1 {
                        peer-as 1;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp1.612;
                    interface lo0.21;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                term a {
                    from protocol direct;
                    then accept;
                }
            }
            policy-statement export-lo0 {
                from {
                    route-filter 10.1.0.0/24 orlonger;
                    route-filter 10.2.0.0/24 orlonger;
                }
                then accept;
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
            policy-statement set-pref {
                then {
                    preference 10;
                }
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-p1 {
        interfaces {
            fxp1 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 23 {
                    family inet {
                        address 10.2.0.3/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-pe1 {
        interfaces {
            fxp1 {
                unit 613 {
                    vlan-id 613;
                    family inet {
                        address 10.11.2.1/30;
                    }
                }
                unit 618 {
                    vlan-id 618;
                    family inet {
                        address 10.10.2.1/30;
                    }
                }
            }
            fxp2 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 22 {
                    family inet {
                        address 10.2.0.2/32;
                    }
                }
                unit 102 {
                    family inet {
                        address 10.10.0.2/32;
                    }
                }
                unit 112 {
                    family inet {
                        address 10.11.0.2/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group eMPBGP {
                    type external;
                    multihop;
                    local-address 10.2.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.2 {
                        peer-as 1;
                    }
                }
                group iBGP {
                    type internal;
                    local-address 10.2.0.2;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.2.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-lo0 {
                from {
                    route-filter 10.2.0.2/32 exact;
                }
                then accept;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.618;
                interface lo0.102;
                route-distinguisher 2:1;
                vrf-target target:1:1;
                vrf-table-label;
            }
            vpn-red {
                instance-type vrf;
                interface lo0.112;
                interface fxp1.613;
                route-distinguisher 2:2;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=97</wfw:commentRss>
		</item>
		<item>
		<title>Inter-AS VPN option C #1</title>
		<link>http://rendo.info/?p=95</link>
		<comments>http://rendo.info/?p=95#comments</comments>
		<pubDate>Mon, 08 Sep 2008 09:19:05 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[juniper]]></category>

		<category><![CDATA[config]]></category>

		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=95</guid>
		<description><![CDATA[Purpose: Sample working config of Inter AS VPN option C : Multihop MP-eBGP between PE routers
(using export lo0 address in PE and routing preference manipulation in ASBR)
Type: Simulated using logical-router
Tools: Olive on Qemu


logical-routers {
    as1-asbr {
        interfaces {
        [...]]]></description>
			<content:encoded><![CDATA[<p>Purpose: Sample working config of Inter AS VPN option C : Multihop MP-eBGP between PE routers<br />
<strong><em>(using export lo0 address in PE and routing preference manipulation in ASBR)</strong></em><br />
Type: Simulated using logical-router<br />
Tools: Olive on Qemu</p>
<p><a href='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_c.jpg' title='inter_as_option_c.jpg'><img src='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_c.jpg' alt='inter_as_option_c.jpg' /></a></p>
<pre>
logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 11 {
                    family inet {
                        address 10.1.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group iBGP {
                    type internal;
                    local-address 10.1.0.1;
                    import set-pref;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.1.0.2;
                }
                group eBGP {
                    type external;
                    family inet {
                        labeled-unicast;
                    }
                    export export-lo0;
                    neighbor 10.9.1.2 {
                        peer-as 2;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp2.619;
                    interface lo0.11;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                term a {
                    from protocol direct;
                    then accept;
                }
            }
            policy-statement export-lo0 {
                from {
                    route-filter 10.1.0.0/24 orlonger;
                    route-filter 10.2.0.0/24 orlonger;
                }
                then accept;
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
            policy-statement set-pref {
                then {
                    preference 10;
                }
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as1-pe1 {
        interfaces {
            fxp1 {
                unit 616 {
                    vlan-id 616;
                    family inet {
                        address 10.10.1.1/30;
                    }
                }
                unit 617 {
                    vlan-id 617;
                    family inet {
                        address 10.11.1.1/30;
                    }
                }
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.1/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 12 {
                    family inet {
                        address 10.1.0.2/32;
                    }
                }
                unit 101 {
                    family inet {
                        address 10.10.0.1/32;
                    }
                }
                unit 111 {
                    family inet {
                        address 10.11.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group eMPBGP {
                    type external;
                    multihop;
                    local-address 10.1.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.2.0.2 {
                        peer-as 2;
                    }
                }
                group iBGP {
                    type internal;
                    local-address 10.1.0.2;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    export export-lo0;
                    neighbor 10.1.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-lo0 {
                from {
                    route-filter 10.1.0.2/32 exact;
                }
                then accept;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.616;
                interface lo0.101;
                route-distinguisher 1:10;
                vrf-target target:1:1;
                vrf-table-label;
                protocols {
                    ospf {
                        export export-bgp;
                        area 0.0.0.1 {
                            interface all;
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp1.617;
                interface lo0.111;
                route-distinguisher 1:20;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as2-asbr {
        interfaces {
            fxp1 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 21 {
                    family inet {
                        address 10.2.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group iBGP {
                    type internal;
                    local-address 10.2.0.1;
                    import set-pref;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    neighbor 10.2.0.2;
                }
                group eBGP {
                    type external;
                    family inet {
                        labeled-unicast;
                    }
                    neighbor 10.9.1.1 {
                        peer-as 1;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp1.612;
                    interface lo0.21;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                term a {
                    from protocol direct;
                    then accept;
                }
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
            policy-statement set-pref {
                then {
                    preference 10;
                }
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-p1 {
        interfaces {
            fxp1 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 23 {
                    family inet {
                        address 10.2.0.3/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-pe1 {
        interfaces {
            fxp1 {
                unit 613 {
                    vlan-id 613;
                    family inet {
                        address 10.11.2.1/30;
                    }
                }
                unit 618 {
                    vlan-id 618;
                    family inet {
                        address 10.10.2.1/30;
                    }
                }
            }
            fxp2 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 22 {
                    family inet {
                        address 10.2.0.2/32;
                    }
                }
                unit 102 {
                    family inet {
                        address 10.10.0.2/32;
                    }
                }
                unit 112 {
                    family inet {
                        address 10.11.0.2/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group eMPBGP {
                    type external;
                    multihop;
                    local-address 10.2.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.2 {
                        peer-as 1;
                    }
                }
                group iBGP {
                    type internal;
                    local-address 10.2.0.2;
                    family inet {
                        labeled-unicast {
                            resolve-vpn;
                        }
                    }
                    export export-lo0;
                    neighbor 10.2.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-lo0 {
                from {
                    route-filter 10.2.0.2/32 exact;
                }
                then accept;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.618;
                interface lo0.102;
                route-distinguisher 2:1;
                vrf-target target:1:1;
                vrf-table-label;
            }
            vpn-red {
                instance-type vrf;
                interface lo0.112;
                interface fxp1.613;
                route-distinguisher 2:2;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=95</wfw:commentRss>
		</item>
		<item>
		<title>Inter-AS MPLS VPN Option B</title>
		<link>http://rendo.info/?p=93</link>
		<comments>http://rendo.info/?p=93#comments</comments>
		<pubDate>Mon, 08 Sep 2008 09:15:09 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[juniper]]></category>

		<category><![CDATA[config]]></category>

		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=93</guid>
		<description><![CDATA[Purpose: Sample working config of Inter AS VPN option B : MP-eBGP between ASBR
Type: Simulated using logical-router
Tools: Olive on Qemu


logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
        [...]]]></description>
			<content:encoded><![CDATA[<p>Purpose: Sample working config of Inter AS VPN option B : MP-eBGP between ASBR<br />
Type: Simulated using logical-router<br />
Tools: Olive on Qemu</p>
<p><a href='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_b.jpg' title='inter_as_option_b.jpg'><img src='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_b.jpg' alt='inter_as_option_b.jpg' /></a></p>
<pre>
logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 11 {
                    family inet {
                        address 10.1.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.1.0.1;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.2;
                }
                group eMPBGP {
                    type external;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.9.1.2 {
                        peer-as 2;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp2.619;
                    interface lo0.11;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as1-pe1 {
        interfaces {
            fxp1 {
                unit 616 {
                    vlan-id 616;
                    family inet {
                        address 10.10.1.1/30;
                    }
                }
                unit 617 {
                    vlan-id 617;
                    family inet {
                        address 10.11.1.1/30;
                    }
                }
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.1/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 12 {
                    family inet {
                        address 10.1.0.2/32;
                    }
                }
                unit 101 {
                    family inet {
                        address 10.10.0.1/32;
                    }
                }
                unit 111 {
                    family inet {
                        address 10.11.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.1.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.616;
                interface lo0.101;
                route-distinguisher 1:10;
                vrf-target target:1:1;
                vrf-table-label;
                protocols {
                    ospf {
                        export export-bgp;
                        area 0.0.0.1 {
                            interface all;
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp1.617;
                interface lo0.111;
                route-distinguisher 1:20;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as2-asbr {
        interfaces {
            fxp1 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.9.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 21 {
                    family inet {
                        address 10.2.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.2.0.1;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.2.0.2;
                }
                group eMPBGP {
                    type external;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.9.1.1 {
                        peer-as 1;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp1.612;
                    interface lo0.21;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-p1 {
        interfaces {
            fxp1 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 23 {
                    family inet {
                        address 10.2.0.3/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-pe1 {
        interfaces {
            fxp1 {
                unit 613 {
                    vlan-id 613;
                    family inet {
                        address 10.11.2.1/30;
                    }
                }
                unit 618 {
                    vlan-id 618;
                    family inet {
                        address 10.10.2.1/30;
                    }
                }
            }
            fxp2 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 22 {
                    family inet {
                        address 10.2.0.2/32;
                    }
                }
                unit 102 {
                    family inet {
                        address 10.10.0.2/32;
                    }
                }
                unit 112 {
                    family inet {
                        address 10.11.0.2/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.2.0.2;
                    neighbor 10.2.0.1 {
                        family inet-vpn {
                            any;
                        }
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.618;
                interface lo0.102;
                route-distinguisher 2:1;
                vrf-target target:1:1;
                vrf-table-label;
            }
            vpn-red {
                instance-type vrf;
                interface lo0.112;
                interface fxp1.613;
                route-distinguisher 2:2;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=93</wfw:commentRss>
		</item>
		<item>
		<title>Inter-AS MPLS VPN option A</title>
		<link>http://rendo.info/?p=92</link>
		<comments>http://rendo.info/?p=92#comments</comments>
		<pubDate>Mon, 08 Sep 2008 09:09:35 +0000</pubDate>
		<dc:creator>rendo</dc:creator>
		
		<category><![CDATA[juniper]]></category>

		<category><![CDATA[config]]></category>

		<category><![CDATA[IT&#038;Telco]]></category>

		<guid isPermaLink="false">http://rendo.info/?p=92</guid>
		<description><![CDATA[Purpose: Sample working config of Inter AS VPN option A: Back to Back VRF between ASBR
Type: Simulated using logical-router
Tools: Olive on Qemu


logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
      [...]]]></description>
			<content:encoded><![CDATA[<p>Purpose: Sample working config of Inter AS VPN option A: Back to Back VRF between ASBR<br />
Type: Simulated using logical-router<br />
Tools: Olive on Qemu</p>
<p><a href='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_a.jpg' title='inter_as_option_a.jpg'><img src='http://rendo.info/wp-content/uploads/2008/09/inter_as_option_a.jpg' alt='inter_as_option_a.jpg' /></a></p>
<pre>
logical-routers {
    as1-asbr {
        interfaces {
            fxp1 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.10.9.1/30;
                    }
                }
                unit 622 {
                    vlan-id 622;
                    family inet {
                        address 10.11.9.1/30;
                    }
                }
            }
            fxp2 {
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 11 {
                    family inet {
                        address 10.1.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.1.0.1;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.2;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp2.619;
                    interface lo0.11;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                from protocol direct;
                then accept;
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.611;
                route-distinguisher 1:90;
                vrf-target target:1:1;
                vrf-table-label;
                protocols {
                    bgp {
                        group eBGPvrf {
                            type external;
                            export [ export-bgp export-direct ];
                            neighbor 10.10.9.2 {
                                peer-as 2;
                            }
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp1.622;
                route-distinguisher 1:91;
                vrf-target target:1:2;
                vrf-table-label;
                protocols {
                    ospf {
                        domain-vpn-tag 0;
                        export export-bgp;
                        area 0.0.0.0 {
                            interface all;
                        }
                    }
                }
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as1-pe1 {
        interfaces {
            fxp1 {
                unit 616 {
                    vlan-id 616;
                    family inet {
                        address 10.10.1.1/30;
                    }
                }
                unit 617 {
                    vlan-id 617;
                    family inet {
                        address 10.11.1.1/30;
                    }
                }
                unit 619 {
                    vlan-id 619;
                    family inet {
                        address 10.1.3.1/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 12 {
                    family inet {
                        address 10.1.0.2/32;
                    }
                }
                unit 101 {
                    family inet {
                        address 10.10.0.1/32;
                    }
                }
                unit 111 {
                    family inet {
                        address 10.11.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.1.0.2;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.1.0.1;
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.616;
                interface lo0.101;
                route-distinguisher 1:10;
                vrf-target target:1:1;
                vrf-table-label;
                protocols {
                    ospf {
                        export export-bgp;
                        area 0.0.0.1 {
                            interface all;
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp1.617;
                interface lo0.111;
                route-distinguisher 1:20;
                vrf-target target:1:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 1;
        }
    }
    as2-asbr {
        interfaces {
            fxp1 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 611 {
                    vlan-id 611;
                    family inet {
                        address 10.10.9.2/30;
                    }
                }
                unit 622 {
                    vlan-id 622;
                    family inet {
                        address 10.11.9.2/30;
                    }
                }
            }
            lo0 {
                unit 21 {
                    family inet {
                        address 10.2.0.1/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.2.0.1;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.2.0.2;
                }
                group eMPBGP {
                    type external;
                    family inet-vpn {
                        any;
                    }
                    neighbor 10.9.1.1 {
                        peer-as 1;
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface fxp1.612;
                    interface lo0.21;
                }
            }
            ldp {
                interface all;
            }
        }
        policy-options {
            policy-statement export-bgp {
                term a {
                    from protocol bgp;
                    then accept;
                }
            }
            policy-statement export-direct {
                from protocol direct;
                then accept;
            }
            policy-statement export-ospf {
                term a {
                    from protocol ospf;
                    then accept;
                }
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp2.611;
                route-distinguisher 2:90;
                vrf-target target:2:1;
                vrf-table-label;
                protocols {
                    bgp {
                        group eBGPvrf {
                            type external;
                            export [ export-bgp export-direct ];
                            neighbor 10.10.9.1 {
                                peer-as 1;
                            }
                        }
                    }
                }
            }
            vpn-red {
                instance-type vrf;
                interface fxp2.622;
                route-distinguisher 1:91;
                vrf-target target:2:2;
                vrf-table-label;
                protocols {
                    ospf {
                        domain-vpn-tag 0;
                        export export-bgp;
                        area 0.0.0.0 {
                            interface all;
                        }
                    }
                }
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-p1 {
        interfaces {
            fxp1 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.1/30;
                    }
                    family mpls;
                }
            }
            fxp2 {
                unit 612 {
                    vlan-id 612;
                    family inet {
                        address 10.2.1.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 23 {
                    family inet {
                        address 10.2.0.3/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
    as2-pe1 {
        interfaces {
            fxp1 {
                unit 613 {
                    vlan-id 613;
                    family inet {
                        address 10.11.2.1/30;
                    }
                }
                unit 618 {
                    vlan-id 618;
                    family inet {
                        address 10.10.2.1/30;
                    }
                }
            }
            fxp2 {
                unit 621 {
                    vlan-id 621;
                    family inet {
                        address 10.2.2.2/30;
                    }
                    family mpls;
                }
            }
            lo0 {
                unit 22 {
                    family inet {
                        address 10.2.0.2/32;
                    }
                }
                unit 102 {
                    family inet {
                        address 10.10.0.2/32;
                    }
                }
                unit 112 {
                    family inet {
                        address 10.11.0.2/32;
                    }
                }
            }
        }
        protocols {
            mpls {
                interface all;
            }
            bgp {
                group MPBGP {
                    type internal;
                    local-address 10.2.0.2;
                    neighbor 10.2.0.1 {
                        family inet-vpn {
                            any;
                        }
                    }
                }
            }
            ospf {
                area 0.0.0.0 {
                    interface all;
                }
            }
            ldp {
                interface all;
            }
        }
        routing-instances {
            vpn-blue {
                instance-type vrf;
                interface fxp1.618;
                interface lo0.102;
                route-distinguisher 2:1;
                vrf-target target:2:1;
                vrf-table-label;
            }
            vpn-red {
                instance-type vrf;
                interface lo0.112;
                interface fxp1.613;
                route-distinguisher 2:2;
                vrf-target target:2:2;
                vrf-table-label;
            }
        }
        routing-options {
            autonomous-system 2;
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://rendo.info/?feed=rss2&amp;p=92</wfw:commentRss>
		</item>
	</channel>
</rss>
