*BSD News Article 18434


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!europa.eng.gtefsd.com!europa.eng.gtefsd.com!not-for-mail
From: chessman@europa.eng.gtefsd.com (Samuel S. Chessman)
Newsgroups: comp.unix.bsd
Subject: Re: HELP: How to have 2 Host IP nums but only 1 interface
Date: 15 Jul 1993 00:22:12 -0400
Organization: GTE Federal Systems Division, Chantilly VA
Lines: 13
Message-ID: <222m1kINNl8e@norm.eng.gtefsd.com>
References: <mckay.742682655@cambridge>
NNTP-Posting-Host: norm.eng.gtefsd.com
Summary: You already do.
Keywords: interface ip network routing host sun

The interface sends and receives on two addresses.  One is the ip
address you are aware of, set with
	ifconfig device ip

The second is the broadcast address, set with
	ifconfig device ip netmask mask broadcast ip

You may be able to pervert this into doing what you want.

-- 
Samuel S. Chessman                          GTE Federal Systems Division
chessman@europa.eng.gtefsd.com              15000 Conference Center Drive
(703) 818-4926                              Chantilly Virginia 22021-3808