Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 1997 12:04:13 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Bogusz Jelinski <bogusz@lib.amu.edu.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Routing problem with two ethernet cards (2.1.5)
Message-ID:  <Pine.UW2.3.95.970210115104.15605G-100000@cedb>
In-Reply-To: <Pine.LNX.3.91.970210072539.7640B-100000@lib.amu.edu.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Feb 1997, Bogusz Jelinski wrote:
> On Sun, 9 Feb 1997, Dan Busarow wrote:
> > Nothing terribly obvious.  What does the output of
> > 
> > ifconfig -a
> ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 150.254.193.33 netmask 0xfffffff0 broadcast 150.254.193.47
> ed1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 150.254.162.150 netmask 0xfffffff0 broadcast 150.254.162.159
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500

This looks perfect.

> > netstat -in
> ed0   1500  <Link>48.54.33.01.2b.c2           6150     0     6624     0     1
> ed0   1500  150.254.193.3 150.254.193.33      6150     0     6624     0     1
> ed1   1500  <Link>00.00.b4.10.8d.e8         477344  2145   222598     0   926
> ed1   1500  150.254.162.1 150.254.162.150   477344  2145   222598     0   926
> lp0*  1500  <Link>                               0     0        0     0     0
> lo0   16384 <Link>                               7     0        7     0     0
> lo0   16384 127           127.0.0.1              7     0        7     0     0
> sl0*  552   <Link>                               0     0        0     0     0
> tun0* 1500  <Link>                               0     0        0     0     0

Well, the entries are correct but you sure have a lot of errors and
collisions on ed1.  You should check your cabling etc..

> > netstat -rn
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif 
> Expire
> default            150.254.162.145    UGSc        2      391       ed1
> 127.0.0.1          127.0.0.1          UH          0        7       lo0
> 150.254.162.144/28 link#2             UC          0        0 
> 150.254.162.145    8:0:2:5:f1:77      UHLW        3        0       ed1    820
> 150.254.162.147    36:0:98:13:a8:40   UHLW        1        0       ed1    912
> 150.254.193.32/28  link#1             UC          0        0 
> 193.59.32.210      150.254.162.147    UGHD        0      734       ed1

This also looks correct except that you aren't getting any traffic
from the network on ed0 (no arp entries).

I've forgotten the original question, unless it was a generic I can't route.
Could you restate it please?  Also, can any of the hosts on the
150.254.162.144/28 net talk to this machine?

Also, if 150.254.162.144/28 is a simple subnet (no other routers on it)
turn off routed and see how that works.  Your default and ifconfig'd
statics will take care of routing in that case.

Dan
-- 
 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970210115104.15605G-100000>