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