Unable to Ping or SSHD on new install

Version FreeBSD 13

After clean install unable to ping or SSHD

Network setup :

System Config - Sony VAIO Laptop / i5 / 4 GB RAM / Integrated LAN

Internet / Network
> Modem Input - Fiber Optic type
> Wireless Router with Ethernet Wires
> Sony VAIO Laptop is wired to ISP box

Modem + Router Integrated, meaning Modem and Router is one box provided by ISP

After clean Install, FreeBSD does not pickup IP address supplied by DHCP which is the Modem + Router Box provided by ISP

Primary error - unknown dhcp option 0x7d

rc.conf changes -
set to SYNCDHCP
set static IP, using inet / netmask
SSHD is enabled
Tried resetting dhclient, no go

Ping to Default Gateway is 192.168.1.1 works
Ping From and To other systems on same network fails
nothing has worked, Ping fails that is the basic problem, let alone SSHD

On ISP Box (Modem + Router) Page -
FreeBSD system is listed with the set domain name and the default IP of FreeBSD 192.168.1.104 instead of ISP Box series of 192.168.1.X
Router series is 192.168.1.2 and so forth
Default Gateway is 192.168.1.1
 
Please show us the output of the commands:
  • ifconfig -a
  • arp -a
  • netstat -rn
  • cat /etc/rc.conf
Please show us the output of the commands:
  • ifconfig -a
  • arp -a
  • netstat -rn
  • cat /etc/rc.conf
Please show us the output of the commands:
  • ifconfig -a
  • arp -a
  • netstat -rn
  • cat /etc/rc.conf
Then networking works and the issue is somewhere else on your network. This doesn't make sense. Please elaborate.
Please show us the output of the commands:
  • ifconfig -a
  • arp -a
  • netstat -rn
  • cat /etc/rc.conf
Version FreeBSD 13 After clean install unable to ping or SSHD Network setup : System Config - Sony VAIO Laptop / i5 / 4 GB RAM / Integrated LAN Internet / Network > Modem Input - Fiber Optic type > Wireless Router with Ethernet Wires > Sony VAIO Laptop is wired to ISP box Modem + Router Integrated, meaning Modem and Router is one box provided by ISP After clean Install, FreeBSD does not pickup IP address supplied by DHCP which is the Modem + Router Box provided by ISP Primary error - unknown dhcp option 0x7d rc.conf changes - set to SYNCDHCP set static IP, using inet / netmask SSHD is enabled Tried resetting dhclient, no go Ping to Default Gateway is 192.168.1.1 works Ping From and To other systems on same network fails nothing has worked, Ping fails that is the basic problem, let alone SSHD On ISP Box (Modem + Router) Page - FreeBSD system is listed with the set domain name and the default IP of FreeBSD 192.168.1.104 instead of ISP Box series of 192.168.1.X Router series is 192.168.1.2 and so forth Default Gateway is 192.168.1.1
Please show us the output of the commands:
  • ifconfig -a
  • arp -a
  • netstat -rn
  • cat /etc/rc.conf
 

Attachments

I can't see any issues with your IP setup. Your FreeBSD system has an IP address of 192.168.1.7. It's netmask, broadcast address, and default gateway are all correct (given that your default gateway is 192.168.1.1).

You say "FreeBSD does not pickup IP address supplied by DHCP". What evidence do you have for this statement? If I had to guess, it looks to me like DHCP worked, but I can't be certain without seeing the logs ( grep DHCP /var/log/daemon.log looking for DHCPREQUEST followed by DHCPACK). Did you set the IP address (192.168.1.7) manually?

You say "Ping From and To other systems on same network fails". We need more information about the other systems. What are their IP addresses? If they are Unix/Linux systems show us the output of ifconfig (or ip a on linux). Show us the output of arp -a immediately after you try to ping them.

Edit: can you ping the default gateway (192.168.1.1) from the other systems?
 
I changed the setup, i will explain
When first installed, the FreeBSD system was wired to ISP box, Now this ISP box is a Modem+Wireless Router integrated.
- ISP Box > Fiber Optic cable goes In, and the Internet is Out via Wireless(2.4 & 5 Ghz) and 4 LAN Ports.

I somehow felt that the ISP box was creating issues, i change the setup with spare hardware i had.

Now the Modem and Router are separate hardware.
- ISP Box > This is just a Modem, Fiber Optic cable goes In, and the Internet is Out via a LAN Port.
- A Wireless Router (2.4 Ghz only) has 4 LAN ports. This is attached to ISP Box LAN Port.

Now with this setup a clean install was done,
IP via DHCP is acquired, Ping works, SSH works

However it would not be right to conclude that the ISP box is at fault, the reason i say this is because
Other Windows Laptops on the earlier ISP box, Wired or Wireless can -
  1. Get IP via DHCP
  2. Can Ping other systems on Network
  3. Can ping Router
But with FreeBSD system all of this fails except that it can successfully ping Router

You asked - Did you set the IP address (192.168.1.7) manually?
Yes, i had made changes to rc.conf file

All other systems are Wired / Wirless laptop connected to Router and run Windows.

Please help me figure out what could be the possible router setting / FreeBSD setting
 
The way to diagnose a problem like this is to methodically gather diagnostic information, and when the time comes to make a change, to change just one thing at a time.

You are changing too many things at once, and not providing information consistent with your actual configuration. e.g. the copy of /etc/rc.conf you provided clearly indicated IP acquisition by DHCP, but you set the IP address manually and didn't tell us that until I asked.

There was nothing wrong with the FreeBSD setup, assuming that your default gateway was 192.168.1.1.

Since you have abandoned your previous setup, without answering all the questions in my last post, the opportunity to diagnose the problem has gone.
 
It's confusing and mixes up settings. A starting point is needed. If you use fixed IP, check that you have nameserver x.x.x.x in /etc/resolv.conf, and that your router does not have those lower IPs reserved. A blow.

cat.txt: (rc.conf?)
hostname="meghpal.in"
ifconfig_re0="DHCP"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"

# Right way:
wlans_re0="wlan0"
ifconfig_wlan0="DHCP"

 
Primary error - unknown dhcp option 0x7d
Apparently some providers have configured their DHCP servers to supply a custom DHCP option ("V-I Vendor-Specific Information").


And with basically two ISP routers on your network, make sure only ONE is serving DHCP. Turn the DHCP service off on the other modem/router. That might be the other part of your issue. Two competing DHCP services, each with its own range and settings configured. That's going to cause lots of weird issues.
 
Box can ping to the router, but not outside.

First test pinging to some sitename (google.com is always `up`) and some external IP; are www and mail both affected? does a ping to another box in the house work? and from another box to yours?

Possible causes that I encountered, things to check in order of causing trouble here:
  1. static IP on the box and DHCP on the router or vice versa;
  2. static IP on the box is already given on the router (box IP not reserved on the router);
  3. static IP on the box is in a reserved range on the router;
  4. new box / wifi / wifi dongle has different MAC address, router refuses old static IP (that belongs to another MAC address);
  5. connection confusion when both ETH-cabled and wifi connection to the router is used with the same static IP (same IP, but different MAC addresses from ETH and wifi);
  6. router settings for new/changed clients are default set restrictive (time, connections, URLs);
When you can't find the cause you can reset the router and start with DHCP connections only. When that works just make a static connection for your box. Don't forget to comment `# ` the right lines in your /etc/rc.conf.

There might be smarthones in the house that constantly change their MAC and IP address and so block your static IP access. Ask the owners to switch that off or wait until they are not in wifi-range. (took me some time to discover that anoying security feature here...)
 
Back
Top