Juniper – Troubleshooting Connectivity Issues with SRX210

juniperjuniper-srxroutingsrx

I'm coming to terms with JunOS, and I have set up a lab that includes two SRX210s. I have set ge-0/0/1 on both devices to:

ge-0/0/1 {
unit 0 {
    family inet {
        address 20.0.0.1/24;
    }
}

.1 on SRX1 and .2 on SRX2. Because they are directly connected and on the same subnet, a route should be visible, but when I perform a show route, I don't see anything. Perhaps I am missing something here? Am I making some stupid, rookie mistake that I will later be forced to kick myself over?

Further details: Not even learning a mac over these interfaces, but I do if I use family ethernet-switching instead.

Thanks to anyone with any idea!

Best Answer

In junos it is not enough to just assign IP to the interface to be functional , for interface to be pinable you need to do the below :

  1. assign the interface for security zone : EX: set security zones security-zone untrust interfaces ge-0/0/1.0
  2. you have to enable ping in the security zone : EX: set security zones security zone host inbound traffic system services ping