From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,a79884b88b7dddc6 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,a79884b88b7dddc6 X-Google-Attributes: gidfee84,public From: "Holger van Koll" Subject: Re: Creating a dummy interface Date: 2000/03/28 Message-ID: <8bqbeq$dda$1@exnews.swisscom.com>#1/1 X-Deja-AN: 603394405 Content-Transfer-Encoding: 7bit References: <8bcl3f$3fk$1@exnews.swisscom.com> <953881683.27759.0.nnrp-14.c2deb51d@news.demon.co.uk> <8bfb6e$mtm$1@exnews.swisscom.com> <8bg63t$om0$1@nserve1.acs.ucalgary.ca> X-Priority: 3 Content-Type: text/plain; charset=iso-8859-1 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: newsadm@gd2.swissptt.ch X-Trace: exnews.swisscom.com 954249498 13738 138.190.3.190 (28 Mar 2000 13:18:18 GMT) Organization: Swisscom AG - http://www.swisscom.com/ X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 28 Mar 2000 13:18:18 GMT Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 "Serguei Patchkovskii" 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??