Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 08:56:25 +0100 (CET)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Andy Bailey <creator@mt.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Question about Ip's
Message-ID:  <XFMail.991221085625.mj@isy.liu.se>
In-Reply-To: <Pine.GSO.3.96.991220160658.23668A-100000@lewis.mt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20-Dec-99 Andy Bailey wrote:
> I have a FreeBSD server and unlimited ip address's i can have
> But i dont know how to put more then 1 ip on a machine to get more port's
> with out putting on another nic card
> Can ya help me out?
> 
> Thank's
>>From CrEaToR
> Creator@mt.net

As from my rc.conf

#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.

If your iface is vx0 and ip=1.1.1.1 then you can configure vx0_alias0 as ip
2.2.2.2 (given that the netmask is 255.255.255.0).

ifconfig_vx0_alias0="inet 2.2.2.2 netmask 255.255.255.0"

And ONLY do this with the ipadresses you are allowed to, don't try someone
else's:)

/M

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.1 
----------------------------------


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?XFMail.991221085625.mj>