Date: Wed, 21 Oct 1998 11:59:28 -0700 (PDT) From: Loren Daniel Koss <loren@boingo.pciway.com> To: freebsd-questions@FreeBSD.ORG Subject: HELP! Can't see second Ethernet Card.. Message-ID: <Pine.BSF.3.95q.981021115321.1966B-100000@boingo.pciway.com>
next in thread | raw e-mail | index | archive | help
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 <Link> 0 0 0 0
0
ep0 1500 <Link> 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 <Link> 00.60.8c.c8.e1.13 0 0 1 0
0
ep1 1500 206.0.98 net 0 0 1 0
0
tun0* 1500 <Link> 0 0 0 0
0
sl0* 552 <Link> 0 0 0 0
0
ppp0* 1500 <Link> 0 0 0 0
0
lo0 16384 <Link> 3394 0 3394 0
0
lo0 16384 your-net localhost 3394 0 3394 0
0
ifocnfig -a
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 206.0.98.9 netmask 0xffffff00 broadcast 206.0.98.255
ether 00:60:8c:c8:e1:13
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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: <UP,DONE,CLONING>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.981021115321.1966B-100000>
