From owner-freebsd-isp Mon Nov 3 03:30:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA25757 for isp-outgoing; Mon, 3 Nov 1997 03:30:29 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from tech.kgtu.runnet.ru (tech.kgtu.runnet.ru [195.208.226.108]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA25744 for ; Mon, 3 Nov 1997 03:30:20 -0800 (PST) (envelope-from shin@tech.kgtu.runnet.ru) Received: from tech.kgtu.runnet.ru (localhost.tech.kgtu.runnet.ru [127.0.0.1]) by tech.kgtu.runnet.ru (8.8.5/8.8.5) with ESMTP id SAA02978; Mon, 3 Nov 1997 18:31:07 +0700 (KRS) Message-ID: <345DB5F9.DF6F4BF7@tech.kgtu.runnet.ru> Date: Mon, 03 Nov 1997 18:31:05 +0700 From: Boris Shinkarev Organization: KGTU X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.2-RELEASE i386) MIME-Version: 1.0 To: HyunSeog.Ryu@ablex.net CC: "freebsd-isp@freebsd.org" Subject: Re: restriction on IP aliasing??? References: <199710310238.LAA07028@ns.easy.re.kr> <34594D31.B8867A8B@tech.kgtu.runnet.ru> <34597270.73BE@ablex.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk So, First line in rc.conf for your interface must be main ifconfig without alias, it is as your install your system: ifconfig_ = "inet netmask " ifconfig__alias0 = "inet ..." ifconfig__alias1 = "inet ..."HyunSeog Ryu wrote: > > Hi, folks, > > I got an answer from Boris. > But some modification is needed... > ifconfig command for alias set down state on ifconfig alias command. > So I must do as below. > > in rc.conf (on our 2.2.2-RELEASE machine); > > add below line, > > ifconfig_vx0_alias0="inet 192.203.142.16 netmask 255.255.255.224 > broadcast 192.203.142.31 up" > ifconfig_vx0_alias1="inet 192.203.142.17 netmask 255.255.255.224 > broadcast 192.203.142.31 up" > > So I must insert "up" to ifconfig command. > > But it does not work at our FreeBSD 2.2-CURRENT Feb-1997 version. > Do I have to do upgrade our server??? > > Regards, > > HyunSeog Ryu > Network Manager at EASY-NET, ABLEX Co., Ltd. > > Boris Shinkarev wrote: > ? > ? Hyun-Seog Ryu wrote: > ? ? > ? ? Hi, folks, > ? ? > ? ? I have a question on FreeBSD IP aliasing... > ? ? Does FreeBSD support only one IP alias for each Ethernet port? > ? ? Can I use several IP aliasing on one Ethernet port??? > ? ? At Solaris, it is used many Virtual LAN address at one Ethernet port... > ? ? But at FreeBSD, how to do??? > ? ? Please let me know about it... > ? ? Thank you for your concern. > ? ? > ? ? Regards, > ? ? > ? ? HyunSeog Ryu > ? ? Network Manager at EASY-NET, ABLEX Co., Ltd. > ? Hi ! > ? In rc.conf add line > ? ifconfig_?your_interface?_alias?number of alias(begin from 0)="inet > ? ?your ip-address? netmask xxx.xxx.xxx.xxx" > ? > ? or manual ifconfig "some for your interface and ip" alias > ? see man ifconfig > ? -- > $)C > ? bORIS {INKAREW, > ? Boris Shinkarev, > ? independet consultant for internet/intranet networks, -- Борис Шинкарев, Boris Shinkarev, independet consultant for internet/intranet networks,