Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] How to advertise the dynamic VPN pool via dynamic routing protocols?

0

0

Article ID: KB24064 KB Last Updated: 14 May 2012Version: 1.0
Summary:
This article provides information on how to advertise the dynamic VPN pool route to other routers in the network via a dynamic routing protocol.
Symptoms:
  • How to advertise the dynamic VPN pool via dynamic routing protocols.

  • The IP address in the pool is 192.168.1.0/24 for the dynamic VPN clients.

  • This pool has to be advertised via a routing protocol to other routers in the network.
Cause:

Solution:
  1. Create a route with next-hop reject for the pool network:
    set routing-options static route 192.168.1.0/24 reject
    
    root@210-lm-1# show routing-options 
    static {
        route 192.168.1.0/24 reject;
    }
    

  2. Create a policy under policy-options to export this route:
    set policy-options policy-statement dyn-vpn-route term 1 from instance master
    set policy-options policy-statement dyn-vpn-route term 1 from route-filter 192.168.1.0/24 exact
    set policy-options policy-statement dyn-vpn-route term 1 then accept
    set policy-options policy-statement dyn-vpn-route term 2 then reject
    
    root@210-lm-1# show policy-options 
    policy-statement dyn-vpn-route {
        term 1 {
            from {
                instance master;
                route-filter 192.168.1.0/24 exact;
            }
            then accept;
        }
        term 2 {
            then reject;
        }
    }
    

  3. Apply the policy as an export policy in the routing-protocol (which is OSPF in this example):
    set protocols ospf export dyn-vpn-route
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search