1. PPP connection works well ,while SLIP connection doesn't work,why and how?
Hello.
Can anyone offer suggestions on how to establish a TCP/IP link using
a
nullmodem between two linux boxes?
I have consulted the Linux Networking-HOWTO (Using common PC
hardwareNET),the manual of slattach and dip, as well as all the other
documentation that i could find.
I used two machines running Redhat linux 7.2.
I've tried both SLIP (slattach) and PPP (pppd).When I use PPP(pppd),it
works well ,while I use SLIP(slattach),it do not work.
For PPP, this is what I am doing :
At machine 1,run this command:
pppd -detach debug kdebug 4 /dev/ttyS1 local noauth
192.168.1.1:192.168.1.2 &
At machine 2,run this command:
pppd -detach debug kdebug 4 /dev/ttyS1 local noauth
192.168.1.2:192.168.1.1 &
After run these command ,I can ping between these two machines.
Just because the PPP works well,the null modem line and the serial
port are all OK!
For slip, this is what I am doing:
At machine 1,run this command:
% slattach -d -L -p slip /dev/ttyS11 &
%
% ifconfig sl0 192.168.1.1 pointopoint 192.168.1.2 up
%
% route add -host 192.168.1.2 sl0
At machine 2,run this command:
% slattach -d -L -p slip /dev/ttyS11 &
%
% ifconfig sl0 192.168.1.2 pointopoint 192.168.1.1 up
%
% route add -host 192.168.1.1 sl0
When I use SLIP,the ifconfig and route command work well,while ping
doesnot work well!!
Is this all that I need to do, or is there additional tools I need
to run to
connect.
Thanks for any help!
2. XFree86 3.2 questions
3. Getting Samba working over a PPP connection
4. Error in Setting Up TERM
5. Getting a PPP connection working.
6. Will Promise FastTrak66 work under Linux?
7. stumped on getting ppp connection to work
8. good reliable server
9. PPP connection:Windows works, Linux stopped working
10. RH5.1 PPP connection: PPP connection persists, telnet session times out
11. Getting a stable PPP connection
12. Getting simple PPP connection
13. route tables getting erased when ppp connection breaks