Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 22:38:47 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        "Lavender, Ben" <LavenderB@nctldno.navy.mil>
Cc:        "'Terry Zink'" <tzink@metrocon.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: interface aliases and routing
Message-ID:  <20010702223847.K312@blossom.cjclark.org>
In-Reply-To: <78202F9B9BB8D311846100805F577DFF274094@nctams01.nctldno.navy.mil>; from LavenderB@nctldno.navy.mil on Mon, Jul 02, 2001 at 10:28:44AM -0500
References:  <78202F9B9BB8D311846100805F577DFF274094@nctams01.nctldno.navy.mil>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 02, 2001 at 10:28:44AM -0500, Lavender, Ben wrote:
> Like this?
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active
> 	supported media: autoselect 100baseTX <full-duplex> 100baseTX
> 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
> 
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active
> > > 	supported media: autoselect 100baseTX <full-duplex> 100baseTX
> > > 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010702223847.K312>