From owner-freebsd-questions Thu Mar 28 8: 5:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.mailbox.net.uk (smtp.mailbox.co.uk [195.82.125.32]) by hub.freebsd.org (Postfix) with ESMTP id DCC9837B404 for ; Thu, 28 Mar 2002 08:05:45 -0800 (PST) Received: from [212.18.235.141] (helo=sjmobile) by smtp.mailbox.net.uk with smtp (Exim 3.22 #2) id 16qcPI-0001nN-00; Thu, 28 Mar 2002 16:05:44 +0000 Message-ID: <002601c1d672$9238db20$0a00000a@stjames.net> From: "Martyn Hill" To: "G D McKee" , "FreeBSD-questions" References: <0B0368CED76DD4118E1200D0B73E9B5D041E9F8D@MAIL1> <000a01c1d5b0$f282bfe0$0a00000a@stjames.net> <021101c1d5d3$6d6b9f70$c800a8c0@p1000> Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Date: Thu, 28 Mar 2002 16:06:50 -0000 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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 Gordon Thanks. The issue of daft firewall rules may be pertinent - however, I have (temporarily) switched off the firewall in /etc/rc.conf with firewall_enable="NO" Is this sufficient to ensure that I'm testing the system without interference from a potentially dodgy set of rules? Martyn Hill. ----- Original Message ----- From: "G D McKee" To: "Martyn Hill" ; "Mike Dewhirst" ; "FreeBSD-questions" Sent: Wednesday, March 27, 2002 9:07 PM Subject: Re: Cable-modem, dynamic IP, NAT and IPFW RE: Cable-modem, dynamic IP, NAT and IPFWHi I had the bright idea of putting a 10 base-t and a 100baset card in my box - the 10 for the internet and the 100 for the local LAN - never quite got around to switching the FreeBSD box of to put two 100 cards in!! FreeBSD just keeps on going - only reboot occasionally after a cvsup and a build world!! To reset the modem - just un plug it - you need to do leave it off for approx 30sec to fully reboot it. If you hard code an ip address into the external lan card of 192.168.100.2 - can you use a web browser to see 192.168.100.1? If I have got the address correct - fairly sure - you should get a web page up - this will prove that the card is taking to the cable mode. Do you get any output in /var/log/message log file? - You haven't got any daft firewall rules in there to deny all traffic - which in the default in FreeBSD's eyes Trust this helps? Gordon ----- Original Message ----- From: Martyn Hill To: Mike Dewhirst ; FreeBSD-questions Sent: Wednesday, March 27, 2002 5:00 PM Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Mike Thanks. When you say 'reset' the modem, what did that entail for you? You suggest that a power-cycle won't do the job on its own. I'll post my rc.conf file when I return home. Martyn. ----- Original Message ----- From: Mike Dewhirst To: 'Martyn Hill' Cc: 'questions@freebsd.org' Sent: Wednesday, March 27, 2002 4:42 PM Subject: RE: Cable-modem, dynamic IP, NAT and IPFW I don't think that would make a difference - I have a 10Mb card working with modem no problem. When I switched over from Win to Unix, though, I had t reset the modem (as opposed to off/on). Could be wrong, of course... Mike > -----Original Message----- > From: Martyn Hill [mailto:sysadmin@st-james-snrgirls.w-london.sch.uk] > Sent: 27 March 2002 15:12 > To: G D McKee; FreeBSD-questions > Subject: Re: Cable-modem, dynamic IP, NAT and IPFW > > > Gordon > > Thanks for your reply. I'm using an Intel Pro/10 10Mbs NIC - > perhaps going to 10/100 is the solution. When BY came to install > the cable-modem, they installed a 10/100 NIC in a Windows box > which I thought excessive bearing in mind the 512Kbs cable modem > speed. > > Martyn > > > ----- Original Message ----- > From: "G D McKee" > To: "Martyn Hill" > Sent: Wednesday, March 27, 2002 2:45 PM > Subject: Re: Cable-modem, dynamic IP, NAT and IPFW > > > > Hi > > > > What Ethernet card are you using - I have 10BaseT 3com > 3c5x9 cards and they > > would not connect at all to blueyonder - hooked up a 3com > 10/100 card and > > all was fine. > > > > > > Gordon > > > > ----- Original Message ----- > > From: "Martyn Hill" > > To: "FreeBSD-questions" > > Sent: Wednesday, March 27, 2002 2:31 PM > > Subject: Cable-modem, dynamic IP, NAT and IPFW > > > > > > > Hi > > > > > > Can anyone cast any light on the following: > > > > > > I have set up a test-bench installation at home of FreeBSD 4.5, > > cable-modem (with Blueyonder) with dynamic IP, UserPPP (PPPoE) > > > running NAT, IPFW, BIND, DHCP, Exim, Samba and the Squid > proxy software. > > The purpose behind the install is to avoid long hours > > > spent at school trying out new configurations on an > otherwise working live > > system (static IP, but otherwise similar.) > > > > > > Having read (and tried to digest) the various HowTos and > mailing list > > postings re. configuring for dynamic IP, I'm getting no > > > joy connecting through the cable modem. The NIC MAC > address has been > > registered with BY. > > > > > > My question: Can you guide me to a HowTo that details a > comparable setup > > to the BY setup above, or offer any pointers - I'm sure > > > that I've missed something obvious along the way and have > gotten lost in > > the detail. > > > > > > In particular, configuring IPFW for dynamic IP (I have a > working ruleset > > for fixed IP); which of NATD or UserPPP NAT is > > > preferable (or easier) to configure/use and how best to > configure the > > external NIC using the ISC DHCLIENT software. > > > > > > Rather than forward all my current configuration files, > please could you > > advise which are relevant and I'll provide those. > > > > > > Thanks in advance. > > > > > > Martyn Hill > > > ICT Teacher and IT Co-ordinator > > > St James Independent School > > > London > > > > > > > > > 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 > =********************************************************** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free. **********************************************************= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message