Technical guide • Juniper SRX

A clear route
through the SRX.

A practical guide to connecting and troubleshooting a Juniper SRX firewall on dedicated Internet service.

How does the SRX connect to the circuit?

In a common routed design, the provider handoff connects to an SRX external interface. The interface needs the correct address, security zone, and routing; security policy and, when needed, source NAT govern how the business network reaches the Internet.

Scope of this example

We illustrate a single Layer 3 SRX with static IPv4. Your network may use a chassis cluster, an upstream router, VLANs, dynamic routing, IPv6, or another design. The service order and your approved configuration determine the actual settings.

Conceptual connection from Internet to provider handoff, firewall and business LAN.
A simplified path. The actual SRX interfaces, security zones, and upstream devices depend on your design.

Junos and J-Web screens, interface names, and available features vary by model and software release. Coordinate production changes with the responsible administrator, preserve management access, and prepare a tested rollback.

Confirm the handoff and responsibilities.

Obtain the service address, port speed and media, optic and cable requirements, VLAN tagging, MTU, and any required negotiation, FEC, or aggregation. Record the actual interface address and prefix, provider gateway or routing details, and any separately routed public address block. Confirm which team owns each device along the handoff.

Identify the SRX model, Junos release, routing instance, zones, and whether J-Web, the Junos CLI, or centralized management owns the configuration. Check HA or chassis-cluster requirements before changing an active pair. Document a maintenance window, current configuration, recovery access, and rollback plan.

Protect the management path. The interface used to administer the firewall may not be the service interface. Restrict host-inbound management services to the approved design; Internet access does not require opening management to the public.

Connect the external interface.

Connect the provider handoff to the intended SRX data port using supported media. Confirm the physical link is up at the expected rate and compare settings with the connected equipment. If a switch or router sits in between, inspect that path too; a working physical link does not by itself confirm the VLAN, address, route, or policy.

For this routed IPv4 example, configure the correct logical interface with the assigned address and prefix and place it in the intended external security zone. Junos typically represents logical interface units with a suffix such as .0. Configure the internal interface and zone according to the existing business network.

Example / External interface

Fields to review.

Illustration
A teaching aid, not a Juniper screenshot. Interface and documentation addresses below are examples.
Routed outside interface
Logical interface
ge-0/0/0.0, if assigned in your design
Security zone
untrust
IPv4 address / prefix
198.51.100.2/30

Use the actual physical interface, unit, zone, and provider-assigned address. Model and software features differ.

Some SRX models ship with default zones, addressing, and policies, but those settings differ by model and may have been changed. Inspect the existing configuration rather than assuming factory defaults apply.

Point the default route toward the provider.

In a static routed IPv4 design, the appropriate routing table needs a default route for destinations without a more specific match. Use the actual provider next hop and the routing instance that carries the client traffic. A route in the wrong routing instance may not serve the affected flow.

Illustration only: If the external interface used 198.51.100.2/30 and its provider-supplied gateway were 198.51.100.1, that gateway would be the example next hop for 0.0.0.0/0. These documentation addresses are not Stealth service assignments.

For BGP, multiple providers, virtual routers, or policy-based routing, verify the actual design and return path. IPv6 requires its own address, route, security policy, and tests when used.

In Junos configuration mode, these illustrative statements show where the three example settings belong in the default routing instance. They are only part of a configuration:

Junos configuration / Documentation example
set interfaces ge-0/0/0 unit 0 family inet address 198.51.100.2/30
set security zones security-zone untrust interfaces ge-0/0/0.0
set routing-options static route 0.0.0.0/0 next-hop 198.51.100.1

Do not paste these reserved addresses into production. The actual interface, unit, zone, address, next hop, and routing instance must match the approved design and service order.

These statements do not remove existing DHCP settings or conflicting addresses and routes, create the inside network, or configure security policy and NAT. Before using the equivalent settings on an actual firewall, review the existing candidate and active configuration, access and HA requirements, change window, commit method, and rollback plan with the responsible administrator.

Review the zones and the intended flow.

SRX security policies apply to traffic between zones. Confirm that the correct logical interfaces are assigned to the external and internal zones, then review the policies, address objects, applications, and logging for the traffic your organization intends to allow. A route does not itself authorize a session.

