From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 06:18:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CF916A4BF for ; Sun, 7 Sep 2003 06:18:14 -0700 (PDT) Received: from svr7.m-online.net (svr7.m-online.net [62.245.150.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F1C043FBD for ; Sun, 7 Sep 2003 06:18:13 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-161-39.mnet-online.de [62.245.161.39]) by svr7.m-online.net (Postfix) with ESMTP id 7E94E7C046; Sun, 7 Sep 2003 15:18:12 +0200 (CEST) From: Harald Schmalzbauer To: Peter Ulrich Kruppa , freebsd-questions@freebsd.org Date: Sun, 7 Sep 2003 15:18:06 +0200 User-Agent: KMail/1.5.3 References: <20030906111848.N649@pukruppa.net> In-Reply-To: <20030906111848.N649@pukruppa.net> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_UAzW/iRGXhd/ow4"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200309071518.12477@harrymail> Subject: Re: routing problems (experience needed) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 13:18:14 -0000 --Boundary-02=_UAzW/iRGXhd/ow4 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Saturday 06 September 2003 12:19, Peter Ulrich Kruppa wrote: > Hi, > > I am trying to substitute our school's old Win NT4 Server by a > SAMBA/FreeBSD. The SAMBA PDC itself works like a charm, but > without the NT machine it can't be located from the different > subnets - and so is quite useless. > > This is our network design: > > > Internet > > ^ > > _______+_____ > > | DSL Router| 172.16.2.254 > > -------+----- > > _______+____ > > | Switch +--+ > > -+-+-+-+-+-- | > _____________ | | | | | +-----------+ > > | PROXY FBSD|--+ | | | | | 172.16.2.1 > > ------------- | | | | ____________ +_________ > 172.16.2.11 | | | +-| SAMBA PDC| | NT4 PDC| > > | | | ----------- -------+-- > | | | 172.16.2.253 | > | | | 172.16.1.1 > > different subnets: | > 172.16.3. | > 172.16.4. | > 172.16.5. 172.16.2. > etc. subnet > (with routers and (with switches) > switches) > > > As I said: connections between the different subnets break as > soon as the NT4 Server is plugged off. > What can be done: > 1) Change all machines to mask 255.255.0.0 > - or would this end up in bad perfomance? > (We have about 35 workstations all over the house and the > number is growing) I'm guessing your sunet currently is /24. Don't consider any perfomance issues unless you have at least 100 workstati= ons > 2) Set up some kind of router (we have got some old P75 left)? Well, if machine FOO=3D172.16.3.x/24 want's to communicate with machine=20 BAR=3D172.16.4.x/24 you WILL need a router in any case. If you just want to have machined FOO and BAR communicate with=20 PDC=3D172.16.2.x/24 you could do some ARP tricks but I guess you have a rou= ter=20 in each subnet. Now your problem is with WIndowsNameService (WINS) You have to setup samba as a WINS server with local master and domain maste= r=20 set. Then your clients need to get the DPC's IP as WINS Server. You can do= =20 that with ISC's DHCP by adding the following option "netbios-name-servers=20 your.pdc-ip.or.name;" Per definition in each subnet had to be another local master but I can=20 remember that if there are enough machines in each subnet, so that there is= =20 alwas a masterbrowser online, it works without. Hope this helps, =2DHarry > 3) Something completely different? > > Thanks for all kinds of ideas and hints. > > Uli. > > > +---------------------------+ > > | Peter Ulrich Kruppa | > | > | Wuppertal | > | Germany | > > +---------------------------+ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --Boundary-02=_UAzW/iRGXhd/ow4 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/WzAUBylq0S4AzzwRAoXwAJ9g7wqmVSPt0jWSCSUgcGW/CgbPSQCfUD5v KX3nPE9o/Qg2zZ+taOFARfs= =hgkz -----END PGP SIGNATURE----- --Boundary-02=_UAzW/iRGXhd/ow4--