*BSD News Article 59618


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!world!coopnews.coop.net!hops.entertain.com!usenet
From: dwatson@abwam.com (Darryl Watson)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: ifconfig alias and local ping problem
Date: 14 Jan 1996 14:45:45 GMT
Organization: ABWAM, Inc.
Lines: 14
Message-ID: <4db4up$g96@hops.entertain.com>
References: <30F62E69.6FF7@cdepot.net>
NNTP-Posting-Host: ppp010.entertain.com
X-Newsreader: WinVN 0.92.5

In article <30F62E69.6FF7@cdepot.net>, Scott Taggart <taggart@cdepot.net> says:
>
>I've got a machine that answers to two IP addresses (one using the 
>ifconfig alias option).  Everything works with the exception of the 
>a ping from the local machine to the aliased IP address (a ping to 
>the non-aliased IP on the same machine still works as expected).  I 
>can successfully ping to the aliased addressed IP from other 
>machines.  I know this is related to loopback, etc., but I am not 
>sure what commands I need to run to get the local ping to work 
>(route?).
>
>Any help would be appreciated.

route add -host <ip address> 127.1