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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FreeBSD web server can not access net

Status
Not open for further replies.

bash3r

Technical User
Oct 13, 2001
46
US
I have a FreeBSD 4.4 server that I can not ping outside of my LAN space, nor ping from the internet. From this server I can ping the router, but nothing past it. Also, from my internal network I can ping this server. Here is my rc.conf file (ips have been changed) and I have my nameservers in the resolv.conf, but nslookup fails of course.

rc.conf:
hostname="webserver"
ifconfig_xl0="inet 76.76.76.76 netmask 255.255.255.240"
defaultrouter="76.76.76.1 netmask 255.255.255.240"
inetd_enable="NO"
ipv6_enable="NO"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="NO"
moused_type="NO"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"

Any suggestions ???? THanks!
 
in your rc.conf
try the following...

hostname="webserver"
ifconfig_xl0="inet 76.76.76.76 netmask 255.255.255.240"
defaultrouter="76.76.76.1"


also make sure that you have access through the router to the outside..

Plus make sure that you have not run out of hosts on your subnet, you are limited to the number of nodes on your internal network.
if i am right you have 14 hosts per subnet...

 
I would have to agree with masterstech, your ip address is out of the router's range. The valid ranges for this subnet would be 76.76.76.1 - 76.76.76.15 (0=network, 16=broadcast).
Someone please correct me if I am wrong(I suck at math).

I assume all other hosts can ping the outside?

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top