From owner-freebsd-questions Mon Jun 10 20:38:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web13304.mail.yahoo.com (web13304.mail.yahoo.com [216.136.175.40]) by hub.freebsd.org (Postfix) with SMTP id 7B07C37B400 for ; Mon, 10 Jun 2002 20:38:19 -0700 (PDT) Message-ID: <20020611033819.68320.qmail@web13304.mail.yahoo.com> Received: from [193.174.9.34] by web13304.mail.yahoo.com via HTTP; Tue, 11 Jun 2002 05:38:19 CEST Date: Tue, 11 Jun 2002 05:38:19 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Re: Ip aliases in FreeBSD To: budsz Cc: freebsd-questions In-Reply-To: <20020611102419.C46480@bdg.centrin.net.id> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --- budsz schrieb: > On Tue, Jun 11, 2002 at 05:08:14AM +0200, m p wrote: > >PS: In short: If you have an IP alias in the same subnet the correct netmask > is > >255.255.255.255 as in example 3. It is forced since FreeBSD 4.5 AFAIK. > > Yeah that it's work only 1 ip addreess + 1 ip alias, so I want using > more than one ip alias for ex: 1 ip address + 2 or more ip alias if I > use the same subnet (255.255.255.255) each other I tried it is failed. > so the solution...?, I hope u would help me for this problem. > > -- > budsz Hi, beastie# uname -a FreeBSD beastie.xxx.xxx.xx 4.6-RC4 FreeBSD 4.6-RC4 #0: Wed Jun 5 03:44:53 GMT 2002 murray@builder.freebsdmall.com:/us beastie# ifconfig fxp0 fxp0: flags=8843 mtu 1500 inet 141.36.3.29 netmask 0xfffffe00 broadcast 141.36.3.255 inet6 fe80::208:c7ff:fe72:36c7%fxp0 prefixlen 64 scopeid 0x1 ether 00:08:c7:72:36:c7 media: Ethernet autoselect (100baseTX) status: active beastie# ifconfig fxp0 alias 23.0.2.1 netmask 255.255.255.0 beastie# ifconfig fxp0 alias 23.0.2.2 netmask 255.255.255.255 beastie# ifconfig fxp0 alias 23.0.2.3 netmask 255.255.255.255 beastie# ifconfig fxp0 fxp0: flags=8843 mtu 1500 inet 141.36.3.29 netmask 0xfffffe00 broadcast 141.36.3.255 inet6 fe80::208:c7ff:fe72:36c7%fxp0 prefixlen 64 scopeid 0x1 inet 23.0.2.1 netmask 0xffffff00 broadcast 23.0.2.255 inet 23.0.2.2 netmask 0xffffffff broadcast 23.0.2.2 inet 23.0.2.3 netmask 0xffffffff broadcast 23.0.2.3 ether 00:08:c7:72:36:c7 media: Ethernet autoselect (100baseTX) status: active it works for me ... please share the commands (and the output from them) with the list ... Thanks Marc __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Kreative Köpfe gesucht! Machen Sie mit beim Yahoo! SMS Literatur Wettbewerb und gewinnen Sie tolle Preise - http://smswettbewerb.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message