Date: Tue, 17 Jun 1997 00:16:36 +0800 (TSD) From: "Victor A. Sudakov" <vas@vas.tomsk.su> To: toj@gorilla.net (Tom Jackson) Cc: questions@freebsd.org Subject: Re: NT4 ISP Message-ID: <199706161616.AAA03879@vas.tomsk.su> In-Reply-To: <19970615064922.52723@peeper.my.domain> from "Tom Jackson" at "Jun 15, 97 06:49:22 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Tom Jackson wrote: > On Sat, Jun 14, 1997 at 11:08:56PM +0800, Victor A. Sudakov wrote: > > Tom Jackson wrote: > > > > > I have dynamic assigned address. My /etc/hosts file has only the loopback > > > address, 127.0.0.1, and nothing else (I have no ethernet card). If I use > > > anything there with my hostname, my isp will try to use that address and > > > the connection will fail. > > > > Why should he try to use that address? And how is he going to know about it, > > anyway? > > > > Well for one reason, that is the default standard everyone starts with. You > only muck it up when you start modifying the file :) Sorry, I did not understand this phrase. I mean if you assign another IP address to your lo0 interface, the ISP will not know about this and this will cause no problems at all. > > > > This is something I wish somebody would clearup. > > > > I also have a dynamically assigned address. However, I have in my /etc/hosts > > file: > > > > 127.0.0.1 localhost > > 192.168.1.1 vas.tomsk.su vas > > I think maybe you have an ethernet card, yes? No, I have none. > > > > > And in my /etc/rc.local: > > > > /sbin/ifconfig lo0 inet 192.168.1.1 alias > > > > Everything I've seen posted recommends against using this assignment. I'm What is the reason of recommending against this assignment? What is wrong with it? Note the "alias" parameter I use. Thus, lo0 has two addresses. > glad it works for you though. > > > 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. > > > > I'm not sure I understand this. I thought the 127 address was the loopback > address. Certainly. In my case, the lo0 interface has two addresses: 127.0.0.1 localhost 192.168.1.1 vas.tomsk.su vas I can ping both 127.0.0.1 and 192.168.1.1 -- 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?199706161616.AAA03879>