Freebsd 15 ICMP issue

Hello,

I am rookie in Freebsd, currently installed Freebsd 15 trough Virtualbox to test some stuff like monitoring software.

I've noticed i cannot ping outside of my LAN. Currently on bridged adapter, switched from Adapter type: Intel PRO/1000 MT Desktop (82540EM) to Paravirtualized Network (virtio-net) with both i couldnt get pinging to work from outside my LAN. Tried with NAT and still theres no resolve to this issue.

Internet is working on the Freebsd i can do fetch and it works, my monitoring tool nagios i changed the commands to check_tcp instead of ping and it works, i just cannot understand why i cannot ping from the freebsd itself. I have not done anything in the firewall and its off.
Currently on paravirtualized:
netstat -rn
Routing tables

Internet:
Destination Gateway Flags Netif Expire
default 192.168.0.1 UGS vtnet0
127.0.0.1 link#2 UH lo0
192.168.0.0/24 link#1 U vtnet0
192.168.0.158 link#2 UHS lo0


tcpdump -n -i vtnet0 icmp
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on vtnet0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
05:35:20.880041 IP 192.168.0.158 > 8.8.8.8: ICMP echo request, id 19737, seq 0, length 64
05:35:21.946071 IP 192.168.0.158 > 8.8.8.8: ICMP echo request, id 19737, seq 1, length 64
05:35:23.018665 IP 192.168.0.158 > 8.8.8.8: ICMP echo request, id 19737, seq 2, length 64

Tried - ifconfig vtnet0 -rxcsum -txcsum -tso -lro still nothing.

nc -vz 8.8.8.8 53
Connection to 8.8.8.8 53 port [tcp/domain] succeeded!

cat /etc/rc.conf
ifconfig_vtnet0="DHCP"
#ifconfig_em0_ipv6="inet6 accept_rtadv"
 
Back
Top