service netif restart
I can ping things on my local network but nothing else. And after that, if I do service routing restart
, I can thing ping the rest of the world. Doing service -e
showed that netif had been started, even before I issued the restart command. But when I reboot, networking stops working again.# Set the host name
hostname="haleru.tonneson.org"
# Configure ipv4
ifconfig_re0="inet 192.168.1.21 netmask 0xffffff00"
defaultrouter="192.168.1.1"
# Configure ipv6
ifconfig_re0_ipv6="inet6 accept_rtadv"
# Enable secure shell
sshd_enable="YES"
# Sync the clock
#ntpdate_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
# Start the web server
apache24_enable="YES"
apache24_http_accept_enable="YES"
# Enable ZFS
zfs_enable="YES"
# Disable sendmail
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
# Enable ssmtp for outgoing mail
ssmtp_enable="YES"
# Enable the AMD built-in GPU and Linux compatibility
kld_list="acpi_video amdgpu linux"
# Enable interprocess communication
dbus_enable="YES"
# Enable the Common Unix Print System
cupsd_enable="YES"
# Invoke the local devfs rule (see /etc/devfs.rules) needed by CUPS.
devfs_system_ruleset="system"
# Enable linux compatibility
linux_enable="YES"
ubuntu_enable="NO"
# Use XDM to start FVWM
xdm_enable="YES"
# Create the RAM disk
ramdisk_enable="YES"
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS re0
127.0.0.1 link#2 UH lo0
192.168.1.0/24 link#1 U re0
192.168.1.21 link#2 UHS lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 link#2 URS lo0
default fe80::fa8f:caff:fe1b:2bec%re0 UG re0
::1 link#2 UHS lo0
::ffff:0.0.0.0/96 link#2 URS lo0
2605:a601:afeb:d901::/64 link#1 U re0
2605:a601:afeb:d901:5a11:22ff:feb8:ea54 link#2 UHS lo0
fdaa:8852:88:1::/64 link#1 U re0
fdaa:8852:88:1:5a11:22ff:feb8:ea54 link#2 UHS lo0
fe80::%lo0/10 link#2 URS lo0
fe80::%re0/64 link#1 U re0
fe80::5a11:22ff:feb8:ea54%lo0 link#2 UHS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff02::/16 link#2 URS lo0
ntpdate_hosts=216.239.35.4
to /etc/rc.conf?ping 8.8.8.8
? Does nslookup google.com
work? What's in /etc/resolv.conf? ping google.com
or host google.com
service netif restart
service routing restart
service netif restart
service routing restart
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
$ ping 2001:4860:4860::8888
PING6(56=40+8+8 bytes) 2605:a601:afeb:d901:5a11:22ff:feb8:ea54 --> 2001:4860:4860::8888
^C
--- 2001:4860:4860::8888 ping6 statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=57 time=13.072 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=12.512 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
$ ping6 2001:4860:4860::8888
ping6: UDP connect: No route to host
ntpd
. Even if networking isn't working, it at least doesn't hang for 3 minutes at boot time like ntpdate
did.From the error of unsupported address family during the resolving of the ntp hostname.VladiBG, I'm not sure how you came to that conclusion
#ifconfig_re0_ipv6="inet6 accept_rtadv"
then reboot and verify the connectivity to your gateway with ping 192.168.1.1 if you have connection to your router at 192.168.1.1 then try next step and check if you can reach the DNS at 1.1.1.1 or your ISP provided DNS. service netif restart
and service routing restart
(sometimes I have to do both of those twice), at which point ipv4 works but ipv6 does not.re0
interface with commands such as ifconfig re0 -lro
, ifconfig re0 -rxcsum
, ifconfig re0 -txcsum
, etc..-rxcsum
a few ping responses would come through and then it would stop again. It did this for each of the following: -rxcsum
-rxcsum6
-txcsum
-txcsum6
. I turned the rest of them off, too, such that the only option left was VLAN_MTU. service netif restart
and service routing restart
, at which point ipv4 worked but ipv6 still did not.