Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to ping the IPV6 interface on SRX



Article ID: KB22389 KB Last Updated: 25 Jun 2020Version: 3.0
 This article provides information on how to ping the IPV6 interface on SRX.
  1. Configure the interface with the IPV6 address:
    root# set interfaces ge-0/0/0 unit 0 family inet6 address 2001:0660::a/64
  2. Configure the interface in the zone and allow the host inbound service as in a normal IPV4:
    root# set security zones security-zone untrust interfaces ge-0/0/0.0
    root# set security zones security-zone untrust host-inbound-traffic system-services ping
  3. Now if it was an IPV4 address, it would be pinging; but for IPV6 it fails.
    root> ping inet6 2001:660::a 
    PING6(56=40+8+8 bytes) 2001:660::a --> 2001:660::b
    --- 2001:660:1000:8c00::a ping6 statistics ---
    4 packets transmitted, 0 packets received, 100% packet loss

  4. Now this is very important and different from the normal IPV4 ping. You have to enable IPV6 flow in the security forwarding-options and then reboot the device.
    root# set security forwarding-options family inet6 mode flow-based
    root# exit
    root> request system reboot
    root> ping inet6 2001:660:1000:8c00::a 
    PING6(56=40+8+8 bytes) 2001:660::a --> 2001:660::b
    16 bytes from 2001:660::a, icmp_seq=0 hlim=64 time=9.474 ms
    16 bytes from 2001:660::a, icmp_seq=1 hlim=64 time=13.399 ms
    16 bytes from 2001:660::a, icmp_seq=2 hlim=64 time=8.276 ms
    --- 2001:660::a ping6 statistics ---
    3 packets transmitted, 3 packets received, 0% packet loss
    round-trip min/avg/max/std-dev = 8.276/10.383/13.399/2.188 ms
Modification History:

2020-06-25: Article reviewed for accuracy; no changes required.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search