Date: Tue, 11 Jun 2002 05:38:19 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= <sumirati@yahoo.de> To: budsz <budsz@kumprang.or.id> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Ip aliases in FreeBSD Message-ID: <20020611033819.68320.qmail@web13304.mail.yahoo.com> In-Reply-To: <20020611102419.C46480@bdg.centrin.net.id>
next in thread | previous in thread | raw e-mail | index | archive | help
--- budsz <budsz@kumprang.or.id> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020611033819.68320.qmail>