From owner-freebsd-questions Mon Feb 10 12:20:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA22713 for questions-outgoing; Mon, 10 Feb 1997 12:20:30 -0800 (PST) Received: from cedb.dpcsys.com (CEDB.DPCSYS.com [207.124.154.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA22708 for ; Mon, 10 Feb 1997 12:20:19 -0800 (PST) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.2/8.8.2) with SMTP id UAA18252; Mon, 10 Feb 1997 20:04:14 GMT Date: Mon, 10 Feb 1997 12:04:13 -0800 (PST) From: Dan Busarow To: Bogusz Jelinski cc: freebsd-questions@freebsd.org Subject: Re: Routing problem with two ethernet cards (2.1.5) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 mtu 1500 > inet 150.254.193.33 netmask 0xfffffff0 broadcast 150.254.193.47 > ed1: flags=8863 mtu 1500 > inet 150.254.162.150 netmask 0xfffffff0 broadcast 150.254.162.159 > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > sl0: flags=c010 mtu 552 > tun0: flags=8010 mtu 1500 This looks perfect. > > netstat -in > ed0 1500 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 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 0 0 0 0 0 > lo0 16384 7 0 7 0 0 > lo0 16384 127 127.0.0.1 7 0 7 0 0 > sl0* 552 0 0 0 0 0 > tun0* 1500 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