Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  choose egress IP for static route by source IP

    Posted 08-29-2023 10:51

    I'm not sure how to do this.  I have a /29 block of (5) public addresses on a single public facing Interface.   I need to be able to route packets over the primary and secondary IPs based on source IP.

    Example:

    set interfaces ge-0/0/0 unit 0 family inet address 1.1.1.2/29 primary

    set interfaces ge-0/0/0 unit 0 family inet address 1.1.1.3/29

    set routing-options static route 0.0.0.0/0 next-hop 1.1.1.1

    Client Routes

    Client-A 192.1681.10 -> 1.1.1.1 egress IP

    Client-B 192.168.1.11 -> 1.1.1.2 egress IP



    ------------------------------
    PAUL RAFLIK
    ------------------------------



  • 2.  RE: choose egress IP for static route by source IP

    Posted 08-29-2023 18:57

    Maybe create an address pool and proxy arp address. Then create a nat based on ip(s)  and appropriate security zone rules?



    ------------------------------
    Aaron Cowell
    ------------------------------