From owner-freebsd-questions Wed Mar 27 13: 8:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blueyonder.co.uk (pcow034o.blueyonder.co.uk [195.188.53.122]) by hub.freebsd.org (Postfix) with ESMTP id 74B4037B419 for ; Wed, 27 Mar 2002 13:07:42 -0800 (PST) Received: from pcow034o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Wed, 27 Mar 2002 21:07:41 +0000 Received: from gdmckee.local (unverified [62.30.209.30]) by pcow034o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id for ; Wed, 27 Mar 2002 21:07:41 +0000 Received: from [192.168.0.200] (helo=p1000) by gdmckee.local with smtp (Exim 3.35 #1) id 16qKdh-0004AR-00; Wed, 27 Mar 2002 21:07:25 +0000 Message-ID: <021101c1d5d3$6d6b9f70$c800a8c0@p1000> From: "G D McKee" To: "Martyn Hill" , "Mike Dewhirst" , "FreeBSD-questions" References: <0B0368CED76DD4118E1200D0B73E9B5D041E9F8D@MAIL1> <000a01c1d5b0$f282bfe0$0a00000a@stjames.net> Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Date: Wed, 27 Mar 2002 21:07:39 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_020E_01C1D5D3.6D6277B0" 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 This is a multi-part message in MIME format. ------=_NextPart_000_020E_01C1D5D3.6D6277B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 -----=20 From: Martyn Hill=20 To: Mike Dewhirst ; FreeBSD-questions=20 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 -----=20 From: Mike Dewhirst=20 To: 'Martyn Hill'=20 Cc: 'questions@freebsd.org'=20 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...=20 Mike=20 > -----Original Message-----=20 > From: Martyn Hill = [mailto:sysadmin@st-james-snrgirls.w-london.sch.uk]=20 > Sent: 27 March 2002 15:12=20 > To: G D McKee; FreeBSD-questions=20 > Subject: Re: Cable-modem, dynamic IP, NAT and IPFW=20 >=20 >=20 > Gordon=20 >=20 > Thanks for your reply. I'm using an Intel Pro/10 10Mbs NIC -=20 > perhaps going to 10/100 is the solution. When BY came to install=20 > the cable-modem, they installed a 10/100 NIC in a Windows box=20 > which I thought excessive bearing in mind the 512Kbs cable modem=20 > speed.=20 >=20 > Martyn=20 >=20 >=20 > ----- Original Message -----=20 > From: "G D McKee" =20 > To: "Martyn Hill" =20 > Sent: Wednesday, March 27, 2002 2:45 PM=20 > Subject: Re: Cable-modem, dynamic IP, NAT and IPFW=20 >=20 >=20 > > Hi=20 > >=20 > > What Ethernet card are you using - I have 10BaseT 3com=20 > 3c5x9 cards and they=20 > > would not connect at all to blueyonder - hooked up a 3com=20 > 10/100 card and=20 > > all was fine.=20 > >=20 > >=20 > > Gordon=20 > >=20 > > ----- Original Message -----=20 > > From: "Martyn Hill" = > > To: "FreeBSD-questions" =20 > > Sent: Wednesday, March 27, 2002 2:31 PM=20 > > Subject: Cable-modem, dynamic IP, NAT and IPFW=20 > >=20 > >=20 > > > Hi=20 > > >=20 > > > Can anyone cast any light on the following:=20 > > >=20 > > > I have set up a test-bench installation at home of FreeBSD = 4.5,=20 > > cable-modem (with Blueyonder) with dynamic IP, UserPPP (PPPoE)=20 > > > running NAT, IPFW, BIND, DHCP, Exim, Samba and the Squid=20 > proxy software.=20 > > The purpose behind the install is to avoid long hours=20 > > > spent at school trying out new configurations on an=20 > otherwise working live=20 > > system (static IP, but otherwise similar.)=20 > > >=20 > > > Having read (and tried to digest) the various HowTos and=20 > mailing list=20 > > postings re. configuring for dynamic IP, I'm getting no=20 > > > joy connecting through the cable modem. The NIC MAC=20 > address has been=20 > > registered with BY.=20 > > >=20 > > > My question: Can you guide me to a HowTo that details a=20 > comparable setup=20 > > to the BY setup above, or offer any pointers - I'm sure=20 > > > that I've missed something obvious along the way and have=20 > gotten lost in=20 > > the detail.=20 > > >=20 > > > In particular, configuring IPFW for dynamic IP (I have a=20 > working ruleset=20 > > for fixed IP); which of NATD or UserPPP NAT is=20 > > > preferable (or easier) to configure/use and how best to=20 > configure the=20 > > external NIC using the ISC DHCLIENT software.=20 > > >=20 > > > Rather than forward all my current configuration files,=20 > please could you=20 > > advise which are relevant and I'll provide those.=20 > > >=20 > > > Thanks in advance.=20 > > >=20 > > > Martyn Hill=20 > > > ICT Teacher and IT Co-ordinator=20 > > > St James Independent School=20 > > > London=20 > > >=20 > > >=20 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org=20 > > > with "unsubscribe freebsd-questions" in the body of the = message=20 > > >=20 > >=20 > >=20 > >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org=20 > with "unsubscribe freebsd-questions" in the body of the message=20 >=20 =3D********************************************************** 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. **********************************************************=3D ------=_NextPart_000_020E_01C1D5D3.6D6277B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Cable-modem, dynamic IP, NAT and IPFW
Hi
 
I had the bright idea of putting a 10 = base-t and a=20 100baset card in my box - the 10 for the internet and the 100 for the = local LAN=20 - never quite got around to switching the FreeBSD box of to put two 100 = cards=20 in!!  FreeBSD just keeps on going - only reboot occasionally after = a cvsup=20 and a build world!!
 
To reset the modem - just un plug it - = you need to=20 do leave it off for approx 30sec to fully reboot it.
 
If you hard code an ip address into the = external=20 lan card of 192.168.100.2 - can you use a web browser to see=20 192.168.100.1?  If I have got the address correct - fairly sure - = you=20 should get a web page up - this will prove that the card is taking to = the cable=20 mode.
 
Do you get any output in = /var/log/message log file?=20 - You haven't got any daft firewall rules in there to deny all traffic - = which=20 in the default in FreeBSD's eyes
 
Trust this helps?
 
Gordon
----- Original Message -----
From:=20 Martyn = Hill=20
To: Mike Dewhirst ; FreeBSD-questions =
Sent: Wednesday, March 27, 2002 = 5:00=20 PM
Subject: Re: Cable-modem, = dynamic IP, NAT=20 and IPFW

Mike
 
Thanks. When you say 'reset' the = modem, what did=20 that entail for you? You suggest that a power-cycle won't do the job = on its=20 own.
 
I'll post my rc.conf file when I = return=20 home.
 
Martyn.
----- Original Message -----
From:=20 Mike=20 Dewhirst
To: 'Martyn = Hill'=20
Sent: Wednesday, March 27, = 2002 4:42=20 PM
Subject: RE: Cable-modem, = dynamic IP,=20 NAT and IPFW

I don't think that would make a difference - I = have a 10Mb=20 card working with modem no problem. When I switched over from Win to = Unix,=20 though, I had t reset the modem (as opposed to off/on).

Could be wrong, of course...

Mike


> -----Original Message-----
>=20 From: Martyn Hill [mailto:sysadmi= n@st-james-snrgirls.w-london.sch.uk]=20
> Sent: 27 March 2002 15:12
>=20 To: G D McKee; FreeBSD-questions
> = Subject: Re:=20 Cable-modem, dynamic IP, NAT and IPFW
> =
>
> = Gordon=20
>
> Thanks for = your reply.=20 I'm using an Intel Pro/10 10Mbs NIC -
> = perhaps=20 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=20
> which I thought excessive bearing in = mind the=20 512Kbs cable modem
> speed. =
>
> Martyn
>=20
>
> ----- = Original=20 Message -----
> From: "G D McKee"=20 <freebsd@gdmckee.com>
> To: = "Martyn Hill"=20 <sysadmin@st-james-snrgirls.w-london.sch.uk>
> Sent: Wednesday, March 27, 2002 2:45 PM =
> Subject: Re: Cable-modem, dynamic IP, NAT and = IPFW=20
>
> =
> > Hi
> > =
> > What Ethernet card are you using - I have 10BaseT = 3com=20
> 3c5x9 cards and they
> > would not connect at all to blueyonder - hooked = up a 3com=20
> 10/100 card and
>=20 > all was fine.
> > =
> >
> > Gordon =
> >
> > ----- = Original Message=20 -----
> > From: "Martyn Hill"=20 <sysadmin@st-james-snrgirls.w-london.sch.uk>
> > To: "FreeBSD-questions"=20 <freebsd-questions@freebsd.org>
> = >=20 Sent: Wednesday, March 27, 2002 2:31 PM
> >=20 Subject: Cable-modem, dynamic IP, NAT and IPFW
>=20 >
> >
> >=20 > Hi
> > >
>=20 > > Can anyone cast any light on the following: =
> > >
> > > I = have set up a=20 test-bench installation at home of FreeBSD 4.5,
>=20 > cable-modem (with Blueyonder) with dynamic IP, UserPPP = (PPPoE)=20
> > > running NAT, IPFW, BIND, DHCP, = Exim, Samba=20 and the Squid
> proxy software. =
> > The purpose behind the install is to avoid long=20 hours
> > > spent at school = trying out new=20 configurations on an
> otherwise = working=20 live
> > system (static IP, but = otherwise=20 similar.)
> > >
> > > Having read (and tried to digest) the = various HowTos=20 and
> mailing list
>=20 > postings re. configuring for dynamic IP, I'm getting no=20
> > > joy connecting through the cable = modem. The=20 NIC MAC
> address has been =
> > registered with BY.
> >=20 >
> > > My question: Can you = guide me to=20 a HowTo that details a
> comparable = setup=20
> > to the BY setup above, or offer any = pointers -=20 I'm sure
> > > that I've missed = something=20 obvious along the way and have
> gotten = lost=20 in
> > the detail.
> > >
> > > In = particular,=20 configuring IPFW for dynamic IP (I have a
>=20 working ruleset
> > for fixed IP); = which of=20 NATD or UserPPP NAT is
> > > = preferable (or=20 easier) to configure/use and how best to
>=20 configure the
> > external NIC using = the ISC=20 DHCLIENT software.
> > > =
> > > Rather than forward all my current = configuration=20 files,
> please could you =
> > advise which are relevant and I'll provide = those.=20
> > >
> = > >=20 Thanks in advance.
> > > =
> > > Martyn Hill
> = > > ICT=20 Teacher and IT Co-ordinator
> > > = St James=20 Independent School
> > > = London=20
> > >
> = >=20 >
> > > To Unsubscribe: send = mail to=20 majordomo@FreeBSD.org
> > > with=20 "unsubscribe freebsd-questions" in the body of the message =
> > >
> > =
> >
> > =
>
>
> To=20 Unsubscribe: send mail to majordomo@FreeBSD.org
>=20 with "unsubscribe freebsd-questions" in the body of the = message=20
>



=3D*****************************************************= *****

If=20 you are not the intended recipient, employee or agent responsible = for=20 delivering the message to the intended recipient, you are hereby = notified=20 that any dissemination or copying of this communication and its = attachments=20 is strictly prohibited.

If you have received this = communication and=20 its attachments in error, please return the original message and = attachments=20 to the sender using the reply facility on e-mail.

Internet=20 communications are not secure and therefore the UCLES Group does not = accept=20 legal responsibility for the contents of this message. Any views or = opinions=20 presented are solely those of the author and do not necessarily = represent=20 those of the UCLES Group unless otherwise specifically = stated.

This=20 footnote also confirms that this email message has been swept=20 by
MIMEsweeper for the presence of computer viruses although this = does=20 not guarantee that this email is virus=20 = free.

**********************************************************=3D=
------=_NextPart_000_020E_01C1D5D3.6D6277B0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message