Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 98 18:20:16 +0200
From:      Thierry.Herbelot@alcatel.fr
To:        loren@pciway.com
Cc:        dan@dpcsys.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: HELP! Can't see second Ethernet Card..
Message-ID:  <H000057c01957bf6@MHS>
In-Reply-To: <000801bdfdd4$de2c9640$c06200ce@vatos.pciway.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dan@dpcsys.com>
> To: Loren Daniel Koss <loren@boingo.pciway.com>
> Cc: freebsd-questions@FreeBSD.ORG <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



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