*BSD News Article 43027


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!cs.utexas.edu!news.cs.utah.edu!news.provo.novell.com!park.uvsc.edu!usenet
From: Terry Lambert <terry@cs.weber.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IP Numbers
Date: 2 Mar 1995 05:15:41 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 21
Message-ID: <3j3k9t$skn@park.uvsc.edu>
References: <3itadg$1h1@gagme.wwa.com> <id.XQQH1.PW7@nmti.com> <3j0afv$bul@munin.fnal.gov>
NNTP-Posting-Host: hecate.artisoft.com

crawdad@munin.fnal.gov (Matt Crawford) wrote:
] > Jason M. Vanick <jason@gagme.wwa.com> wrote:
] > > If the freebsd talks to the outside world (199.89.229.1), I want
] > > it to identify itself as 198.51.252.1... is this possible?
] Peter da Silva sez:
] > IP numbers belong to interfaces, not hosts. You have a dual homed host.
] > When it talks on a given interface it will identify it as that interface.
] 
] Well, it's possible to code an application such that the packets it
] sends have a source address corresponding to the interface of your
] choice -- see bind(2) -- but it's probably not worth your while to
] hack every program you've got to do that.

Use the IP tunnel device.  Two instance of it, in fact.


                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.