Hiya Steve,
On Tue, 22 May 2001 16:53:16 -0400 (EDT) You wrote about [Miami] Re:
Please help... PPP problems accessing gateway using Miami... :
[ Using a different IP address for different interfaces ]
SR> Not quite sure what you mean here... the linux box is 192.168.1.2 and
SR> I (through the ppp server options file) have given the amiga an IP
SR> still in the same subnet (amiga IP = 192.168.1.4) as the linux box.
SR> So, how do I give the PPP interface on the linux box another IP to be
SR> used for PPP? I shouldn't be using it's normal ethernet one? Must
SR> PPP be actively running for me to assign this address? I figured it
SR> would all be taken care of by the gateway:client line in
SR> /etc/ppp/options.
The subnet is ok, it's the IP address that isn't..
Like I said, IP addresses are assigned to interfaces: each interface
should have it's own (locally) unique IP. In this case the Linux box has 2
IP adresses, one for each interface.
SR> A question for you and for Soyeb (who just wrote me too). WHen I have
SR> the gateway:client line read 192.168.1.2:192.168.1.4 doesn't that
SR> indicate to the Amiga that the gateway for the Amiga to use is
SR> 192.168.1.2 and that it's own address is 192.168.1.4 ? OK, then I
SR> guess IP forwarding would come in, so that I can really see the router
SR> 192.168.1.1
The line isn't called gateway:client, but local:remote eg this assigns the
local IP address to the local (Linux server) ppp interface and the remote
IP address to the remote (Amiga) ppp interface.
Try 192.168.1.4:192.168.1.5 in the options file.
SR> But, where do I tell Miami to use the 192.168.1.1 (cable router) as
SR> the gateway as opposed to some other device on my lan... or does IP
SR> forwarding tell the linux box to take the amiga packets and forward
SR> the ones not for the linux box over to the linux box's gateway/router
SR> (the cable router, 192.168.1.1) ?
You don't the default gateway for the Amiga is the Linux server. The Linux
server has to take care of routing things further..
SR> OK, but what about the case when I tried having the gateway:client
SR> line in /etc/ppp/options look like 192.168.1.1:192.168.1.4 , where the
SR> first part is *not* the linux box, but rather the cable router? In
SR> this case, I can (without IP forwarding) ping both the linux box and
SR> the cable router from the Amiga, but cannot ping further within or
SR> outside the lan from the Amiga. The fact that IP forwarding is not
SR> present, yet I can still reach the router in some form still seems
SR> odd, right?
The reason why you thought you could ping the cable router (you couldn't)
is that you gave the local PPP interface the same IP address as the cable
router. All you did was ping the other side of the link (the Linux server)
SR> Doing the echo sets a flag so that bootup will always initiate IP
SR> forwarding? Or must I do this after each boot (i.e., have a script
SR> run that line each time on the linux server at boot time?)
You have to do this every time the system boots (on most Linux systems
this can be done by adding the echo to rc.local (located mostly in
/etc/rc.d)
Hope this helps.
cYa,
Sander.
--
: /X\________ Da key e-mail : [EMAIL PROTECTED] :
: // \\______/ to or : [EMAIL PROTECTED] :
:// //\/\/\/ reach or : [EMAIL PROTECTED] :
:\\ // me :
: \X/ :
--
To unsubscribe send "unsubscribe miami-talk-ml" to
"[EMAIL PROTECTED]". For help on list commands send "help" to
"[EMAIL PROTECTED]".