Hi All,
I have an SRX240H2 connected directly to the internet. I have an interface configured for a couple of addresses. I want to be able to reach the internet from this device, from a particular subnet, so I configured that subnet for primary preferred on the interface:
ge-7/0/0 { unit 0 { family inet { no-redirects; sampling { input; output; } address 1.1.1.1/30; address 2.2.2.2/29 { primary; preferred; }
address 2.2.2.3/29 address 2.2.2.4/29
}
When I try to ping 8.8.8.8, I am unable to receive a response:
PING 8.8.8.8 (8.8.8.8): 56 data bytes --- 8.8.8.8 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss
However, when I ping it from the address configured as primary and preferred it works:
ping 8.8.8.8 source 2.2.2.2 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=61 time=2.272 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=61 time=1.912 ms --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.912/2.092/2.272/0.180 ms
It looks like my "Primary" configuration on the device is not working properly. Am I missing something?
Thanks,