From owner-freebsd-questions Sat Jan 11 14:46:58 2003 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 19CDF37B401 for ; Sat, 11 Jan 2003 14:46:56 -0800 (PST) Received: from smtp1.home.se (smtp1.home.se [195.66.35.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF5943F18 for ; Sat, 11 Jan 2003 14:46:54 -0800 (PST) (envelope-from nikk@home.se) Received: from athlon nikk@home.se [217.215.6.22] by smtp1.home.se with NetMail SMTP Agent $Revision: 3.16 $ on Novell NetWare; Sat, 11 Jan 2003 23:39:08 -119304547 Message-ID: <002b01c2b9c3$56722e40$0100a8c0@athlon> From: "Nikolaj Farrell" To: Cc: "FreeBSD Questions" References: <001701c2b987$9fdf72e0$0100a8c0@athlon> <1042300066.51041.227.camel@localhost> <002a01c2b989$f2099e90$1200a8c0@gsicomp.on.ca> <000b01c2b98a$df9981c0$0100a8c0@athlon> <1042301568.51041.233.camel@localhost> <001201c2b98e$063311e0$0100a8c0@athlon> <1042303096.51041.237.camel@localhost> <000301c2b993$55e70610$0100a8c0@athlon> <20030111171152.GH25529@sub21-156.member.dsl-only.net> <001b01c2b995$0dbf6d30$0100a8c0@athlon> <1042305860.51041.240.camel@localhost> <001801c2b999$95567000$0100a8c0@athlon> <1042310110.51041.250.camel@localhost> Subject: Re: Problems w NIC Date: Sat, 11 Jan 2003 23:46:53 +0100 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 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello again everyone, I will try to clearify below; > Thanks for getting back with the funky art:-) > > Question on the network though, you mentioned: > > "but the idea is that all machines except .0.2 have one NIC connected to > the hub" More appropriate description would be "All machines except 192.168.0.2 have one NIC. 192.168.0.2 has two NICs, where one NIC is connected to hub and the other to DSL modem." I am sorry if this caused confusion. > > So according to your diagram, the FreeBSD box has two nics - 1 to > Internet (?) and the other connected to ...., what? > > Which interface on the FreeBSD box has the IP address of 192.168.0.2? If > of all the machines, ".0.2" connect to the hub, how do the others then > see the FreeBSD box? Actually all my computers are FreeBSD. The gateway with two NICs has one NIC connected to the hub. Me writing "0.2" was simple laziness and meant 192.168.0.2. I was not trying to indicate an ip-range or anything similar. > > > You also mention: > > "0.2 has two NICs and is gateway/firewall" > > What packet filter do you have? For whichever you are using, please post > the fw logs. > 192.168.0.2 is running natd/ipfw. The only thing forwarded aimed specifically at one machine is pop and smtp which both redirect to my mailserver. Otherwise the following rule is all I have; (apart from firewalling on external NIC and there are no rules for the internal network) 00100 divert 8668 ip from any to any via xl0 These rules work perfectly for all other fbsd-boxes on my LAN. > Looking forward to hearing more on the information I asked for here. > > Regards, > > Stacey > I hope this makes things a little more clear. I can also add that I, in all frustration, did a complete reinstall. I repartioned/sliced the disk and then installed again from cd-rom. (The installer wouldn't allow ftp, since it couldn't find any servers responding... ;) ). This did, naturally, not help at all. regards /Nikolaj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message