Skip to main content
nknit
New Member
Mar 12, 2021 3:55 PM UTC
Solved

Can not ping tunnel interface IPs

Hello,

 

i try to ping between 2 ipsec tunnel IPs, but it does not work.

I have a FGT 101-E with these config:

config system interface

edit "VPN_W" set vdom "root" set ip 10.102.0.6 255.255.255.255 set allowaccess ping set type tunnel set remote-ip 10.102.0.5 255.255.255.255 set snmp-index 42 set interface "wan2" next end

 

and a FGT 60-D with these config:

config system interface

edit "VPN_N" set vdom "root" set ip 10.102.0.5 255.255.255.255 set allowaccess ping https http set type tunnel set remote-ip 10.102.0.6 255.255.255.255 set alias "VPN-Verbindung zur N" set snmp-index 15 set interface "wan1" next end

 

If i try to execute ping 10.102.0.6 an FGT 60-D or execute ping 10.102.0.5 on FGT 101-E, it does not work.

Am i correct in the assumption, that i do not need any policy, because ping is enabled at the interface?

 

Thanks

 

Markus

    Toshi_Esumi
    SuperUser
    Apr 27, 2021 4:11 PM UTC

    What did you configur in phase2? Using the default 0/0<->0/0, then you don't have to do anything extra and should be able to ping the opposite side. But if you set anything narrower than the default, you the set of selectors need to include 10.102.0.5/32<->10.102.0.6/32.

    Routing is not an issue because it's automatically injected into the routing-table.

    6 replies

    Toshi_Esumi
    SuperUser
    SuperUser
    Mar 12, 2021 4:14 PM UTC

    Those pings go inside the tunnel, therefore the tunnel needs to be up. I don't remember exactly but I think the tunnel doesn't come up without associating policies on both sides. Is there any reason you need not to have policies to test a new tunnel?

    Translate
    nknit
    nknitAuthor
    New Member
    Mar 16, 2021 9:14 AM UTC

    Hello Toshi,

     

    thanks for reply.

    I'm loking for a way to check the tunnel without the need of systems behind the tunnel endpoints. Ping between the nets behind the tunnel is possible, but i want to ping the IPs of tunnel interfaces.

    Is it possible from the firewall?

     

    Thanks

     

    Markus

    Translate
    Toshi_Esumi
    SuperUser
    SuperUser
    Mar 16, 2021 4:02 PM UTC

    Did you add the tunnel IP set for the phase2 net selectors?

    Translate
    nknit
    nknitAuthor
    New Member
    Apr 27, 2021 10:00 AM UTC

    Hello Toshi,

     

    thanks for your answer, but I don't know what you mean. Do I need a phase2 for a transfer net between the IPs I've set at the tunnel interfaces? And what should be local and remote net?

    I've change at the tunnel interface the remote IP Netmask to 255.255.255.252. I can see it at the routing table of my firewall, the net ist directlyconnected to the VPN Interface. I have a local policy for ping from these interface, but I can not ping.

    What did I miss? Or is it not possible to ping the remote-ip?

     

    Thanks

     

    Markus

    Translate
    Toshi_Esumi
    SuperUser
    SuperUser
    Apr 27, 2021 4:11 PM UTC

    What did you configur in phase2? Using the default 0/0<->0/0, then you don't have to do anything extra and should be able to ping the opposite side. But if you set anything narrower than the default, you the set of selectors need to include 10.102.0.5/32<->10.102.0.6/32.

    Routing is not an issue because it's automatically injected into the routing-table.

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024