From owner-freebsd-questions Sun Oct 22 17:15:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pandora.chariot.net.au (mail.chariot.net.au [203.30.236.84]) by hub.freebsd.org (Postfix) with ESMTP id 7429F37B479 for ; Sun, 22 Oct 2000 17:15:55 -0700 (PDT) Received: from ppp-061.cust210-9-18.ghr.chariot.net.au (ppp-061.cust210-9-18.ghr.chariot.net.au [210.9.18.61]) by pandora.chariot.net.au (8.10.0/8.10.0) with ESMTP id e9N0FPl22206 for ; Mon, 23 Oct 2000 09:45:31 +0930 Date: Mon, 23 Oct 2000 09:45:34 +0930 (CST) From: Trevor Nichols To: freebsd-questions@freebsd.org Subject: routing problems locally Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I don't know what causes it but the routing that's automatically generated for rl0 IP addresses is bad causing the machine to not be able to use any of the local addresses. [20:11:29 (root@cjhost):~]# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 209.61.157.193 UGSc 71 3488 rl0 64.39.10.136 64.39.10.136 UH 0 0 rl0 => 64.39.10.136/32 link#1 UC 0 0 rl0 64.39.10.137 64.39.10.137 UH 0 0 rl0 => 64.39.10.137/32 link#1 UC 0 0 rl0 64.39.10.138 64.39.10.138 UH 0 0 rl0 => 64.39.10.138/32 link#1 UC 0 0 rl0 64.39.10.139 0:e0:7d:8c:a1:a UHLW 2 25 lo0 => 64.39.10.139/32 link#1 UC 0 0 rl0 64.39.10.140 64.39.10.140 UH 0 0 rl0 => 64.39.10.140/32 link#1 UC 0 0 rl0 127.0.0.1 127.0.0.1 UH 8 74045 lo0 You'll notice the gateway for 64.39.10.136 is 64.39.10.136, same with all except .139. I did 'route delete -host 64.39.10.139' and it recreated it as shown above. I can't ping .136 or anything but I can now ping .139. The machine is a FreeBSD 3.4 machine. We are planning to upgrade soon. [20:17:06 (root@cjhost):~]# ifconfig -a rl0: flags=8843 mtu 1500 inet 209.61.157.228 netmask 0xffffffc0 broadcast 209.61.157.255 inet 64.39.10.136 netmask 0xffffffff broadcast 64.39.10.255 inet 64.39.10.137 netmask 0xffffffff broadcast 64.39.10.255 inet 64.39.10.138 netmask 0xffffffff broadcast 64.39.10.255 inet 64.39.10.139 netmask 0xffffffff broadcast 64.39.10.255 inet 64.39.10.140 netmask 0xffffffff broadcast 64.39.10.255 ether 00:e0:7d:8c:a1:0a media: autoselect supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP Should we have these IP addresses on lo0 instead of rl0? Any suggestions much appreciated (because I don't want to have to do route delete -host IP all the time :) -Trev. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message