Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 14:24:06 -0400 (EDT)
From:      Charles Henrich <henrich@crh.cl.msu.edu>
To:        freebsd-questions@freebsd.org
Subject:   Routing...
Message-ID:  <199605281824.OAA05753@crh.cl.msu.edu>

next in thread | raw e-mail | index | archive | help
Okay, Im trying to get my stinkin FreeBSD box to realize that there are
multiple networks on the same interface, but it refuses to realize this.

I have a private 10.* network on the same wire as the public class C network.
The system's IP address is in the public net.  I want the system to be able to
ping addresses in the 10.* net so I have /etc/sysconfig issuing static route's
for that network.  (E.g. route_private="10.0.0.0 -interface ${hostname}").
This appears to work (netstat -rn)

default          198.109.160.1      UGSc       36  3522685       ed0
10               link#1             UCSc        3        0
127.0.0.1        127.0.0.1          UH          1    12334       lo0
198.109.160      link#1             UC          0        0

However I still am unable to ping addersses in the 10 range, the packets are
sent to the default gateway :(.

   # ping -r 10.1.1.1

   PING 10.1.1.1 (10.1.1.1): 56 data bytes
   ping: sendto: Network is unreachable
   ping: wrote 10.1.1.1 64 chars, ret=-1

Any ideas as to what Im doing wrong here?  I am not running routed BTW.

Any help appreciated!

-Crh

       Charles Henrich     Michigan State University     henrich@msu.edu

                         http://pilot.msu.edu/~henrich



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