Date: Wed, 27 Mar 2002 21:07:39 -0000 From: "G D McKee" <freebsd@gdmckee.com> To: "Martyn Hill" <sysadmin@st-james-snrgirls.w-london.sch.uk>, "Mike Dewhirst" <Dewhirst.M@UCLES.org.uk>, "FreeBSD-questions" <freebsd-questions@freebsd.org> Subject: Re: Cable-modem, dynamic IP, NAT and IPFW Message-ID: <021101c1d5d3$6d6b9f70$c800a8c0@p1000> References: <0B0368CED76DD4118E1200D0B73E9B5D041E9F8D@MAIL1> <000a01c1d5b0$f282bfe0$0a00000a@stjames.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <freebsd@gdmckee.com>=20 > To: "Martyn Hill" <sysadmin@st-james-snrgirls.w-london.sch.uk>=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" <sysadmin@st-james-snrgirls.w-london.sch.uk> = > > To: "FreeBSD-questions" <freebsd-questions@freebsd.org>=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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>RE: Cable-modem, dynamic IP, NAT and IPFW</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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!!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>To reset the modem - just un plug it - = you need to=20 do leave it off for approx 30sec to fully reboot it.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Trust this helps?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Gordon</FONT></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Dsysadmin@st-james-snrgirls.w-london.sch.uk=20 href=3D"mailto:sysadmin@st-james-snrgirls.w-london.sch.uk">Martyn = Hill</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3DDewhirst.M@UCLES.org.uk=20 href=3D"mailto:Dewhirst.M@UCLES.org.uk">Mike Dewhirst</A> ; <A=20 title=3Dfreebsd-questions@freebsd.org=20 href=3D"mailto:freebsd-questions@freebsd.org">FreeBSD-questions</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, March 27, 2002 = 5:00=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Cable-modem, = dynamic IP, NAT=20 and IPFW</DIV> <DIV><BR></DIV> <DIV><FONT face=3DArial size=3D2>Mike</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'll post my rc.conf file when I = return=20 home.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Martyn.</FONT></DIV> <BLOCKQUOTE=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3DDewhirst.M@UCLES.org.uk = href=3D"mailto:Dewhirst.M@UCLES.org.uk">Mike=20 Dewhirst</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 title=3Dsysadmin@st-james-snrgirls.w-london.sch.uk=20 href=3D"mailto:sysadmin@st-james-snrgirls.w-london.sch.uk">'Martyn = Hill'</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A = title=3Dquestions@freebsd.org=20 href=3D"mailto:'questions@freebsd.org'">'questions@freebsd.org'</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, March 27, = 2002 4:42=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: Cable-modem, = dynamic IP,=20 NAT and IPFW</DIV> <DIV><BR></DIV> <P><FONT size=3D2>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).</FONT></P> <P><FONT size=3D2>Could be wrong, of course...</FONT> </P> <P><FONT size=3D2>Mike</FONT> </P><BR> <P><FONT size=3D2>> -----Original Message-----</FONT> <BR><FONT = size=3D2>>=20 From: Martyn Hill [<A=20 = href=3D"mailto:sysadmin@st-james-snrgirls.w-london.sch.uk">mailto:sysadmi= n@st-james-snrgirls.w-london.sch.uk</A>]</FONT>=20 <BR><FONT size=3D2>> Sent: 27 March 2002 15:12</FONT> <BR><FONT = size=3D2>>=20 To: G D McKee; FreeBSD-questions</FONT> <BR><FONT size=3D2>> = Subject: Re:=20 Cable-modem, dynamic IP, NAT and IPFW</FONT> <BR><FONT size=3D2>> = </FONT><BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> = Gordon</FONT>=20 <BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> Thanks for = your reply.=20 I'm using an Intel Pro/10 10Mbs NIC - </FONT><BR><FONT size=3D2>> = perhaps=20 going to 10/100 is the solution. When BY came to install</FONT> = <BR><FONT=20 size=3D2>> the cable-modem, they installed a 10/100 NIC in a = Windows box=20 </FONT><BR><FONT size=3D2>> which I thought excessive bearing in = mind the=20 512Kbs cable modem</FONT> <BR><FONT size=3D2>> speed.</FONT> = <BR><FONT=20 size=3D2>> </FONT><BR><FONT size=3D2>> Martyn</FONT> <BR><FONT = size=3D2>>=20 </FONT><BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> ----- = Original=20 Message -----</FONT> <BR><FONT size=3D2>> From: "G D McKee"=20 <freebsd@gdmckee.com></FONT> <BR><FONT size=3D2>> To: = "Martyn Hill"=20 <sysadmin@st-james-snrgirls.w-london.sch.uk></FONT> <BR><FONT=20 size=3D2>> Sent: Wednesday, March 27, 2002 2:45 PM</FONT> = <BR><FONT=20 size=3D2>> Subject: Re: Cable-modem, dynamic IP, NAT and = IPFW</FONT>=20 <BR><FONT size=3D2>> </FONT><BR><FONT size=3D2>> = </FONT><BR><FONT=20 size=3D2>> > Hi</FONT> <BR><FONT size=3D2>> ></FONT> = <BR><FONT=20 size=3D2>> > What Ethernet card are you using - I have 10BaseT = 3com=20 </FONT><BR><FONT size=3D2>> 3c5x9 cards and they</FONT> <BR><FONT = size=3D2>> > would not connect at all to blueyonder - hooked = up a 3com=20 </FONT><BR><FONT size=3D2>> 10/100 card and</FONT> <BR><FONT = size=3D2>>=20 > all was fine.</FONT> <BR><FONT size=3D2>> ></FONT> = <BR><FONT=20 size=3D2>> ></FONT> <BR><FONT size=3D2>> > Gordon</FONT> = <BR><FONT=20 size=3D2>> ></FONT> <BR><FONT size=3D2>> > ----- = Original Message=20 -----</FONT> <BR><FONT size=3D2>> > From: "Martyn Hill"=20 <sysadmin@st-james-snrgirls.w-london.sch.uk></FONT> <BR><FONT=20 size=3D2>> > To: "FreeBSD-questions"=20 <freebsd-questions@freebsd.org></FONT> <BR><FONT size=3D2>> = >=20 Sent: Wednesday, March 27, 2002 2:31 PM</FONT> <BR><FONT = size=3D2>> >=20 Subject: Cable-modem, dynamic IP, NAT and IPFW</FONT> <BR><FONT = size=3D2>>=20 ></FONT> <BR><FONT size=3D2>> ></FONT> <BR><FONT = size=3D2>> >=20 > Hi</FONT> <BR><FONT size=3D2>> > ></FONT> <BR><FONT = size=3D2>>=20 > > Can anyone cast any light on the following:</FONT> = <BR><FONT=20 size=3D2>> > ></FONT> <BR><FONT size=3D2>> > > I = have set up a=20 test-bench installation at home of FreeBSD 4.5,</FONT> <BR><FONT = size=3D2>>=20 > cable-modem (with Blueyonder) with dynamic IP, UserPPP = (PPPoE)</FONT>=20 <BR><FONT size=3D2>> > > running NAT, IPFW, BIND, DHCP, = Exim, Samba=20 and the Squid </FONT><BR><FONT size=3D2>> proxy software.</FONT> = <BR><FONT=20 size=3D2>> > The purpose behind the install is to avoid long=20 hours</FONT> <BR><FONT size=3D2>> > > spent at school = trying out new=20 configurations on an </FONT><BR><FONT size=3D2>> otherwise = working=20 live</FONT> <BR><FONT size=3D2>> > system (static IP, but = otherwise=20 similar.)</FONT> <BR><FONT size=3D2>> > ></FONT> <BR><FONT=20 size=3D2>> > > Having read (and tried to digest) the = various HowTos=20 and </FONT><BR><FONT size=3D2>> mailing list</FONT> <BR><FONT = size=3D2>>=20 > postings re. configuring for dynamic IP, I'm getting no</FONT>=20 <BR><FONT size=3D2>> > > joy connecting through the cable = modem. The=20 NIC MAC </FONT><BR><FONT size=3D2>> address has been</FONT> = <BR><FONT=20 size=3D2>> > registered with BY.</FONT> <BR><FONT = size=3D2>> >=20 ></FONT> <BR><FONT size=3D2>> > > My question: Can you = guide me to=20 a HowTo that details a </FONT><BR><FONT size=3D2>> comparable = setup</FONT>=20 <BR><FONT size=3D2>> > to the BY setup above, or offer any = pointers -=20 I'm sure</FONT> <BR><FONT size=3D2>> > > that I've missed = something=20 obvious along the way and have </FONT><BR><FONT size=3D2>> gotten = lost=20 in</FONT> <BR><FONT size=3D2>> > the detail.</FONT> <BR><FONT=20 size=3D2>> > ></FONT> <BR><FONT size=3D2>> > > In = particular,=20 configuring IPFW for dynamic IP (I have a </FONT><BR><FONT = size=3D2>>=20 working ruleset</FONT> <BR><FONT size=3D2>> > for fixed IP); = which of=20 NATD or UserPPP NAT is</FONT> <BR><FONT size=3D2>> > > = preferable (or=20 easier) to configure/use and how best to </FONT><BR><FONT = size=3D2>>=20 configure the</FONT> <BR><FONT size=3D2>> > external NIC using = the ISC=20 DHCLIENT software.</FONT> <BR><FONT size=3D2>> > ></FONT> = <BR><FONT=20 size=3D2>> > > Rather than forward all my current = configuration=20 files, </FONT><BR><FONT size=3D2>> please could you</FONT> = <BR><FONT=20 size=3D2>> > advise which are relevant and I'll provide = those.</FONT>=20 <BR><FONT size=3D2>> > ></FONT> <BR><FONT size=3D2>> = > >=20 Thanks in advance.</FONT> <BR><FONT size=3D2>> > ></FONT> = <BR><FONT=20 size=3D2>> > > Martyn Hill</FONT> <BR><FONT size=3D2>> = > > ICT=20 Teacher and IT Co-ordinator</FONT> <BR><FONT size=3D2>> > > = St James=20 Independent School</FONT> <BR><FONT size=3D2>> > > = London</FONT>=20 <BR><FONT size=3D2>> > ></FONT> <BR><FONT size=3D2>> = >=20 ></FONT> <BR><FONT size=3D2>> > > To Unsubscribe: send = mail to=20 majordomo@FreeBSD.org</FONT> <BR><FONT size=3D2>> > > with=20 "unsubscribe freebsd-questions" in the body of the message</FONT> = <BR><FONT=20 size=3D2>> > ></FONT> <BR><FONT size=3D2>> ></FONT> = <BR><FONT=20 size=3D2>> ></FONT> <BR><FONT size=3D2>> ></FONT> = <BR><FONT=20 size=3D2>> </FONT><BR><FONT size=3D2>> </FONT><BR><FONT = size=3D2>> To=20 Unsubscribe: send mail to majordomo@FreeBSD.org</FONT> <BR><FONT = size=3D2>>=20 with "unsubscribe freebsd-questions" in the body of the = message</FONT>=20 <BR><FONT size=3D2>> </FONT></P><CODE><FONT=20 = size=3D3><BR><BR>=3D*****************************************************= *****<BR><BR>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.<BR><BR>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.<BR><BR>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.<BR><BR>This=20 footnote also confirms that this email message has been swept=20 by<BR>MIMEsweeper for the presence of computer viruses although this = does=20 not guarantee that this email is virus=20 = free.<BR><BR>**********************************************************=3D= <BR></BLOCKQUOTE></BLOCKQUOTE></FONT></CODE></BODY></HTML> ------=_NextPart_000_020E_01C1D5D3.6D6277B0-- 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?021101c1d5d3$6d6b9f70$c800a8c0>