Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 1997 18:31:05 +0700
From:      Boris Shinkarev <shin@tech.kgtu.runnet.ru>
To:        HyunSeog.Ryu@ablex.net
Cc:        "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
Subject:   Re: restriction on IP aliasing???
Message-ID:  <345DB5F9.DF6F4BF7@tech.kgtu.runnet.ru>
References:  <199710310238.LAA07028@ns.easy.re.kr> <34594D31.B8867A8B@tech.kgtu.runnet.ru> <34597270.73BE@ablex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
So, First line in rc.conf for your interface must be main ifconfig
without alias, it is as your install your system:
ifconfig_<your_interface> = "inet <your_ip_address> netmask
<xxx.xxx.xxx.xxx>"
ifconfig_<your_interface>_alias0 = "inet <your_ip_alias_0> ..."
ifconfig_<your_interface>_alias1 = "inet <your_ip_alias_1> ..."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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?345DB5F9.DF6F4BF7>