*BSD News Article 59629


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!re.wired.com!dgaudet
From: dgaudet@hotwired.com (Dean Gaudet)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: ifconfig alias and local ping problem
Date: 14 Jan 1996 21:13:50 GMT
Organization: HotWired Ventures
Lines: 18
Message-ID: <4dbrme$15v@re.wired.com>
References: <30F62E69.6FF7@cdepot.net> <4d78oj$hgi@agate.berkeley.edu>
NNTP-Posting-Host: get.wired.com
X-URL: <http://www.hotwired.com/staff/dgaudet/>

In article <4d78oj$hgi@agate.berkeley.edu>,
Keith Sklower <sklower@oboe.CS.Berkeley.EDU> wrote:
>In article <30F62E69.6FF7@cdepot.net>,
>Scott Taggart  <taggart@cdepot.net> wrote:
>}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.
>}... not sure what commands I need to run to get the local ping to work  ..
>
>Try
>	# route add <alias> 127.1

I think it might depend on your version of BSDI... under 2.0 I've had to
do this:

    route add <alias> -interface 127.1

Dean