From owner-freebsd-hackers Sun Apr 23 21:14:42 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA20939 for hackers-outgoing; Sun, 23 Apr 1995 21:14:42 -0700 Received: from hp.com (hp.com [15.255.152.4]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA20933 for ; Sun, 23 Apr 1995 21:14:41 -0700 Received: from hpautow.aus.hp.com by hp.com with SMTP (1.37.109.15/15.5+ECS 3.3) id AA228666873; Sun, 23 Apr 1995 21:14:33 -0700 Message-Id: <199504240414.AA228666873@hp.com> Received: by hpautow.aus.hp.com (1.38.193.4/16.2) id AA10448; Mon, 24 Apr 1995 14:13:51 +1000 From: M C Wong Subject: Re: Slip w/ 2.0 To: StevenR362@aol.com Date: Mon, 24 Apr 1995 14:13:50 EST Cc: mdiez@ebrps.engr.subr.edu, hackers@FreeBSD.org In-Reply-To: <950423215830_93699040@aol.com>; from "StevenR362@aol.com" at Apr 23, 95 9:58 pm X-Mailer: Elm [revision: 109.14.c] Sender: hackers-owner@FreeBSD.org Precedence: bulk > #!/bin/sh > slattach -a -h -s 38400 /dev/cua01 > ifconfig sl0 inet my.fake.ip university.ip.addr netmask 255.255.255.0 > route delete default > route add default university.ip.addr ^^^^^^^^^^^^^^^^^^ correct me if I am wrong, isn't that the default gw should be a machine on your end, ie my.fake.ip, even though my.fake.ip and university.ip.addr will have the same IP network address ? The other observation, with ifconfig on slX (for serial interface X), if you leave out the destination IP address, it will show that : my.fake.ip ---> 0.0.0.0 on next ifconfig slX command, and it still DOES talk to the other end, in which case, you MUST set your default route to the IP address of your end, since the other end is not necessarily known.