Skip to main content
Codedx
New Member
October 22, 2023
Question

Cant ping the internet after PPPOE is up

  • October 22, 2023
  • 3 replies
  • 1818 views

Screenshot 2023-10-22 140212.png

3 replies

JotaSantos
Explorer
October 22, 2023

Check if the WAN interface allows ping

set allowaccess ping 

xshkurti
Staff
Staff
October 22, 2023

@Codedx 
Try to initiate a ping from WANx interface

# exe ping-options interface wanx

# exe ping 8.8.8.8

 

If that doesn't work it means that connection with ISP is not properly configured.
If that works, it means that Firewall Policy or NAT is not properly configured in FortiGate.

 

@xshkurti 

KumarV
Staff
Staff
October 22, 2023

Hello @Codedx 

1) Try to ping the gateway first from the Wan interface.

#execute ping-options source <wanx IP>

#execute ping  <gateway IP>

 

If it doesn't work then there is a problem in the PPPOE config. But if it works then try to initiate the ping from 192.168.100.121 to 8.8.8.8 and run the sniffer on the fortigate to check if the traffic is leaving the fortigate or not.

#di sniffer packet any "host 8.8.8.8 and icmp" 4 0 l

 

the above command will show you the output if it shows you just the IN packets that means you might be missing a policy or static route then you further have to run the debugs in order to check the root cause.

 

Best regards,

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
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