Private IPv4 clients commonly need source NAT to access public destinations. Choose the translation appropriate to your approved address and routing design. A routed public block, inbound service, or IPv6 deployment may require a different approach. NAT and the security policy are separate checks; do not add a broad permit policy merely to test connectivity.

For a real flow, verify policy and translation alongside the return route and session information. The names “trust” and “untrust” are examples; your zones may have different names or a more detailed segmentation plan.

Test in a controlled order.

  1. 01

    Review the candidate

    Confirm the interface and unit, address, zone, route, policy, and NAT changes. Review differences and follow the team’s change and rollback procedure before commit.

  2. 02

    Commit and check the device

    Use the approved Junos or management workflow, verify the commit result, and confirm that the expected interface and route are operational. Do not change an HA pair without its tested procedure.

  3. 03

    Validate the client path

    Where authorized, test the gateway and a public destination, then DNS and a business application from a wired client through the firewall. A ping that receives no response is not conclusive on its own.

  4. 04

    Record the baseline

    Save the test time, address family, interface counters, and results. Test upload and download with suitable endpoints and verify IPv6 separately if in use.

Follow the traffic from the client.

Start with the affected client and destination, then check link state, VLAN, addressing, route, zone policy, NAT, and return path. A reachable management interface does not prove the client data path is working.

These are read-only Junos operational commands. Replace the example interface with your actual handoff port and select the correct routing instance where applicable. Output and permissions vary.

Physical interface
show interfaces ge-0/0/0 extensive

Review link state, speed, traffic, and hardware counters. Compare values at two times and with the connected device.

Routing
show route 0.0.0.0/0 exact

Check the default route in the relevant table; a different routing instance may require an explicit table selection.

Zones and policies
show security zones
show security policies

Review the applicable zones and policy. Use the relevant names and filters for your configuration.

Active sessions
show security flow session

Inspect authorized test flows and any applicable translation; narrow the output with the documented filters where possible.

Simulated / Troubleshooting example

Reading an interface check.

Illustration
This is a simulated, abbreviated example for learning; it was not captured from a firewall. Output varies by model and Junos release.
JUNOS / INTERFACE
user@srx> show interfaces ge-0/0/0 extensive
Physical interface: ge-0/0/0, Enabled, Physical link is Up
  Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps
  ... other output omitted ...
  Input errors:
    Errors: 0, Drops: 12, Framing errors: 0
  Output errors:
    Errors: 0, Drops: 0
  ... other output omitted ...
01

Physical link is Up means the port has a link; it does not establish that traffic can reach its destination.

02

Speed should match the agreed handoff and the connected device.

03

Input drops show a counter in this example. Record it and check again to see whether it increases during the problem.

The values are invented for this illustration. Juniper documents SRX interface output and counter definitions. Check the meaning of each counter on your platform.

Errors or missing responses are leads, not a complete diagnosis. Confirm whether counters are increasing, what each counter means for the platform, and whether the same symptoms occur at the handoff. Avoid clearing counters before recording them. If only names fail, check DNS separately.

Test the path, not just the port.

Port speed is not a guarantee of firewall throughput with the enabled security features, VPNs, logging, packet sizes, and session volume. Check the model and workload, inspect device resources and interface utilization during the problem, and consider short bursts that may not appear in a five-minute average.

For a coordinated throughput test, use separate capable client and server machines across the path. An authorized iperf3 test with parallel streams can help, but both endpoints and every device in the path must be capable of the target rate. It can consume production capacity. See our performance guide for directions and limitations.

Record the evidence.

  • Circuit identifier, service address, physical and logical interface, SRX model, and Junos release.
  • Start and end times with time zone, affected applications and users, and any recent changes.
  • Link state and speed, and physical-interface counter changes on each accessible side.
  • Relevant routing instance, route, zone policy, NAT, and session findings for an authorized test flow.
  • Test source, destination, address family, method, wired or VPN path, and HA state when relevant.

Share sensitive network details only through an approved channel. For Stealth service, contact support@stealth.net or +1 212 232 2020; involve your Juniper administrator or support for device-specific questions.

Sources and further reading.

These Juniper references cover the concepts and operational commands discussed here. Select documentation for your model and Junos release.

Configuration

Interfaces and routes

Security

Zones, policy, and NAT

Troubleshooting

Interfaces and sessions

Prepared by Stealth Communications, a provider of business connectivity. Juniper Networks, SRX, and Junos are names of their respective owner. This independent guide does not replace your service order or the vendor’s instructions.