Date: Fri, 25 Mar 2011 08:29:59 -0400 From: John Almberg <jalmberg@identry.com> To: freebsd-questions@freebsd.org Subject: IP Address not working? Message-ID: <4D8C8AC7.9020209@identry.com>
next in thread | raw e-mail | index | archive | help
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@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I have the new address (66.111.0.251) configured: on# ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> ether 00:0e:0c:ea:af:c2 inet 66.111.0.250 netmask 0xffffffc0 broadcast 66.111.0.255 inet 66.111.0.251 netmask 0xffffffff broadcast 66.111.0.251 media: Ethernet autoselect (100baseTX <full-duplex>) status: active The interface responds to pings: $ ping 66.111.0.251 PING 66.111.0.251 (66.111.0.251): 56 data bytes 64 bytes from 66.111.0.251: 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 Trying 66.111.0.251... 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 <html> <head> <title>Test Page</title> </head> <body> Hello, world </body> </html> However, I cannot access the website from outside the box, even with PF turned off: ~ 510 $ telnet test.gradedstamps.com 80 Trying 66.111.0.251... telnet: connect to address 66.111.0.251: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D8C8AC7.9020209>