Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: "Holger van Koll" <holger.vankoll@swisscom.com>
Subject: Re: Creating a dummy interface
Date: 2000/03/28	[thread overview]
Message-ID: <8bqbeq$dda$1@exnews.swisscom.com> (raw)
In-Reply-To: 8bg63t$om0$1@nserve1.acs.ucalgary.ca


"Serguei Patchkovskii" <patchkov@acs1.acs.ucalgary.ca> schrieb im
Newsbeitrag news:8bg63t$om0$1@nserve1.acs.ucalgary.ca...
> Holger van Koll (holger.vankoll@swisscom.com) wrote:
> : If I configure my interface at boot time with
>
> : ifconfig tu0 ip1 netmask-for1 alias ip2
>
> : it sets the broadcast-address to that for ip2. Thats why I want to
create a
> : 2nd interface.
>
> Yes. Just set the broadcast address explicitly, using 'broadcast addr'
keyword.
> Do not forget to specify the class of the alias address (using /CIDR
notation)
> as well ...
>
I tried
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2/24
and got
ip2/24 : bad value

(ip1_b is broadcast for ip_1 , f.e. 10.255.255.255 for 10.1.2.3/24)

then
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2 netmask 255.255.255.0
but that also set the broadcast to ip2_b

even
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2
or
ifconfig tu0 ip1 netmask 255.255.255.0 broadcast ip1_b alias ip2

set broadcast to ip2_b .


I did not find any combination of the netmask/broadcast/alias parameters
that set the broadcast address correctly.

Does anybody get that to work??






  reply	other threads:[~2000-03-28  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-23  5:00 Creating a dummy interface Holger van Koll
2000-03-24  5:00 ` Adam Price
2000-03-24  5:00   ` Holger van Koll
2000-03-24  5:00     ` Serguei Patchkovskii
2000-03-28  5:00       ` Holger van Koll [this message]
2000-03-28  5:00         ` Serguei Patchkovskii
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox