Visit Our UNIX and Linux User Community


PPP Network through TCP/IP


 
Thread Tools Search this Thread
Special Forums IP Networking PPP Network through TCP/IP
# 1  
Old 01-03-2002
PPP Network through TCP/IP

I have two unix systems. One is Redhat Linux and the other is
Sun Solairs.

I am runing PPP on my Linux machine but not on my Solaris
machine. TCP/IP connects the two machines.

I want to pick up PPP on both machines simultaneously with
only one dial up connection on my linux machine.

Is there a way to pick up PPP on my solaris machine using a
TCP/IP connection to my liunx machine?
# 2  
Old 01-03-2002
You 'pick up the PPP connection' by enabling IP forward/routing on the dialup box and set up the other box to route to the PPP gateway...... your problem is solved by understanding and configuring IP routing, default gateways, etc.
# 3  
Old 01-25-2002
Data

I tried several routing options, but none of them seem to work. I am not sure why.

Does anybody know a good web site to get information on routing in linux and routing in solaris?

The man pages alone do not give you enough information on routing for this particular scheme.
# 4  
Old 01-29-2002
I see your problem this way:
You have two machines somewhere, and only one dial-up connection. You want to access the internet with both machines, but using only one for the dial-up connection.

If this is the problem, then the answer is:
configure one of machines to use PPP to access the internet [/etc/ppp, /etc/resolv.conf, /etc/ppp/options.ttyS0
On this machine you should enable ip forwarding and NAT/MASQUERADING, or you should install a proxy software [squid for example].
On the second machine you just have to configure the DNS resolver /etc/resolv.conf, the default gateway and you're done. Or you can make use of the proxy installed on the first machine [tell your browser to use HTTP proxy at IP_address_of_first_machine: port. Of course, you must have on both machines configured in the same private IP space addressing.

Quote:
Originally posted by Photon_Blast
I tried several routing options, but none of them seem to work. I am not sure why.

Does anybody know a good web site to get information on routing in linux and routing in solaris?

The man pages alone do not give you enough information on routing for this particular scheme.
# 5  
Old 07-26-2002
I finally got it to work.

I found a IP Masquerading script on the Internet for my Linux 10.0.0.2 machine:

http://www.ibiblio.org/pub/Linux/doc...O.html#AEN1409

and set the other Solaris 10.0.0.1 machine as follows:

route add default 10.0.0.2

Thanks for pointing me in the right direction.

Previous Thread | Next Thread
Test Your Knowledge in Computers #610
Difficulty: Medium
Compared to Python, Perl has a relatively small Comprehensive Perl Archive Network (CPAN) library.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

No SMS notifications once ppp up

Hi all, I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network. I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get : root@iot2000:~# dmesg | grep USB ACPI:... (0 Replies)
Discussion started by: antc
0 Replies

2. IP Networking

Help with to check the tcp network connectivity between servers and hosts

ello, i am new to the networking side. I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination. please help me where i am going wrong. my code: #!/bin/bash #read the file line by line cd "$1" cat... (17 Replies)
Discussion started by: sknovice
17 Replies

3. Shell Programming and Scripting

Help with shell script to check the tcp network connectivity between server

Hello, I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination. i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine. please help me where i am... (8 Replies)
Discussion started by: sknovice
8 Replies

4. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies

5. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

6. Solaris

install PPP on Solaris 9

Background: I have been running Solaris 8 on an Ultra5 with 128MB and 4GB disk for years without upgrade. If it ain’t broke, don’t fix it. Now my ISP has upgraded their software, and no longer talks to my old (asppp!) software. Sun no longer ships newer versions of Solaris 8. So I bought Solaris... (1 Reply)
Discussion started by: sandee
1 Replies

7. IP Networking

CCP In PPP

Hi, I am using linux-2.6.10 mandrake. In which i am establishing PPP sessions with the peer.During the PPP negotiations i negotiate even CCP-deflate compression option. I just wanted to know the amount of memory which is being used in kernel space by the compression algorithms,when a ccp... (0 Replies)
Discussion started by: sriram.ec
0 Replies

8. IP Networking

How to get Caller Id in PPP

hello I am workin with PPP to send data from dos machine to unix & Linux machine using FTP with help of fax & voice modem(Caller id Enabled & Exchange provides facility). i need to identify phone(number) connect with Dos machine i.e. to identify from where data is send. so i want to get the... (0 Replies)
Discussion started by: yspl
0 Replies

9. IP Networking

tcp/ip network

Hi, Can someone tell me how to set up a basic tcp/ip network on unix, so windows computers can ping it? Thnx, Edwin (10 Replies)
Discussion started by: edw1ns
10 Replies

10. UNIX for Dummies Questions & Answers

PPP in netcfg

Hi! I'm using RedHat 7.1 and I have some prolems with connecting with ppp. I have run modemtool and told that I'm using ttyS0. Whe I then try to set up a PPP connection using netcfg the PPP option is not there. I have all the other alternativs except PPP. What have I missed? (6 Replies)
Discussion started by: <Therapy>
6 Replies

Featured Tech Videos