Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Simple Config. on Lab set up

    Posted 09-06-2024 10:50

    I got my three of my five SRX100 routers up and running, accessible with configs on them and connected together. 

    The next thing I am trying to do is put ip addresses on the interfaces and see if I can ping from one router to the next. This is something I've done hundreds of times in a virtual environment, and I don't know why it is not working. Is there something I am missing?

    Here is exactly what I did:

    on ROUTER-1 I configured ip address 10.10.12.1/24 on fe-0/0/0.0

    on ROUTER-2 I configured ip address 10.10.12.2/24 on fe-0/0/0.0 

    and I connect the fe-0/0/0 ports together with a patch cable, lights come on and show interface command tells me ports are up on both routers.

    Now I console in to either of the routers.

    On either router I can ping the local address on port fe-0/0/0 and the local loopback that I also configured, but not the address on the other side of the link.

    Here is an example of the way I configured the ports:

    Ben@ROUTER-2# show interfaces
    fe-0/0/0 {
        unit 0 {
            family inet {
                address 10.10.12.2/24;
            }
        }

    Any help greatly appreciated.

    Ben



    ------------------------------
    BEN FELDMAN
    ------------------------------


  • 2.  RE: Simple Config. on Lab set up

    This message was posted by a user wishing to remain anonymous
    Posted 09-06-2024 11:28
    This message was posted by a user wishing to remain anonymous

    Ben,

    These are zone-based security appliances, not routers, and as such the interfaces need to be in security zones.  You also need to allow system services host-inbound-traffic.

    Host-inbound-traffic is for traffic destined to the firewall itself, where zone policies govern traffic transiting the device.

    Security Zones | Junos OS | Juniper Networks

    system-services (Security Zones Host Inbound Traffic) | Junos OS | Juniper Networks




  • 3.  RE: Simple Config. on Lab set up

    Posted 09-06-2024 13:34

    Thanks for the help. I can try that to see if it works.

    Ben



    ------------------------------
    BEN FELDMAN
    ------------------------------



  • 4.  RE: Simple Config. on Lab set up

    Posted 09-06-2024 11:34

    If your labs have no need of firewall, you can switch the SRX to packet mode and it will behave as a router and no other configuration would be needed.  This can be reversed back to flow mode when you experiment with firewall features when needed.

    https://supportportal.juniper.net/s/article/SRX-How-to-change-forwarding-mode-for-IPv4-from-flow-based-to-packet-based?language=en_US



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 5.  RE: Simple Config. on Lab set up

    Posted 09-06-2024 13:31

    Thanks. I didn't know. So the SRX100 is basically a firewall, I guess. 

    I will try that. 

    Thank you.



    ------------------------------
    BEN FELDMAN
    ------------------------------



  • 6.  RE: Simple Config. on Lab set up

    Posted 09-06-2024 19:48

    Yes, the SRX is by default a firewall, called flow mode on the device as it maintains a table of source/destination/protocol flow.

    If you are interested in those features check out the JNCIA-SEC free online course from Juniper for an overview of features and processes in the learning portal.

    https://learningportal.juniper.net/juniper/user_activity_info.aspx?id=11478



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 7.  RE: Simple Config. on Lab set up

    Posted 09-06-2024 17:00

    This worked. I set it to packet-based and now it works.

    Thanks for the help to both of you.



    ------------------------------
    BEN FELDMAN
    ------------------------------