SRX

last person joined: 3 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET

    Posted 03-10-2012 03:21

    Hi Experts

     

    I just want to ask one question. I have site to site route based VPN with remot branch having overlapping IP subnet. I made the VPN and static NAT on both sides and it is working fine. I followed the http://kb.juniper.net/InfoCenter/index?page=content&id=TN68

     

    My question is that if I run OSPF on the tunnel interface then using OSPF how can I advertise the VIP  subnet which I used for the static NAT. Becuase VIP subnet is not assigned to any where in SRX,

     

    Thanks for the reply



  • 2.  RE: OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET

    Posted 03-12-2012 10:47

    Hi

     

    Is there any one to take this?

     

    Thanks



  • 3.  RE: OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET

    Posted 03-12-2012 11:49

    Usually there might be two approaches:

    first: 

    create static route pointing to null, eg:

    set routing-options static route 10.0.0.0/8 discard

     

    Once it's in routing table, then redistribute particular static route  into ospf process.

     

    Second: 

    Create loopback interface with VIP subnet



  • 4.  RE: OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET

    Posted 03-12-2012 12:41

    Hi Aigarz

     

    Thats good idea. But since my HO was previously advertising this overlap subnet to other sites through OSPF and after the overlapping subnet remote site added, how can I avoid to send this overlapping subnet from HO to overlapping subnet site? Should I used separate VR and ospf instance for this overlap site?

     

    Thanks



  • 5.  RE: OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET
    Best Answer

    Posted 03-20-2012 23:19

    If you are using point to point tunnel interface for each tunnel, keep the overlaping subnet site tunnel interface in different ospf area 0.0.0.1 and restrict the overlapping subnet using route filter while advertising the LSA's throuth st0 over the tunnel. Along with this configure the VIPs on the loop back interface as Aigarz suggested.

     

    edit]
    regress@HO# show protocols
    ospf {
    area 0.0.0.0 {
    interface lo0.0;
    interface ge-0/0/0.0;   
    interface st0.0;
    }
    area 0.0.0.1 {
    network-summary-export ospf-export;
    interface st0.1;
    }
    }


    regress@HO# show policy-options
    policy-statement ospf-export {
    term t1 {
    from {
    route-filter 192.168.1.0/24 exact;  <overlapping subnet>
    }
    then reject;
    }
    term t2 {
    then accept;
    }
    }


     




  • 6.  RE: OSPF over routed based VPN to advertise the VIP subnet for OVERLAPPING SUBNET

    Posted 03-21-2012 05:55

    Thanks. It really helped !!