Hi Guys,
How I can set this routing on my SRX ?
Linux:
auto eth0
iface eth0 inet static
address 1.1.52.201
netmask 255.255.255.255
broadcast 1.1.52.201
post-up route add 1.1.1.1 dev eth0
post-up route add default gw 1.1.1.1
post-down route del 1.1.1.1 dev eth0
post-down route del default gw 1.1.1.1
I was thinking about editing /etc/rc.conf and then set:
static_routes="net1 net2"
route_net1="-net 1.1.1.1/32 1.1.52.201"
route_net2="default 1.1.1.1"
but I think that's not the way to do this.
Basically what I need to do is:
route add 1.1.1.1 dev eth0
route add default gw 1.1.1.1
How I can set this on SRX?
Many thanks