Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 1998 08:17:49 -0500
From:      Dan Janowski <danj@3skel.com>
To:        AJ Galiano <ajgaliano@exr.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: How do I
Message-ID:  <34F2C87C.15456A5A@3skel.com>
References:  <852565B5.004578D5.00@athensnt2.exr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
AJ Galiano wrote:

> What is the best method of associating a second ip address with my
> webserver?
> and how do I accomplish this?
>

Not hard. The assumption is that this box is attached to a
non-point-to-point
(i.e. ppp) network. To add an IP address that is on the same subnet that
the interface
already lives on,

ifconfig fxp0 inet new.ip.add.ress netmask 255.255.255.255 alias

Obviously fxp0 would be whatever interface you have. If you are adding
an address that is not on the same subnet, then the netmask value would
be whatever is appropriate for that net; a normal whole class-C being
the standard 255.255.255.0.

I'm not sure if or how this can be done with ppp.

Dan

--
danj@3skel.com
Dan Janowski
Triskelion Systems, Inc.
Bronx, NY




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34F2C87C.15456A5A>