From owner-freebsd-questions Mon Jul 2 22:38:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id C6E0B37B405 for ; Mon, 2 Jul 2001 22:38:52 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.245.135.36.Dial1.SanJose1.Level3.net [209.245.135.36]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id WAA13653; Mon, 2 Jul 2001 22:38:49 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f635clX01466; Mon, 2 Jul 2001 22:38:47 -0700 (PDT) (envelope-from cjc) Date: Mon, 2 Jul 2001 22:38:47 -0700 From: "Crist J. Clark" To: "Lavender, Ben" Cc: "'Terry Zink'" , "'freebsd-questions@freebsd.org'" Subject: Re: interface aliases and routing Message-ID: <20010702223847.K312@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <78202F9B9BB8D311846100805F577DFF274094@nctams01.nctldno.navy.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <78202F9B9BB8D311846100805F577DFF274094@nctams01.nctldno.navy.mil>; from LavenderB@nctldno.navy.mil on Mon, Jul 02, 2001 at 10:28:44AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 02, 2001 at 10:28:44AM -0500, Lavender, Ben wrote: > Like this? > xl0: flags=8843 mtu 1500 > inet6 fe80::210:5aff:fe28:ca1f%xl0 prefixlen 64 scopeid 0x1 > inet 164.229.1.72 netmask 0xffffffc0 broadcast 164.229.1.127 > inet 164.229.1.74 netmask 0xffffffff broadcast 164.229.1.74 > ether 00:10:5a:28:ca:1f > media: autoselect (100baseTX ) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP 100baseTX > > This didn't work. What does not work? In a setup like this, an outgoing connection will use the 164.229.1.72 address unless the application explicitly requests 164.229.1.74 as the source address. It should be able to use that address if it wants. Incoming connections to the machine should reply using whatever address the incoming packets came in on. What is not working? > > -----Original Message----- > > From: Terry Zink [mailto:tzink@metrocon.com] > > Sent: Monday, July 02, 2001 10:12 AM > > To: Lavender, Ben > > Cc: freebsd-questions@freebsd.org > > Subject: Re: interface aliases and routing > > > > > > Hrm. I believe if I;m not mistaken, that aliases on the nic > > need to have a > > netmask of 255.255.255.255 .. At least, that is what I need > > to do. Might > > wish to try that. > > > > > > On Monday 02 July 2001 10:42, you wrote: > > > I have a FreeBSD 4.2 box currently running. Im trying to > > get interface > > > aliases to work properly without much success. > > > > > > While I seemingly get the interface configured properly, I can't > > > communicate with different subnets. The interface and the > > alias can both > > > communicate with other machines on the same subnet, but > > only the 'primary' > > > address (in this case, 1.72) will talk with other subnets. > > > > > > any ideas/information required? > > > > > > ifconfig: > > > xl0: flags=8843 mtu 1500 > > > inet6 fe80::210:5aff:fe28:ca1f%xl0 prefixlen 64 scopeid 0x1 > > > inet 164.229.1.72 netmask 0xffffffc0 broadcast 164.229.1.127 > > > inet 164.229.1.74 netmask 0xffffffc0 broadcast 164.229.1.127 > > > ether 00:10:5a:28:ca:1f > > > media: autoselect (100baseTX ) status: active > > > supported media: autoselect 100baseTX 100baseTX > > > 10baseT/UTP 10baseT/UTP 100baseTX -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message