From owner-freebsd-questions Thu Oct 22 09:37:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18488 for freebsd-questions-outgoing; Thu, 22 Oct 1998 09:37:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (news2.alcatel.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18482 for ; Thu, 22 Oct 1998 09:37:02 -0700 (PDT) (envelope-from Thierry.Herbelot@alcatel.fr) From: Thierry.Herbelot@alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id SAA07516; Thu, 22 Oct 1998 18:34:49 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id SAA13993; Thu, 22 Oct 1998 18:34:27 +0200 (MET DST) Received: from telss1.telspace.alcatel.fr (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id SAA13008; Thu, 22 Oct 1998 18:25:10 +0200 (MEST) Received: from telspace.alcatel.fr by telss1.telspace.alcatel.fr (4.1/SMI-4.1) id AA17311; Thu, 22 Oct 98 18:26:57 +0200 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA253753219; Thu, 22 Oct 1998 18:20:19 +0200 X-Openmail-Hops: 1 Date: Thu, 22 Oct 98 18:20:16 +0200 Message-Id: In-Reply-To: <000801bdfdd4$de2c9640$c06200ce@vatos.pciway.com> Subject: Re: HELP! Can't see second Ethernet Card.. Mime-Version: 1.0 To: loren@pciway.com Cc: dan@dpcsys.com, freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII; name="Re:" Content-Disposition: inline; filename="Re:" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, from what I find in your posts, I suggest you take somme readings : - natd and ipfw (there is a tutorial in the handbook and the man pages can help) - some book on IP networking (to sort out the routers / networks ...) In your case, it seems that you could use a private network (inside) and a natd/forfarding box (your gateway to Internet). TfH > Well, I think I spoke too soon when i said it worked. From the BSD > box, once I hooked up the wiring, I could ping inside network, the > outside network, everything! However, from any other machine > inside the network, I could only ping ep1 and stuff on the inside > No outside stuff and no ep0.. > > A couple of questions. Do I need to change the gateway on > the inside machines to now be the address of ep1? Do I need > to change the netmask of the inside machines as well? > > Do I need to set the BSD box as a gateway? How does it > know to route the packets through? I think this is where I > am missing something. > > Thanks > Loren > -----Original Message----- > From: Dan Busarow > To: Loren Daniel Koss > Cc: freebsd-questions@FreeBSD.ORG > Date: Wednesday, October 21, 1998 12:18 PM > Subject: Re: HELP! Can't see second Ethernet Card.. > > > >On Wed, 21 Oct 1998, Loren Daniel Koss wrote: > >> 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 > > > >You need to use subnetting to do this. The simplest, though probably > >not the best based on the numbers you show is two subnets like > > > >Router (206.0.98.1) > > | > > | > > |Ep0 206.0.98.10 netmask 255.255.255.128, broadcast 206.0.98.127 > > -Firewall- (IPFW) > > |Ep1 206.0.98.129 netmask 255.255.255.128, broadcast 206.0.98.255 > > | > > | > > | > > ------HUB---------- > > | > > | > > 206.0.98.130 - 206.0.98.254 > > > > > >You could also use a netmask of 206.0.98.192 on this inside net > >with two external subnets, one a /25 as above and the second another > >/26 with a netmask of 209.0.98.192. This would give you the address > >range 193-254 on the inside with the rest on the outside. > > > >Routing will be automatic in the first example, you'll need to add > >a static route for one of the two outside nets in the second case. > > > >You may also want to get a copy of _TCP/IP Network Administration_ > >from O'Reilly. > > > >Dan > >-- > > Dan Busarow 949 443 4172 > > Dana Point Communications, a California corporation dan@dpcsys.com > > Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message