Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FreeBSD Server not pingable

Status
Not open for further replies.

ichybod

ISP
Joined
Mar 28, 2003
Messages
2
Location
US
I am implementing a new network. I have a mixed lan with some Windows boxes and some unix. my windows servers come up and are pingable from outside but my freebsd servers are not. I changed the ip with ifconfig and set a route to the gateway but still can't reach the server with a ping either from inside the public class or from outside the public IP's.

Is there something else I need to do to make the unix box visible? This is one of 2 name servers we run with freebsd and if I get this one going then I have to port over the second name server.

Thanks.

Mike
 
Hello..
A few things to check, I aways start at layer 1. Is it connected to your network correctly, check cables, termination, etc. Then move to layer 2, are the network cards funtioning correctly on the box, are the ports on the switch functioning. Test loopback, ping 127.0.0.1, then ping its IP address from the box. If you can ping its IP then the NIC is working.

Do a ipconfig -a, you should see something like:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<rxcsum,txcsum>
inet 1.2.3.4 netmask 0xfffffff0 broadcast 1.2.3.127
ether aa:bb:00:cc:44:dd
media: Ethernet autoselect (100baseTX)
status: active

Make sure the interface is UP, see the first line. Then check the status as well. Active or Not conencted?

Next check a few configs on the box, check the rc.conf file:
ee /etc/rc.conf
You need to have a few lines:
defaultrouter=&quot;1.2.3.3&quot; #IP address of your router or gateway.
ifconfig_xl0=&quot;inet 1.2.3.4 netmask 255.255.255.240&quot; #IP address of the box and its subnet.

Sorry if this hits on stuff you already know or checked but I wanted to cover all areas. If you check these things and still nothing, make sure you are using the correct drivers for you NIC card, or use a different NIC. Also, aways check your logs: /var/log/messages, also check dmesg.

Hope this helps you or someone else.

 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top