Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 1996 15:23:34 -0400
From:      Craig Shrimpton <craigs@os.com>
To:        Steve <steve@linux.sjs.com>
Cc:        questions@freebsd.org
Subject:   Re: Aliasing question
Message-ID:  <Pine.3.89.9609011516.A280-0100000@solar.os.com>
In-Reply-To: <Pine.LNX.3.93.960901144711.10978A-100000@linux.sjs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Sep 1996, Steve wrote:

> 	I'm running multiple Web site on a FreeBSD system and when I'm on
> that system, I cannot ping to the aliased sites. These are the commands
> that I use to setup the alias address:
> 
> /sbin/ifconfig de0 alias 199.245.191.160
> route add -host www.metwest.com 199.245.191.160
> 

Do it like this:

ifconfig de0 inet 199.245.191.160 alias
route add -host www.metwest.com 127.0.0.1

Also, sometimes you have to do the ifconfig twice. (On 2.1.0)

Craig

+------------------------------------+--------------------------------------+
| Craig Shrimpton                    |  e-mail: craigs@os.com               |  
| Orbit Systems                      |  information: info@os.com            |   
| Worcester, MA        508.753.8776  |  http://www.os.com/                  |
+------------------------------------+--------------------------------------+

              _/_/_/_/   _/_/_/_/   _/_/_/_/   _/_/_/_/   _/_/_/_/
             _/    _/   _/    _/   _/    _/      _/         _/
            _/    _/   _/_/_/     _/_/_/_/      _/         _/
           _/    _/   _/    _/   _/    _/      _/         _/
          _/_/_/_/   _/     _/  _/_/_/_/   _/_/_/_/      _/       

                            Strategic Systems





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9609011516.A280-0100000>