*BSD News Article 52222


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!malgudi.oar.net!nt.colmicrosys.com!teraform.com!fsc
From: fsc@teraform.com (fcarver)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: IP aliases
Date: 29 Sep 1995 21:04:12 GMT
Organization: Teraform
Lines: 33
Message-ID: <44hn0c$5qh@nt.colmicrosys.com>
References: <4475n0$f91@homer.alpha.net>
NNTP-Posting-Host: 205.133.101.27
X-Newsreader: TIN [version 1.2 PL2]

Dean Roth (Dean_Roth@mgic.com) wrote:

: If an IP alias is set, why is the IP not pingable from the computer on which the 
: alias exists, but it can be pinged from other computers?


Hmm. Do you have a line such as this in your rc (or netstart) file:

# configure localhost (loopback) interface
ifconfig lo0 inet 127.1

also, the alias should be in your /etc/hosts file.

Beyond that, it might be a routing problem outside your machine.  Try
using 'traceroute' and see what happens.

I have a question too,

What is the correct syntax for ifconfig when you want to delete
and aliase.  I've tried:

# ifconfig ef0 inet xxx.xxx.xx.x delete

where xxx.xxx.xx.x is an IP of an earlier set alias and it returns:

ifconfig: delete: bad parameter

(or something like that)

According to the doc, it should work and remove the alias.  This
is something I need to do so any help is appreciated.

							-floyd