From owner-freebsd-stable@FreeBSD.ORG Wed Jul 16 13:29:50 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8071037B401; Wed, 16 Jul 2003 13:29:50 -0700 (PDT) Received: from octo.sytes.net (h24-86-191-15.ed.shawcable.net [24.86.191.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15CAF43F93; Wed, 16 Jul 2003 13:29:49 -0700 (PDT) (envelope-from otacon@octo.sytes.net) Received: from octo.sytes.net (localhost [127.0.0.1]) by octo.sytes.net (8.12.9/8.12.9) with ESMTP id h6GKTlM5001104; Wed, 16 Jul 2003 14:29:48 -0600 (MDT) (envelope-from otacon@octo.sytes.net) Received: from localhost (localhost [[UNIX: localhost]]) by octo.sytes.net (8.12.9/8.12.9/Submit) id h6GKTl5Z001103; Wed, 16 Jul 2003 14:29:47 -0600 (MDT) From: Patrick C To: freebsd-ipfw@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Date: Wed, 16 Jul 2003 14:29:47 -0600 User-Agent: KMail/1.5.2 References: <200307161251.03252.patrick@filespanker.com> In-Reply-To: <200307161251.03252.patrick@filespanker.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307161429.47551.patrick@filespanker.com> Subject: Re: routing to localhost X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: patrick@filespanker.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 20:29:50 -0000 Fixed. I wasn't aware I needed network_interfaces="rl0 lo0" in /etc/rc.conf. I realize they're not needed at all now. On July 16, 2003 12:51 pm, Patrick C wrote: > For reasons unknown, any connections to localhost -- tcp, icmp, or udp -- > are all originating from my external interface, rl0: > > > $ telnet localhost 25 > Trying ::1... > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Can't assign requested address > telnet: Unable to connect to remote host > > IPFW log: > Jul 16 12:46:43 octo ipfw: 100 Accept TCP 192.168.1.119:1434 127.0.0.1:25 > out via rl0 > > > $ ping localhost > PING localhost (127.0.0.1): 56 data bytes > ping: sendto: Can't assign requested address > > > $ netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGSc 29 198 rl0 > 172.16.0.1 00:50:bf:5a:ec:b0 UHLW 0 74 lo0 => > 172.16.0.1/32 link#1 UC 1 0 rl0 > 172.16.0.2 00:50:bf:5a:ec:b0 UHLW 0 524 lo0 => > 172.16.0.2/32 link#1 UC 1 0 rl0 > 172.16.0.3/32 link#1 UC 0 0 rl0 > 192.168.1 link#1 UC 2 0 rl0 > 192.168.1.1 00:06:25:82:82:49 UHLW 30 12 rl0 1189 > 192.168.1.119 00:50:bf:5a:ec:b0 UHLW 0 20 lo0 > > > I notice there is no way entry for 127.0.0.1. How can I add one? > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"