From owner-freebsd-questions Wed Oct 21 11:59:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24655 for freebsd-questions-outgoing; Wed, 21 Oct 1998 11:59:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from boingo.pciway.com (boingo.pciway.com [206.0.98.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24650 for ; Wed, 21 Oct 1998 11:59:56 -0700 (PDT) (envelope-from loren@boingo.pciway.com) Received: from localhost (loren@localhost) by boingo.pciway.com (8.8.8/8.8.8) with SMTP id LAA01983 for ; Wed, 21 Oct 1998 11:59:28 -0700 (PDT) Date: Wed, 21 Oct 1998 11:59:28 -0700 (PDT) From: Loren Daniel Koss To: freebsd-questions@FreeBSD.ORG Subject: HELP! Can't see second Ethernet Card.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, here's the diagram I want: Router (206.0.98.1) | | |Ep0 (206.0.98.10) -Firewall- (IPFW) |Ep1 (206.0.98.9) | | | ------HUB---------- | | 206.0.98.200 - 206.0.98.250 As you can see, all my machine have public IP addresses, but the firewall will protect against hacks.. I'm only opening port 80 on the web servers, etc. The problem is, right now I have the router plugged into the hub and the hub plugged into EP0 because I can't seem to ping ep1, unless I plug it into the hub as well - uhh Obviousely no firewall action happening then! So, why can't I ping 206.0.98.9 from the BSD machine? Here's some interesting things I grabbed: netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll lp0* 1500 0 0 0 0 0 ep0 1500 00.60.8c.c9.1e.1f 13698 0 9689 1 0 ep0 1500 206.0.98 boingo 13698 0 9689 1 0 ep0 1500 ns2/32 ns2 13698 0 9689 1 0 ep0 1500 www.jboards.c www.jboards.com 13698 0 9689 1 0 ep1 1500 00.60.8c.c8.e1.13 0 0 1 0 0 ep1 1500 206.0.98 net 0 0 1 0 0 tun0* 1500 0 0 0 0 0 sl0* 552 0 0 0 0 0 ppp0* 1500 0 0 0 0 0 lo0 16384 3394 0 3394 0 0 lo0 16384 your-net localhost 3394 0 3394 0 0 ifocnfig -a lp0: flags=8810 mtu 1500 ep0: flags=8843 mtu 1500 inet 206.0.98.10 netmask 0xffffff00 broadcast 206.0.98.255 inet 206.0.98.60 netmask 0xffffffff broadcast 206.0.98.60 inet 206.0.98.190 netmask 0xffffffff broadcast 206.0.98.190 ether 00:60:8c:c9:1e:1f ep1: flags=8843 mtu 1500 inet 206.0.98.9 netmask 0xffffff00 broadcast 206.0.98.255 ether 00:60:8c:c8:e1:13 tun0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 route get 206.0.98.9 route to: net destination: 206.0.98.0 mask: 255.255.255.0 interface: ep0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 16384 16384 0 0 0 0 1500 -496 obviousely this is where the problem lies. It is trying to go out through ep0 to get to 206.0.98.9. I notieced that Linux has a device command on their /sbin/route, how come our version doesn't? Thanks for the help! Loren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message