Hi,
I've had FreeBSD (currently 12) running on an older AMD server for several years now. A few weeks back my Wifi router (and central router) died so I replaced it. The new router defaulted IP Addresses to 192.168.50.x, whereas I was running 192.168.1.x previously (both have cidr /24). Because most of my home network uses DHCP the transition was largely automatic, except for my FreeBSD server. "No problem" I says to myself. "I is smrt and goods at networkin'".
So, first I adjusted the IP address and for the main host (jail 0) in rc.conf:
I was able to ping the new router without issue so I swaped over all my jails via iocell (note my complete failure as a systems engineer to check the WAN before continuing?). My main Ethernet adapter now looks like this:
All jails (and the host) can see and ping each other and other computers on the network as well as the main router that's connected to my cable modem. Internet access is fine with all my other computers and a static IP test on a different freebsd instance (ghostbsd actually) was successful. However, this is the result I get when ping testing from my FreeBSD server:
I am baffled. Can anyone suggest what I have forgotten/done wrong/failed to consider or otherwise flubbed?
Hat in Hand,
dinsdale
I've had FreeBSD (currently 12) running on an older AMD server for several years now. A few weeks back my Wifi router (and central router) died so I replaced it. The new router defaulted IP Addresses to 192.168.50.x, whereas I was running 192.168.1.x previously (both have cidr /24). Because most of my home network uses DHCP the transition was largely automatic, except for my FreeBSD server. "No problem" I says to myself. "I is smrt and goods at networkin'".
So, first I adjusted the IP address and for the main host (jail 0) in rc.conf:
Code:
russellh@sylvester:~> cat /etc/rc.conf
clear_tmp_enable="YES"
hostname="sylvester"
ifconfig_igb0="inet 192.168.50.2 netmask 255.255.255.0"
ifconfig_igb0_ipv6="inet6 accept_rtadv"
defaultrouter="192.168.50.1"
sshd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
iocell_enable="YES"
I was able to ping the new router without issue so I swaped over all my jails via iocell (note my complete failure as a systems engineer to check the WAN before continuing?). My main Ethernet adapter now looks like this:
Code:
russellh@sylvester:~> ifconfig igb0
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:25:90:70:d3:70
inet 192.168.50.2 netmask 0xffffff00 broadcast 192.168.50.255
inet 192.168.50.6 netmask 0xffffff00 broadcast 192.168.50.255
inet 192.168.50.8 netmask 0xffffff00 broadcast 192.168.50.255
inet6 fe80::225:90ff:fe70:d370%igb0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
All jails (and the host) can see and ping each other and other computers on the network as well as the main router that's connected to my cable modem. Internet access is fine with all my other computers and a static IP test on a different freebsd instance (ghostbsd actually) was successful. However, this is the result I get when ping testing from my FreeBSD server:
Code:
#First the default router
russellh@sylvester:~> ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1): 56 data bytes
64 bytes from 192.168.50.1: icmp_seq=0 ttl=64 time=9.040 ms
64 bytes from 192.168.50.1: icmp_seq=1 ttl=64 time=6.045 ms
64 bytes from 192.168.50.1: icmp_seq=2 ttl=64 time=3.753 ms
64 bytes from 192.168.50.1: icmp_seq=3 ttl=64 time=4.721 ms
^C
--- 192.168.50.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.753/5.890/9.040/1.992 ms
#Now the WAN
russellh@sylvester:~> ping freebsd.org
PING freebsd.org (96.47.72.84): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- freebsd.org ping statistics ---
7 packets transmitted, 0 packets received, 100.0% packet loss
russellh@sylvester:~> cat /etc/r
rc rc.conf rc.d/ rc.initdiskless rc.sendmail rc.subr regdomain.xml resolv.conf rmt@
rc.bsdextended rc.conf.d/ rc.firewall rc.resume* rc.shutdown rc.suspend* remote resolv.conf.bak rpc
russellh@sylvester:~> cat /etc/resolv.conf
search uniserve.com
nameserver 192.168.50.1
I am baffled. Can anyone suggest what I have forgotten/done wrong/failed to consider or otherwise flubbed?
Hat in Hand,
dinsdale