- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Help on routing ppp server
Operating System - Linux
1822494
Members
2490
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2003 02:03 AM
тАО01-18-2003 02:03 AM
Help on routing ppp server
Hello Every Body,
I am a Network Administrator and I want to setup a linux based
ppp router for one of our clients. I want to establish a dialup
connection between the Head Office and Branch office of our client .
Both of these offices are using RedHat Linux 8 as server operating
systems. and each offices have 10 Windows 98 clients. Recently I
succeeded in setting up a linux based ppp server in the Head
Office RH server .When i am dialing from the branch office RH
Server using kppp i could login in to the Head office linux server.
and i can ping HO server's eth0 and ppp0 adapter. But my problem
is that i can't ping the HO server from a Windows 98 client of the
branch office. I had added the Default gateway address in the
network neighborhood of the Win98 clients of the Branch Office
to point the branch office linux server's eth0 address.
I had done the following things in the HO server to setup the Dialin server.
1. Executed the following command
echo 1 > /proc/sys/net/ipv4/ip_forward
3. Edited /etc/sysconfig/network and modified FORWARD_IPV4=true.
4. Added the following line to /etc/inittab
S0:2345:respawn:/sbin/mgetty ttyS0 -D /dev/ttyS0
5. Next executed the following command
chmod u+s /usr/sbin/pppd
6. Next, edited the /etc/mgetty+sendfax/login.config to look like this
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server
7.Next edited /etc/ppp/options.server file to
-detach
asyncmap 0
modem
crtscts
lock
require-pap
refuse-chap
login
proxyarp
8.next edited /etc/ppp/pap-secrets file and added the following line
* * "" *
9.Created the file /etc/ppp/options.ttyS0 and added the following line to it
10.1.1.1:10.1.1.2
My Head office Network configuration is
Server IP No : 192.168.3.10 netmask 255.255.255.0
Gate way 192.168.3.254 and Primary name server 192.168.3.1
Windows 98 Clients IP No From 192.168.3.13 to 192.168.3.22
My Branch office Network configuration is
Server IP No : 192.168.1.30 netmask 255.255.255.0
Gate way 192.168.1.254 and Primary name server 192.168.1.1
Windows 98 Clients IP No From 192.168.1.70 to 192.168.1.79
and gateway 192.168.1.30
I had executed the following in the branch office server
route add -net 192.168.3.0 netmask 255.255.255.0 dev ppp0
Can any one help me?
Thanks in advance
Raju.
I am a Network Administrator and I want to setup a linux based
ppp router for one of our clients. I want to establish a dialup
connection between the Head Office and Branch office of our client .
Both of these offices are using RedHat Linux 8 as server operating
systems. and each offices have 10 Windows 98 clients. Recently I
succeeded in setting up a linux based ppp server in the Head
Office RH server .When i am dialing from the branch office RH
Server using kppp i could login in to the Head office linux server.
and i can ping HO server's eth0 and ppp0 adapter. But my problem
is that i can't ping the HO server from a Windows 98 client of the
branch office. I had added the Default gateway address in the
network neighborhood of the Win98 clients of the Branch Office
to point the branch office linux server's eth0 address.
I had done the following things in the HO server to setup the Dialin server.
1. Executed the following command
echo 1 > /proc/sys/net/ipv4/ip_forward
3. Edited /etc/sysconfig/network and modified FORWARD_IPV4=true.
4. Added the following line to /etc/inittab
S0:2345:respawn:/sbin/mgetty ttyS0 -D /dev/ttyS0
5. Next executed the following command
chmod u+s /usr/sbin/pppd
6. Next, edited the /etc/mgetty+sendfax/login.config to look like this
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server
7.Next edited /etc/ppp/options.server file to
-detach
asyncmap 0
modem
crtscts
lock
require-pap
refuse-chap
login
proxyarp
8.next edited /etc/ppp/pap-secrets file and added the following line
* * "" *
9.Created the file /etc/ppp/options.ttyS0 and added the following line to it
10.1.1.1:10.1.1.2
My Head office Network configuration is
Server IP No : 192.168.3.10 netmask 255.255.255.0
Gate way 192.168.3.254 and Primary name server 192.168.3.1
Windows 98 Clients IP No From 192.168.3.13 to 192.168.3.22
My Branch office Network configuration is
Server IP No : 192.168.1.30 netmask 255.255.255.0
Gate way 192.168.1.254 and Primary name server 192.168.1.1
Windows 98 Clients IP No From 192.168.1.70 to 192.168.1.79
and gateway 192.168.1.30
I had executed the following in the branch office server
route add -net 192.168.3.0 netmask 255.255.255.0 dev ppp0
Can any one help me?
Thanks in advance
Raju.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2003 10:37 AM
тАО01-19-2003 10:37 AM
Re: Help on routing ppp server
can you do a netstat -rn or netstat -r and print the output.
Also try a couple of traceroute commands to the Intneret and post those results.
Steve
Also try a couple of traceroute commands to the Intneret and post those results.
Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 01:01 AM
тАО01-20-2003 01:01 AM
Re: Help on routing ppp server
Hi,
Edit /etc/sysctl.conf and put this line
net.ipv4.conf.all.proxy_arp=1
Save the file .
Then Reboot once.
Do the above things in both the Linux PPP routers.
Establish PPP connection , Hope the problem is solved now.
regards,
U.SivaKumar
Edit /etc/sysctl.conf and put this line
net.ipv4.conf.all.proxy_arp=1
Save the file .
Then Reboot once.
Do the above things in both the Linux PPP routers.
Establish PPP connection , Hope the problem is solved now.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2003 03:50 PM
тАО01-20-2003 03:50 PM
Re: Help on routing ppp server
The step 1 above you will need to do on both the Head Office and branch Linux boxen.
The step 3 you've listed above (dunno where step 2 went) is unfortunately no longer useful, as 'FORWARD_IPV4' has been deprecated.
U.Sivakumar walked through modifying /etc/sysctl.conf. Usually the first option listed in here on a RH8 box is 'net.ipv4.ip_forward'. Change this to = 1 on both machines.
Once you've done this, you'll need to make sure that your PC's can route properly to your head office network. Every thing else looks ok from what you've shown us here though.
The step 3 you've listed above (dunno where step 2 went) is unfortunately no longer useful, as 'FORWARD_IPV4' has been deprecated.
U.Sivakumar walked through modifying /etc/sysctl.conf. Usually the first option listed in here on a RH8 box is 'net.ipv4.ip_forward'. Change this to = 1 on both machines.
Once you've done this, you'll need to make sure that your PC's can route properly to your head office network. Every thing else looks ok from what you've shown us here though.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP