Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 16:17:40 -0700 (PDT)
From:      Joseph Garcia <bear@buug.homeip.net>
To:        <questions@freebsd.org>
Subject:   Re: How do I Route 3 different networks On One Interface
Message-ID:  <20010712160521.H19644-100000@localhost>
In-Reply-To: <3B4E2715.7C908DA@khmere.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Nathan,

Woah, I didn't realize I forgot to add that vital information.  I guess it
just slipped my mind.  I even thought about adding the netstat -rn
information but I didn't think about netstat -in information.  Anyways,
here it is:

netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            192.168.0.1        UGSc        1        0      tl0
127.0.0.1          127.0.0.1          UH          0       74      lo0
192.168            link#1             UC          0        0      tl0 =>
192.168.0.31       0:4:0:44:27:f7     UHLS        0       89      tl0
192.168.10         link#1             UC          0        0      tl0 =>
192.168.20/29      link#1             UC          0        0      tl0 =>

Internet6:
Destination                       Gateway                       Flags
Netif Expire
::1                               ::1                           UH
lo0
fe80::%tl0/64                     link#1                        UC
tl0
fe80::%lo0/64                     fe80::1%lo0                   Uc
lo0
ff01::/32                         ::1                           U
lo0
ff02::%tl0/32                     link#1                        UC
tl0
ff02::%lo0/32                     fe80::1%lo0                   UC
lo0

netstat -in
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs
Coll
tl0   1500  <Link#1>    00:80:5f:b6:37:31  3272659     0   141737     0
721
tl0   1500  fe80:1::280 fe80:1::280:5fff:        0     -        0     -
-
tl0   1500  192.168       192.168.0.8       437389     -    63469     -
-
tl0   1500  192.168.20/29 192.168.20.1           0     -        0     -
-
tl0   1500  192.168.10    192.168.10.100         3     -        2     -
-
faith 1500  <Link#2>                             0     0        0     0
0
gif0* 1280  <Link#3>                             0     0        0     0
0
gif1* 1280  <Link#4>                             0     0        0     0
0
gif2* 1280  <Link#5>                             0     0        0     0
0
gif3* 1280  <Link#6>                             0     0        0     0
0
lo0   16384 <Link#7>                           106     0      106     0
0
lo0   16384 fe80:7::1/6 fe80:7::1                0     -        0     -
-
lo0   16384 ::1/128     ::1                      6     -        6     -
-
lo0   16384 127           127.0.0.1             74     -       74     -
-
ppp0* 1500  <Link#8>                             0     0        0     0
0
sl0*  552   <Link#9>                             0     0        0     0
0

Now, by looking at the netstat -rn information you might notice that it
doesn't seem to have routes to other networks.  At least I think it should
have routes from one network to the other.  I could be wrong (and that's
why I'm asking the question).  If there does need to be routes to one
network to the other I'm not sure exactly on the right syntax of the route
command to achieve my goal.  I guess that's where I need a bit of help.

TIA,

Joey Garcia

Sorry about the wrapping.

On Thu, 12 Jul 2001, Nathan wrote:
> Do us a favor and dump your routing table like:
>
> netstat -nr
>
> also do:
>
> netstat -in
>
>
> this will help people answer your question
>
> -nb


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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