Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Slip Connection

9 views
Skip to first unread message

mulderbaba

unread,
Dec 19, 2002, 5:11:54 PM12/19/02
to
Hi all,

I established a slip connection between a linux machine and dos
machine wtih the commands below..

slattach -p slip -s 9600 /dev/ttyS0 &
ifconfig sl0 linux_ip_addr pointopoint dos_ip_addr netmask
255.255.255.0
route add dos_ip_addr sl0

SLIP connection is configured as linux_ip_addr at linux machine end
and dos_ip_addr at the dos machine end. I can ping dos machine from
linux machine. (I have a program running in dos machine to reply ping
packets.) But i cannot ping dos machine from other computers on the
network. I am new to networking in linux. Should i add new entries
into routing table or solution is something else?

Clifford Kite

unread,
Dec 21, 2002, 9:27:05 AM12/21/02
to
mulderbaba <mcal...@hotmail.com> wrote:

> I established a slip connection between a linux machine and dos
> machine wtih the commands below..

> slattach -p slip -s 9600 /dev/ttyS0 &
> ifconfig sl0 linux_ip_addr pointopoint dos_ip_addr netmask
> 255.255.255.0
> route add dos_ip_addr sl0

This will provide only communication between the hosts on either end
of the SLIP connection.

> SLIP connection is configured as linux_ip_addr at linux machine end
> and dos_ip_addr at the dos machine end. I can ping dos machine from
> linux machine. (I have a program running in dos machine to reply ping
> packets.) But i cannot ping dos machine from other computers on the
> network. I am new to networking in linux. Should i add new entries
> into routing table or solution is something else?

You should also have

1) dos_ip_addr belong to the same network as linux_ip_addr.
2) IP forwarding in the Linux kernel and turned on.
3) proxy arp set up on the linux host for the dos host.

-- Clifford Kite Email: "echo xvgr_yv...@ri1.arg|rot13"
PPP-Q&A links, downloads: http://users3.ev1.net/~ckite/public_html/
/* All the world's a net! And all the data in it merely packets
come to store-and-forward in the queues a while and then are
heard no more. 'Tis a network waiting to be switched!
-Vint Cerf, RFC 1121 */

0 new messages