From owner-freebsd-net Fri Dec 7 13:22:18 2001 Delivered-To: freebsd-net@freebsd.org Received: from munin.odin-corporation.com (munin.odin-corporation.com [216.233.173.18]) by hub.freebsd.org (Postfix) with ESMTP id 78F6137B416 for ; Fri, 7 Dec 2001 13:22:07 -0800 (PST) Received: from odin-corporation.com (localhost [127.0.0.1]) by munin.odin-corporation.com (8.11.3/8.11.1) with ESMTP id fB7LM1Q35635 for ; Fri, 7 Dec 2001 15:22:01 -0600 (CST) (envelope-from lars@odin-corporation.com) Message-ID: <3C1132F8.AF4BF927@odin-corporation.com> Date: Fri, 07 Dec 2001 15:22:01 -0600 From: Lars Fredriksen Organization: Odin Corporation X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: no, en MIME-Version: 1.0 To: net@freebsd.org Subject: specifying interface to route command broken?? Content-Type: multipart/mixed; boundary="------------E8145C52065AA3D67DCADF36" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------E8145C52065AA3D67DCADF36 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > Hi, > > I am probably screwing something up :-) > > netstat -rn shows: > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > 127.0.0.1 127.0.0.1 UH 4 31 lo0 > aaa.bbb.ccc.16/28 link#5 UC 1 0 wi0 => > > aaa.bbb.ccc.17 aaa.bbb.ccc.27 UHS 1 0 wi0 > > ifconfig -a shows: > > fxp0: flags=8802 mtu 1500 > inet aaa.bbb.ccc.26 netmask 0xfffffff0 broadcast 216.233.173.31 > ether 08:00:46:05:95:32 > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP 100baseTX > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > wi0: flags=8843 mtu 1500 > inet aaa.bbb.ccc.27 netmask 0xfffffff0 broadcast 216.233.173.31 > ether 00:02:2d:3a:4c:fd > > I am trying to add a default route to go to aaa.bbb.ccc.17 via the wi0 > interface, but it appears that since the fxp0 interface was configured > first (even though it is down at the moment) that the route always ends > up going through it! > > I tried: > > route add -ifa aaa.bbb.ccc.27 default aaa.bbb.ccc.17 > > but the default route still showed up as going through the fxp0 > interface. Anyone see what I might be doing wrong with the route command > here, or is it broken? This is on current as of 05/01/01.... > > Lars --------------E8145C52065AA3D67DCADF36 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from localhost (localhost) by munin.odin-corporation.com (8.11.3/8.11.1) id fB7LCfQ35562; Fri, 7 Dec 2001 15:12:41 -0600 (CST) (envelope-from MAILER-DAEMON) Date: Fri, 7 Dec 2001 15:12:41 -0600 (CST) From: Mail Delivery Subsystem Message-Id: <200112072112.fB7LCfQ35562@munin.odin-corporation.com> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="fB7LCfQ35562.1007759561/munin.odin-corporation.com" Subject: Returned mail: see transcript for details Auto-Submitted: auto-generated (failure) X-Mozilla-Status2: 00000000 This is a MIME-encapsulated message --fB7LCfQ35562.1007759561/munin.odin-corporation.com The original message was received at Fri, 7 Dec 2001 15:12:40 -0600 (CST) from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- (reason: 550 Host unknown) ----- Transcript of session follows ----- 550 5.1.2 ... Host unknown (Name server: freebsd: host not found) --fB7LCfQ35562.1007759561/munin.odin-corporation.com Content-Type: message/delivery-status Reporting-MTA: dns; munin.odin-corporation.com Received-From-MTA: DNS; localhost Arrival-Date: Fri, 7 Dec 2001 15:12:40 -0600 (CST) Final-Recipient: RFC822; net@freebsd Action: failed Status: 5.1.2 Remote-MTA: DNS; freebsd Diagnostic-Code: SMTP; 550 Host unknown Last-Attempt-Date: Fri, 7 Dec 2001 15:12:41 -0600 (CST) --fB7LCfQ35562.1007759561/munin.odin-corporation.com Content-Type: message/rfc822 Return-Path: Received: from odin-corporation.com (localhost [127.0.0.1]) by munin.odin-corporation.com (8.11.3/8.11.1) with ESMTP id fB7LCeQ35560 for ; Fri, 7 Dec 2001 15:12:40 -0600 (CST) (envelope-from lars@odin-corporation.com) Sender: lars Message-ID: <3C1130C7.9F28ABBC@odin-corporation.com> Date: Fri, 07 Dec 2001 15:12:39 -0600 From: Lars Fredriksen Organization: Odin Corporation X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: no, en MIME-Version: 1.0 To: net@freebsd Subject: specifying interface to route command broken?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am probably screwing something up :-) netstat -rn shows: Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 4 31 lo0 aaa.bbb.ccc.16/28 link#5 UC 1 0 wi0 => aaa.bbb.ccc.17 aaa.bbb.ccc.27 UHS 1 0 wi0 ifconfig -a shows: fxp0: flags=8802 mtu 1500 inet aaa.bbb.ccc.26 netmask 0xfffffff0 broadcast 216.233.173.31 ether 08:00:46:05:95:32 media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 wi0: flags=8843 mtu 1500 inet aaa.bbb.ccc.27 netmask 0xfffffff0 broadcast 216.233.173.31 ether 00:02:2d:3a:4c:fd I am trying to add a default route to go to aaa.bbb.ccc.17 via the wi0 interface, but it appears that since the fxp0 interface was configured first (even though it is down at the moment) that the route always ends up going through it! I tried: route add -ifa aaa.bbb.ccc.27 default aaa.bbb.ccc.17 but the default route still showed up as going through the fxp0 interface. Anyone see what I might be doing wrong with the route command here, or is it broken? This is on current as of 05/01/01.... Lars --fB7LCfQ35562.1007759561/munin.odin-corporation.com-- --------------E8145C52065AA3D67DCADF36-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message