From owner-freebsd-questions Thu Dec 28 13:51:44 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02360 for questions-outgoing; Thu, 28 Dec 1995 13:51:44 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA02354 for ; Thu, 28 Dec 1995 13:51:39 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id NAA12336; Thu, 28 Dec 1995 13:51:37 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id NAA00685; Thu, 28 Dec 1995 13:51:43 -0800 (PST) Message-Id: <199512282151.NAA00685@corbin.Root.COM> To: Justin Seger cc: freebsd-questions@freebsd.org Subject: Re: Routing trouble In-reply-to: Your message of "Wed, 27 Dec 95 16:16:41 EST." <199512272116.QAA25912@iii1.iii.net> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 28 Dec 1995 13:51:42 -0800 Sender: owner-questions@freebsd.org Precedence: bulk >I have a SLIP connection (sl0), and an ethernet connection (ed0) and am trying >to route packets between the two. I am currently running FreeBSD 2.1.0. I can >ping machines on either connection from my FreeBSD machine and can ping the sl0 >device (199.232.44.242) from the internet, and I can ping both ed0 >(199.232.47.49) and sl0 (199.232.44.242) from a windows '95 (199.232.47.51). >I was assigned the following from my intenet provider: >SLIP Account IP Address: 199.232.44.242 >Subnet: 199.232.47.48 >Netmask: 255.255.255.240 >Broadcast: 199.232.47.63 >Addresses: 199.232.47.49-199.232.47.62 > >Here's the output of 'ifconfig ed0' >ed0: flags=8863 mtu 1500 > inet 199.232.47.49 netmask 0xfffffff0 broadcast 199.232.47.63 > ether 00:40:33:30:b1:cd > >and 'ifconfig sl0' >sl0: flags=d011 mtu 552 > inet 199.232.44.242 --> 199.232.46.33 netmask 0xffffff00 > >I would REALLY appreciate any help you can give me. If we assume that your service provider is routing packets for your 199.232.47 address, then the problem might be that IP forwarding isn't enabled in your router. Do a "sysctl net.inet.ip.forwarding" and see if it is set to "1". If not, then so a "sysctl -w net.inet.ip.forwarding=1". Also make sure that you have a default route to your router on your ethernet connected hosts. ...and make sure you have a default route pointing to the destination address of your SLIP connection, e.g.: defaultrouter=199.232.46.33 ...in /etc/sysconfig. -DG