Static IP issue.

Edmund Craske edmund at m00is.net
Sat Sep 28 18:42:58 BST 2002


Isn't the netmask supposed to be 4 bytes (ie 0xffff0000)?
-----Original Message-----
From: freebsd-users-admin at uk.freebsd.org
[mailto:freebsd-users-admin at uk.freebsd.org] On Behalf Of Abdul Salam K
Sent: 28 September 2002 15:24
To: freebsd-users at freebsd-uk.eu.org
Subject: Static IP issue.


Hi..

I have installed and configured freeBSD without much of a hassle. After
installation I issued a static IP address on the system. I added the
follwing line in "rc.conf" 

ifconfig_rl0="inet 172.16.1.53 netmask 0xffff00"

and commented the line below.

#ifconfig_rl0="DHCP"

I am able to ping the ip address internally. But, I can't get to the
system from outside the firewall (Which is a seperate machine). This ip
address is mapped to 217.33.114.53 on firewall. I am able to ping this
IP from outside machine (ping 217.33.114.53). Since apache server is
running on the server you should be getting this by clicking this link
http://217.33.114.53 (Port 80 is opened in the firewall). But, this
doesn't seems to be working. Is there anything more I have to set-up. Do
I need to specify our dns server IP anywhere. if yes, where should I
enter it.

Thanks in advance.

-Abdul Salam






More information about the Ukfreebsd mailing list