Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 22:09:41 +0800 (TSD)
From:      "Victor A. Sudakov" <vas@vas.tomsk.su>
To:        softweyr@xmission.com (Wes Peters - Softweyr LLC)
Cc:        questions@FreeBSD.ORG
Subject:   Re: NT4 ISP
Message-ID:  <199706241409.WAA18759@vas.tomsk.su>
In-Reply-To: <199706172121.PAA26237@xmission.xmission.com> from "Wes Peters - Softweyr LLC" at "Jun 17, 97 03:21:46 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Wes Peters - Softweyr LLC wrote:
>  > And in my /etc/rc.local:
>  > 
>  > /sbin/ifconfig lo0 inet 192.168.1.1 alias
>  > 

[...]

>  > It works fine, I can ping vas.tomsk.su even if I am offline. It does not
>  > prevent me from using ppp because 192.168.1.1 is associated with lo0 and has
>  > nothing to do with tun0.
> 
> But it really didn't add any value.  You can simply achieve the same
> result by adding your "hostname" as an alias to the standard loopback
> address in /etc/hosts:
> 
> 127.0.0.1	localhost vas.tomsk.su
> 
> Now you can ping vas.tomsk.su, it will resolve to the the standard loopback
> address, and you don't need to create a virtual network that isn't there.

I have been experimenting with this for a while and this idea turned out to
be a bad one. A "brain fart", as you would put it ;-) I had to return to my
original setup using the alias on lo0.

One of the immediate problems your suggested setup caused was that tin would
begin to put "user@localhost" instead of "user@vas.tomsk.su" into the From:
header of usenet messages I post.

-- 
Victor Sudakov
http://www.tomsk.su/r/persons/vas.htm



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