Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Dec 06, 2023 8:47 am


Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
 
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
     

Topic review - Junos: GRE interface in VR with local tunnel endpoint in main routing instance
Author Message
Post subject: Junos: GRE interface in VR with local tunnel endpoint in main routing instance  |  Post Posted: Thu May 23, 2013 9:33 am
When Junos places a GRE interface into a custom virtual router, the VR routing table needs a static route for the remote tunnel endpoint (external host) towards the main routing instance (inet.0).

Below is a GRE tunnel between local IP 1.1.1.1 from interface ge-1/0/1.0 placed in inet.0 and some host on the internet: 2.2.2.2.

The GRE interface (gr-0/0/0.0) is placed in the "CUSTOM-VR" virtual router and a static route for 2.2.2.2 towards inet.0 is also designated.

Code:
user@junos# top show interfaces gr-0/0/0.0
clear-dont-fragment-bit;
point-to-point;
tunnel {
    source 1.1.1.1;
    destination 2.2.2.2;
    allow-fragmentation;
}
family inet {
    mtu 1500;
    address 172.16.0.34/30;
}

[edit routing-instances CUSTOM-VR]
user@junos# show
instance-type virtual-router;
interface gr-0/0/0.0;
routing-options {
    static {
        route 2.2.2.2/32 next-table inet.0;
    }
    autonomous-system 65520;
    instance-import CUSTOM-VR-VR-direct;
}
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO