From owner-freebsd-questions Thu Oct 22 10:46:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA28871 for freebsd-questions-outgoing; Thu, 22 Oct 1998 10:46:05 -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 KAA28765 for ; Thu, 22 Oct 1998 10:46:02 -0700 (PDT) (envelope-from loren@pciway.com) Received: from vatos.pciway.com ([206.0.98.192]) by boingo.pciway.com (8.8.8/8.8.8) with SMTP id KAA00649; Thu, 22 Oct 1998 10:44:37 -0700 (PDT) Message-ID: <001c01bdfde4$21685b60$c06200ce@vatos.pciway.com> From: "Loren Koss" To: Cc: , Subject: Re: HELP! Can't see second Ethernet Card.. Date: Thu, 22 Oct 1998 10:48:08 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you for the advice. I will pick up a few books, but in the meantime, I am sure someone can easily tell me what to do. There are people out there who have done this and what I am doing is NOT in any way out of the ordinary. Once I get all the information it still won't change the fact that natd, ipfw, ifconfig, and route have very cryptic man pages. Loren -----Original Message----- From: Thierry.Herbelot@alcatel.fr To: loren@pciway.com Cc: dan@dpcsys.com ; freebsd-questions@FreeBSD.ORG Date: Thursday, October 22, 1998 9:54 AM Subject: Re: HELP! Can't see second Ethernet Card.. >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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message