[549] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Thanks! IP forwarding between PPP links... Works now.

daemon@ATHENA.MIT.EDU (martin@kwaamreo.sd1.mch.sni.de)
Tue Jun 20 16:16:36 1995

From: martin@kwaamreo.sd1.mch.sni.de
To: kayvan@Sylvan.COM (Kayvan Sylvan)
Date: Tue, 20 Jun 1995 20:03:50 +0200 (MET DST)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <m0sLxTn-00023lC@satyr.sylvan.com> from "Kayvan Sylvan" at Jun 14, 95 11:47:00 am
Reply-To: <Martin.Kwaamreo@deejai.mch.sni.de>

Hello Kayvan, you wrote,...

> On a related note, in my /etc/rc.d/rc.inet1, I had the following:
> 
> 	ifconfig dummy0 up
> 
> It turns out that the dummy device, associating with IP address
> 0.0.0.0 (since I didn't specify anything) interferes with IP
> forwarding. [....] The fix was to associate the
> dummy device with my loopback address.
> 
> 	ifconfig dummy0 127.0.0.1
> 
> The setup works nicely now and the ununsed IP address routes are
> nailed down.

On my linux box, I always use the (fixed) address I use for ppp and slip logins.
By this I can telnet etc. to my usual hostname when the link is down and still 
reach all other hosts via the link when it's up. I thought this was the way
it was meant to be...(BTW: I have no local ether network, just the dial-out link):

MK> IPADDR="192.168.123.1"	# REPLACE with YOUR IP address!
MK> NETMASK="255.255.255.0"	# REPLACE with YOUR netmask!
MK> BROADCAST="192.168.123.255"	# REPLACE with YOUR broadcast address, if you
MK> 
MK> ifconfig  dummy up arp -trailers ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
MK> route     add ${IPADDR} 

Cheers,
	Martin
-- 
<<Trouble with elm? Set "displaycharset = iso-8859-1" in your ~/.elm/elmrc!>>
Martin Kraemer         (H) +49-89-7696866 <Martin.kwaamreo@deejai.mch.sni.de>
Johann-Clanze-Str. 29a (W) +49-89-636-46021 <Martin.Kraemer@mch.sni.de>
D-81369 M|nchen (W. Germany)                                Happy Linux User!

home help back first fref pref prev next nref lref last post