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

FAQ
It is currently Tue Jul 16, 2019 10:56 pm


Author Message
mandrei99
Post  Post subject: Junos: GRE interface in VR with local tunnel endpoint in main routing instance  |  Posted: Thu May 23, 2013 9:33 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

Junos: GRE interface in VR with local tunnel endpoint in main routing instance

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;
}





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Junos: GRE interface in VR with local tunnel endpoint in main routing instance"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. OSPF areas - how to achieve optimal routing - Cisco way

mandrei99

1

1672

Tue Nov 25, 2014 8:46 pm

Exsosus View the latest post

There are no new unread posts for this topic. OSPF neighbors stuck in ExStart - case 1 - interface type mismatch

mandrei99

0

6611

Wed Dec 10, 2014 5:42 am

mandrei99 View the latest post

There are no new unread posts for this topic. Example of BGP update message sent from Junos for a VPLS circuit

mandrei99

0

1383

Fri Jul 19, 2013 9:24 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to configure Junos ipv6 default route

mandrei99

0

5382

Mon Feb 16, 2015 6:29 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos VPLS Label Block Operations - Example with BGP signaling

mandrei99

0

2764

Thu Jul 04, 2013 7:44 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: BGP label allocation failure: Need a nexthop address on LAN

mandrei99

1

2186

Mon Nov 10, 2014 4:28 am

mandrei99 View the latest post

There are no new unread posts for this topic. Example of BGP update message sent from Junos device when export policy is modified

mandrei99

0

1271

Fri Jul 19, 2013 9:09 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: error: VRF: vrf-import needs at least one target community or a reject policy for vrf in

mandrei99

0

2106

Wed Jul 03, 2013 8:39 am

mandrei99 View the latest post

There are no new unread posts for this topic. JUNOS BGP: How to drain a BGP peering router gracefully without bgp session reset

admin

0

2432

Thu Sep 14, 2017 10:09 am

admin View the latest post

There are no new unread posts for this topic. Junos router advertisements - Unix IPv6 stateless autoconfiguration via SLAAC

admin

0

4355

Mon Jun 23, 2014 5:23 am

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 1 guest
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews 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