Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

route internal subnet using non primary WAN IP address

$
0
0

Hi guys

 

Im trying to send traffic from an internal subnet to use the non primary ip address (222.333.19.65) as the public ip

 

show interfaces pp0 unit 0
...
family inet {
        address 222.111.19.62/32 {
            destination 222.111.19.61;
            primary;
        }
        address 222.333.19.65/28;
        address 222.333.19.66/28;
        address 222.333.19.67/28;
        ...
    }

Currently all traffic on 192.168.1.0/24 is routed out using the default route which shows 222.111.19.62 as the public ip

 

 

route 0.0.0.0/0 next-hop pp0.0;

 

 

I would like to route the internal subnet 192.168.2.0/24 to use the 222.333.19.65 IP address publicly. Can you suggest how i would do this?


Viewing all articles
Browse latest Browse all 17645

Trending Articles