Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 1998 12:11:28 -0700
From:      Joe Read <joer@triax.com>
To:        isp@FreeBSD.ORG
Subject:   FreeBSD firewall
Message-ID:  <199805201908.MAA07730@smtp.triax.com>

next in thread | raw e-mail | index | archive | help
(Ack, pine is not eudora. ctrl-e does NOT go to end of line.)

Hello Everyone,

I'm trying to set up a simple little packet blocker box using two nics,
once of which uses a crossover cable to the router, another which goes
to our hub.  I can't seem to route packets between the two, currently
I can't tell you why since I plugged the router straight back into the
hub to resume company productivity. :)

Here's the setup I was trying:

Subnet routed to us: 206.58.97.64/26
Router eth1 IP address: 206.58.97.65

ed0 (crossover cable to router eth1 port):
ifconfig ed0 206.58.97.66 netmask 255.255.255.192
route add -host 206.58.97.65 -interface ed0
route add -net default 0.0.0.0 206.58.97.65

ed1 (lan connection):
ifconfig ed1 206.58.97.89 netmask 255.255.255.192
route add -net 206.58.97.64 255.255.255.192 206.58.97.66

When the internal 95 boxes set their gateway to 97.89,
nothing happens.  On the freebsd box I can ping 97.65,
but I can't ping any of the 95 boxes.  I assume my
routing's correct, but I could be wrong.

Ideas?

Thanks

Joe


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



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