IP Address not working?

John Almberg jalmberg at identry.com
Fri Mar 25 12:56:34 UTC 2011

I have a Freebsd box that has had just one IP address for a long time. I 
am trying to add another to run a website with it's own IP, ssl cert, 
etc. I've added IP addresses to boxes before without problem, but either 
this box has a problem, or I've forgotten something important (probably 
the latter.)

on# uname -a
FreeBSD on.identry.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 
07:18:07 UTC 2009     
root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I have the new address ( configured:

on# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
     ether 00:0e:0c:ea:af:c2
     inet netmask 0xffffffc0 broadcast
     inet netmask 0xffffffff broadcast
     media: Ethernet autoselect (100baseTX <full-duplex>)
     status: active

The interface responds to pings:

$ ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=20 time=16.474 ms

And IFF I am logged into the server I can access the website using lynx, 
or by using telnet to access the page:

on# telnet test.gradedstamps.com 80
Connected to test.gradedstamps.com.
Escape character is '^]'.
GET /test.html HTTP/1.1
host: test.gradedstamps.com

HTTP/1.1 200 OK
Date: Fri, 25 Mar 2011 12:25:40 GMT
Server: Apache/2.2.14 (FreeBSD) mod_ssl/2.2.14 OpenSSL/0.9.8e PHP/5.2.12 
with Suhosin-Patch
Last-Modified: Fri, 25 Mar 2011 12:17:16 GMT
ETag: "439155-63-49f4d93188b00"
Accept-Ranges: bytes
Content-Length: 99
Content-Type: text/html

<title>Test Page</title>
     Hello, world

However, I cannot access the website from outside the box, even with PF 
turned off:

~ 510 $ telnet test.gradedstamps.com 80
telnet: connect to address Connection refused
telnet: Unable to connect to remote host
~ 511 $

I'm stumped. Can anyone give me a clue where to look next?

Thanks:  John

More information about the freebsd-questions mailing list