Skip to main content
yancha67
New Member
Mar 10, 2023 1:34 PM UTC
Question

Can't ping from FortiGate to client connected to FortiSwitch

We adopted a Fortiswitch via the Fortilink and created a VLAN, the VLAN is untagged on the switch port and connected a PC

I can ping from the machine to the Fortigate which is the gateway for that VLAN but I can't ping from the FortiGate to the machine. I also turned DHCP on that VLAN and the PC got an IP but could not ping from the FortiGate also.

I am missing something stupid probably, but can't figure it out.

Thanks for the help in advance

3 replies

asengar
Staff
Staff
Mar 10, 2023 2:31 PM UTC

Hi Yancha,

 

Can you share the output of below command to verify if packet is sent out from Firewall

dia sniffer packet any 'host x.x.x.x' 4 0 a
where x.x.x.x is the IP address of the PC connected behind the fortiswitch

collect the logs while pinging from the PC to FGT and FGT to PC

Thanks

akanibek
Staff
Staff
Mar 10, 2023 2:39 PM UTC

I think on Windows workstation, ICMP-in is blocked on its Windows Firewall. Could you check it? 

https://activedirectorypro.com/allow-ping-windows-firewall/

PatrikS
New Member
Mar 17, 2023 2:08 PM UTC

When U ping from a Fortigate U ping from Fortigate default interface probably not the vlan interface.
And U dont have a role for allowing ping between the nets.
U have to set what interface U ping from. with cli : 
execute ping-options interface 192.168.1.254
<string> Auto | <outgoing interface>.
Set the Vlan interface on FGT as outgoing and try to ping 

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT