Kevin:

You can forward with the command line:

echo 1 > /proc/sys/net/ipv4/ip_forward

This will start forwarding and you can place this line in rc.local so on
a
reboot or a restart of network the ip forwarding will stay in place.
This is on a RH 6.2 server but I believe the command line is the same
for RH 7.2.

Eddie Strohmier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kevin Chan
Sent: Wednesday, February 20, 2002 1:35 AM
To: [EMAIL PROTECTED]
Subject: Re: (Need Help !) Re: Can't login and auto disconnect on
Dial-in PPP Server ?


Hi Eddie,

Yes, it is working now ...... thanks a lot.  I can connect to the server
and get the IP address 10.0.01 in client PC after I deleted the
127.0.0.1 from /etc/hosts. But I got another problem ! I don't know how
to set IP-Forwarding on RH7.2 and why I can't use the "netcfg" under
Xwindow ?

(p.s. I know there are button call IP Forwarding in "netcfg" on RH 7.0)

Best Regards and Thanks Again !
Kevin Chan

<Eddie Strohmier Wrote:>

> Kevin:
>
> Have you tried an IP address assignment in /etc/ppp/options.ttyS0? For

> you I see your dial in server has the address of 192.168.13.222 and 
> the ppp-client
> has the address of 10.0.0.1. Have you tried using this in your
> options.ttyS0?
>
> 192.168.13.222:10.0.0.1
>
> I am not saying that using the L-Server:ppp-client won't work but note

> in your /etc/hosts you have L-Server in 2 lines for host. So it looks 
> like the server
> is using the first line of /etc/hosts and assigning an address of
> 127.0.0.1.
> Maybe a change to that line of /etc/host:
> 127.0.0.1 localhost.localdomain localhost
>
> This may do the trick and you can leave the options.ttyS0 in place. 
> Again I work with a different setup. I use to run an ISP out of my 
> home starting in
> 1996 and we were running RH 4.2 at the time. I would use the
> options.ttySx
> with IP addressing and we did that all the way up till we sold out in
> the summer
> of 2000. I was using RH 6.0 at that time. But the same scheme worked
for
> me
> with the block of IP addresses I had to work with. I am now using DHCP
> with a
> small home lan network and also a 20 to 30 machine small school
network
> on lan.
> At this school I am using RH 6.2 and the dial in server I set up still
> uses the
> /etc/ppp/options.ttySx with no problem on RH 6.2.
>
> Let me know if this works for you,
>
> Eddie Strohmier
>
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> On Behalf Of Kevin Chan
> Sent: Tuesday, February 19, 2002 9:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: (Need Help !) Re: Can't login and auto disconnect on
> Dial-in PPP Server ?
>
>
> Hi Eddie,
>
> First, I would like to say thanks for you reply !  Some of my server 
> setting as below:
>
> [root@L-Server ppp]# more options.ttyS0
> L-Server:ppp-client
> [root@L-Server ppp]#
> [root@L-Server ppp]# more /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1               L-Server localhost.localdomain localhost
> 192.168.13.222          L-Server
> 10.0.0.1                ppp-client
> [root@L-Server ppp]# more ip-up.local
> #!/bin/bash
> ipchains -A forward -s 10.0.0.1 -d 0/0 -j MASQ
> exit 0
> [root@L-Server ppp]# more ip-down.local
> #!/bin/bash
> ipchains -D forward -s 10.0.0.1 -d 0/0 -j MASQ
> exit 0
>
> Please check and see it will help you to solve my problem or not ?
>
> If you need more infomation from my server, please let me know ! 
> Thanks !
>
> Best regards,
> Kevin Chan
>
> <Eddie Strohmier Wrote:>
>
> > Kevin:
> >
> > I need to know how you assign IP addresses to your remote machines. 
> > I do this on at a local school with 2 dial in lines with 
> > options.ttySx (x being the number of the modem). In that file I 
> > would place first the IP address of the host machine
> then
> > a colon and the
> > IP address I want to assign to the machine dialing in. So this file
> for
> > me would look
> > like this:
> >
> > 192.168.2.1:192.168.2.101
> >
> > Your server is reporting a local IP address of 127.0.0.1 which is a 
> > local host IP address and not what we what. Are you using the 
> > options.ttySx method or are you using DHCP to assign addressing? In 
> > other words how when that machine connects does
> it
> > get its IP
> > address and know what the remote machines IP address as that will be

> > forwarding packets to it? Your pap-secrets is fine so not a 
> > user/password problem.
> >
> >
> > Eddie Strohmier
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]]
> > On Behalf Of Kevin Chan
> > Sent: Tuesday, February 19, 2002 4:35 AM
> > To: [EMAIL PROTECTED]
> > Subject: (Need Help !) Re: Can't login and auto disconnect on 
> > Dial-in PPP Server ?
> >
> >
> > Hi all,
> >
> > Does anyone can help me to solve my problem? I really need your 
> > help.....THANKS A LOT !
> >
> > Best regards,
> > Kevin Chan
> >
> >
> > ----- Original Message -----
> > < Kevin Chan Wrote:>
> >
> > > Hi Eddie,
> > >
> > > Thanks for your suggestion and I was try to answer all your 
> > > question
>
> > > as below to help me solve the problem.  Thanks a lot !
> > >
> > > > Need more info here. What is the output in /var/log/messages?
> > >
> > > Feb 18 14:46:57 LServer mgetty[1213]: data dev=ttyS0, pid=1213, 
> > > caller='none', c onn='38400', name='', cmd='/usr/sbin/pppd', 
> > > user='/AutoPPP/' Feb 18 14:46:57 LServer pppd[1213]: bad local IP 
> > > address 127.0.0.1
> > >
> > > > Are we connecting from a windoze machine to the RH 7.2 PPP 
> > > > server?
> > >
> > > Yes, client is using Windows NT and ME connect  to server.
> > >
> > > > Is your pap-secrets file configured correctly?
> > >
> > > I think so, becasue I am using it on RedHat 7.0 and the file as 
> > > below
> > > :
> > >
> > > [root@LServer ppp]# more pap-secrets
> > > # Secrets for authentication using PAP
> > > # client        server  secret                  IP addresses
> > > *               *       ""                      *
> > >
> > > > Are you using DHCP or options.ttySx files for IP addressing?
> > >
> > > [root@LServer ppp]# more options.ttyS0
> > > LServer:ppp-client
> > >
> > > Best regards,
> > > Kevin Chan
> >
> >
> > > Hi Herrold, David and Cgalpin:
> > >
> > > I was go to 
> > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55367
> >
> > > and see one of the following message :
> > >
> > > Additional comment by [EMAIL PROTECTED] 2001-12-28 08:32:39
> > >
> > > For those who want a prebuilt RPM that fixes the problem, see 
> > > http://www.netcraft.com.au/rpms/
> > >
> > > Also, download the prebuilt RPM and install it (rpm -Uvh
> > ppp-2.4.1-2nc.i386)
> > > .  After the installation, I was rebooted the machine.  But the 
> > > problem is the same, auto-disconnect when verfly the username & 
> > > password.  Can you teach me how I can fix the problem (My client 
> > > is using Windows 98/ME/NT) ? Thanks a lot !
> > >
> > > Best regards,
> > > Kevin Chan
> > >
> > >
> > > ----- Original Message -----
> > > <David Talkington Wrote>
> > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > [EMAIL PROTECTED] wrote:
> > > >
> > > > >> >http://www.prairienet.org/redhat/
> > > > >>
> > > > >> Close ...
> > > > >>
> > > > >> http://www.prairienet.org/library/redhat
> > > > >>
> > > > >> Thanks, cg -d
> > > > >
> > > > >I won't argue with you about it since you set it up, but if you

> > > > >try
> >
> > > > >the URL I posted, it does indeed work. I'll stop refering to it

> > > > >by that URL
> > > if
> > > > >it's a problem though.
> > > >
> > > > Oh yeah.  I forgot about that link.  That might go away when The

> > > > Big
> >
> > > > Spring Cleaning happens.
> > > >
> > > > >Do I still get a cigar?
> > > >
> > > > Anything for you.  I'm not sure I'd know a good stogie anymore, 
> > > > though, it's been awhile ...
> > > >
> > > > - -d
> > > >
> > > > - --
> > > > David Talkington
> > > >
> > > > PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
> > > > - -- http://setiathome.ssl.berkeley.edu/pale_blue_dot.html
> > > >
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: PGP 6.5.8
> > > > Comment: Made with pgp4pine 1.75-6
> > > >
> > > > iQA/AwUBPHCKiL9BpdPKTBGtEQKXDwCglwbTS2Jb6cZP+cnXx492lTLeyhQAoK31
> > > > UuMSEwkkApN/MI0DlbR6uMaG
> > > > =uslP
> > > > -----END PGP SIGNATURE-----
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED] 
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED] 
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED] 
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED] 
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED] 
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED] 
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to