Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!amdcad!phil From: phil@amdcad.UUCP Newsgroups: comp.protocols.tcp-ip Subject: Re: Where can I find SLIP server for 4.2/3? Message-ID: <18137@amdcad.AMD.COM> Date: Sun, 30-Aug-87 02:34:05 EDT Article-I.D.: amdcad.18137 Posted: Sun Aug 30 02:34:05 1987 Date-Received: Sun, 30-Aug-87 18:43:02 EDT References: <8708300016.AA04771@okeeffe.Berkeley.EDU> Reply-To: phil@amdcad.UUCP (Phil Ngai) Distribution: world Organization: Advanced Micro Devices Lines: 27 In article <8708300016.AA04771@okeeffe.Berkeley.EDU> karels%okeeffe@UCBVAX.BERKELEY.EDU (Mike Karels) writes: >I'm not sure what you mean by a SLIP server; the SLIP protocol for >the 4BSD side of a connection is included in 4.3 as if_sl.c. It is >configured into a kernel with a line like > pseudo-device sl 4 >in the system config file, where the number is the number of lines to support. >The lines are then set up with the programs slattach and ifconfig, each >of which have manual entries. This brings up a question I had. I hope it's not too stupid. Consider a network with machines A, B, and C. B talks to A and C. A does not talk to C except through B. B's /dev/ttyh0 goes to A. B's /dev/ttyh1 goes to C. I slattach ttyh0 and ttyh1. Now I want to ifconfig sl0 and sl1. How do I know which dstaddr to associate with sl0 and which with sl1? Does it matter? If not, how does the kernel know which tty line to send the packets down? The thing that confuses me is I would expect slattach to take a sl0 or sl1 argument as well as a tty argument. But it doesn't. Also, do I have to do anything special to B to get it to forward packets from A to C? -- I speak for myself, not the company. Phil Ngai, {ucbvax,decwrl,allegra}!amdcad!phil or amdcad!phil@decwrl.dec.com