*BSD News Article 79453


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Routing help needed
Date: 28 Sep 1996 19:42:56 GMT
Organization: Private BSD site, Dresden
Lines: 22
Message-ID: <52jv40$8s@uriah.heep.sax.de>
References: <52dicr$2jk@infinity.ping.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

gandalf@infinity.ping.de (Andre Grosse Bley) wrote:

> The first one 193.102.134.136 is connect via SLIP to my ISP.
> Both maschines are connected to a LAN (Network address 192.168.42.0)
> Now i've got an IP for my 2nd maschine (193.102.134.132 - too bad, no real
> subnet :( )
> The .132 is routed to .136. Now i just have to forward packets to .132
> on my LAN. How can this be done without changing my LAN's address?
> (I did rtfman and played around a bit with routes, but i only got that
> working with changing my ed0's address)

Why not adding an alias for it?  You cannot do it without really
changing addresses, since routing on an Ethernet does always happen
via ARP, i.e. the connection between IP addresses and Ethernet station
addresses must be established somehow.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)