From owner-freebsd-hackers Tue Jan 3 06:15:33 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA17877 for hackers-outgoing; Tue, 3 Jan 1995 06:15:33 -0800 Received: from styx.ibmoto.com (styx.ibmoto.com [129.38.252.14]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA17861; Tue, 3 Jan 1995 06:15:14 -0800 Received: from bartling.ibmoto.com (bartling.ibmoto.com [129.38.33.7]) by styx.ibmoto.com (8.6.9/8.6.9) with ESMTP id IAA27413; Tue, 3 Jan 1995 08:14:10 -0600 From: Steve Bartling Received: (bartling@localhost) by bartling.ibmoto.com (8.6.9/8.6.9) id IAA30025; Tue, 3 Jan 1995 08:14:10 -0600 Message-Id: <199501031414.IAA30025@bartling.ibmoto.com> Subject: Latest in my SLIP saga :-) To: bartling@ibmoto.com (Steve Bartling) Date: Tue, 3 Jan 1995 08:14:10 -0600 (CST) Cc: davidg@Root.COM, bartling@ibmoto.com, jgreco@brasil.moneng.mei.com, freebsd-questions@freefall.cdrom.com, freebsd-hackers@freefall.cdrom.com In-Reply-To: <199412302239.QAA22769@bartling.ibmoto.com> from "Steve Bartling" at Dec 30, 94 04:39:14 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2395 Sender: hackers-owner@freebsd.org Precedence: bulk Latest copy of my start_slip script : #!/bin/csh # # script for starting SLIP connection using DELL UNIX and BOOTP protocol # #slattach -c -l -s 38400 /dev/cua00 slattach -c -h -s 38400 /dev/cua00 # configure initial SLIP link to the terminal server # HTP1 = 129.38.252.50 # HTP2 = 129.38.252.51 # I do not remember what 129.38.14.8 is supposed to represent # ifconfig sl0 inet 129.38.14.8 129.38.252.50 # # add domain name, and nameserver addresses to /etc/resolve.conf # in order to configure the nameservice # echo "domain ibmoto.com" > /etc/resolv.conf echo "nameserver 129.38.252.14" >> /etc/resolv.conf echo "nameserver 127.0.0.1" >> /etc/resolv.conf # # add default route for all packets to HTP2 if dialing in 795-7555 # HTP1 = 129.38.252.50 # HTP2 = 129.38.252.51 # route add default 129.38.252.51 # # determine my dynamically allocated I.P. address using bootptest # ./bootptest > /tmp/bootp.out set my_addr = `grep "reply" /tmp/bootp.out | cut -f9 -d' ' | cut -c3-20` set server_addr = `grep "reply" /tmp/bootp.out | cut -f10 -d' ' | cut -c3-20` set gateway_addr = `grep "reply" /tmp/bootp.out | cut -f11 -d' ' | cut -c3-20` set hops = `grep "reply" /tmp/bootp.out | cut -f6 -d' ' | cut -c6-20` echo "my address = $my_addr" echo "server address = $server_addr" echo "gateway address = $gateway_addr" echo "# of hops = $hops" # # reconfigure sl0 using my dynamically allocated I.P. address # and the address of the terminal server ( HTP2 ) ifconfig sl0 inet $my_addr $server_addr exit This now works if I do the following after the above script is run : route delete default 129.38.252.51 followed by : route add default 129.38.252.51 After deleting then adding back the default route, I am able to achieve full functionality. After all of the above, netstat -r yields : reef# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Interface default htp2.ibmoto.com UGS 5 353 sl0 localhost localhost UH 0 104 lo0 htp2.ibmoto.com htp2-4.ibmoto.com UH 1 0 sl0 htp2-4.ibmoto.co localhost UH 0 0 lo0 224 localhost US 0 0 lo0 Does this seem correct ? I am too green around the edges to find a problem all by myself :-) Feel free to request more info ... Thanks for your help. - Steve Bartling