*BSD News Article 56086


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!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in2.uu.net!csnews!boulder!coopnews.coop.net!hops.entertain.com!usenet
From: dwatson@abwam.com (Darryl Watson)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Multiple IPs alias for an ethernet interface?
Date: 5 Dec 1995 15:37:18 GMT
Organization: ABWAM, Inc.
Lines: 21
Message-ID: <4a1ove$a9@hops.entertain.com>
References: <4a0o9p$j4@news.cis.nctu.edu.tw>
NNTP-Posting-Host: ppp011.entertain.com
X-Newsreader: WinVN 0.92.5

In article <4a0o9p$j4@news.cis.nctu.edu.tw>, JacksonWeng@acer.net (Jackson Weng) says:
>
>Dear all,
>
>I'd followed the FAQ to add another IP alias for the single ethernet
>interface in my BSDI system, for example:
>
>   ifconfig ef0 inet 203.66.109.1 
>   ifconfig ef0 203.66.109.200 alias
>
>then I try to ping 203.66.109.200 but it doesn't answer me,
>How come? Any information will be appreciated!
>
>Tks!
>

Try the following:

	route add -host 203.66.109.200 127.1

This adds the route to your local interface.