Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 1995 13:51:42 -0800
From:      David Greenman <davidg@Root.COM>
To:        Justin Seger <shorty@iii.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Routing trouble 
Message-ID:  <199512282151.NAA00685@corbin.Root.COM>
In-Reply-To: Your message of "Wed, 27 Dec 95 16:16:41 EST." <199512272116.QAA25912@iii1.iii.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> 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<UP,POINTOPOINT,LINK0,LINK2,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512282151.NAA00685>