From owner-freebsd-isp Wed Nov 3 7:27: 3 1999 Delivered-To: freebsd-isp@freebsd.org Received: from ns1.walls-media.com (ns1.walls-media.com [12.6.126.2]) by hub.freebsd.org (Postfix) with ESMTP id 3B2CB14EBB for ; Wed, 3 Nov 1999 07:26:57 -0800 (PST) (envelope-from bryanb@walls-media.com) Received: from ntwksbry ([12.6.126.58]) by ns1.walls-media.com (Post.Office MTA Undefined release Undefined ID# 0-0U10L2S100V35) with SMTP id com for ; Wed, 3 Nov 1999 09:24:56 -0600 From: "Bryan Bunch" To: Subject: Routing Question.. Date: Wed, 3 Nov 1999 09:25:09 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello All, I have a strange routing situation that I hope someone can help me with. First off, here's my config. Currently have three networks: 1.2.3.0 2.3.4.0 6.7.8.0 I have two routers on the network that have a primary and secondary address attached to their ethernet interfaces (Cisco 2501). Router 1: 1.2.3.1 2.3.4.1 - secondary Default route statement for above router: ip route 6.7.8.0 255.255.255.0 2.3.4.3 Router 2: 6.7.8.254 2.3.4.3 - secondary Default route statement for above router: ip route 1.2.3.0 255.255.255.0 2.3.4.1 I have a 3.3-STABLE box that has the following addressing: ifconfig_tl0="inet 6.7.8.2 netmask 255.255.255.0" ifconfig_tl0_alias0="inet 1.2.3.185 netmask 255.255.255.255" # Sample alias entry. defaultrouter="6.7.8.254" On any machine on the local network everything works fine, I can get to both addresses on the above box. But if I am on a machine that is outside of my network I can only get to the 6.7.8.2 interface, I cannot ping the 1.2.3.185 interface. Again, everything works fine from the local network. Interestingly enough, if I change my config to: ifconfig_tl0="inet 1.2.3.185 netmask 255.255.255.0" ifconfig_tl0_alias0="inet 6.7.8.2 netmask 255.255.255.255" # Sample alias entry. defaultrouter="1.2.3.185" Everything works fine both inside and outside of the network. What am I missing? Any help is greatly appreciated. Bryan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message