ipfw dummynet problem

Company 2210 company2210 at hotmail.com
Tue May 27 16:54:19 BST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_01B8_01C32470.9DDD9EF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Yep, that was it , thanks guys. I was under the illusion it was actually
part of the firewall. Obviously not

is it IP_DUMMYNET to compile support into the kernel?

Thanks again, you can tell I'm new at this  :))

Colin.


----- Original Message -----
From: "Jon Mercer" <jon at trojan-heroes.co.uk>
To: "Company 2210" <company2210 at hotmail.com>
Cc: <freebsd-users at uk.freebsd.org>
Sent: Tuesday, May 27, 2003 3:17 PM
Subject: Re: ipfw dummynet problem


> Company 2210 wrote:
>
> > Hi people,
> >     I'm new to freebsd so I'm still learning, but I've encounted a
> > problem I cannot find an (english) explantion/solution for. =
Basically,
> > I've installed Freebsd 5.0 on a machine with two Network Interface
> > Cards in. Now, when I boot up, I receive a 'dc0: watchdog timeout' - =
I
> > have to force the interface to down until a cable connected to the
> > switch is in place - then I bring the interface up and all is well. =
It
> > seems to be a problem in setting one of the NICS (dc0) to idle =
state?
> > (dc0 =3D Netgear 310TX, aue0 =3D Dlink USB -> Ethernet - no probs =
with
> > this one :). Now I suspect this goes hand in hand with my next
> > problem, dummynet. I've recompiled the kernel, enabling IPFIREWALL,
> > IPFIREWALL_VERBOSE & IPFIREWALL_VERBOSE_LIMIT =3D 10, and rc.conf is =
set
> > to 'gateway_enable=3D"yes", firewall_enable=3D"yes" and
> > firewall_type=3D"open".  Now I can add a dummynet pipe fine with
> > syntax: ipfw add 00050 pipe 1 from any to 10.0.0.0/24 but, when I =
try
> > to configure it I get error:
> >
> > ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Protocol not available
> >
> > What does this mean? and how do I solve it?
> >
> > Thanks
> >
> > Colin.
> >
>
> I might well be banging on about the wrong thing here, but have you
> enabled DUMMYNET in the kernel?
>
> You didn't mention it anywhere, and this is just a knee jerk reaction!
> Someone else may say something completely different.
>
> Cheers,
>
> Jon
>
>



------=_NextPart_000_01B8_01C32470.9DDD9EF0
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>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>Yep, that was it , thanks guys. I was under the =
illusion=20
it was actually<BR>part of the firewall. Obviously not<BR><BR>is it =
IP_DUMMYNET=20
to compile support into the kernel?<BR><BR>Thanks again, you can tell =
I'm new at=20
this&nbsp; :))<BR><BR>Colin.<BR><BR><BR>----- Original Message =
-----<BR>From:=20
"Jon Mercer" &lt;<A=20
href=3D"mailto:jon at trojan-heroes.co.uk">jon at trojan-heroes.co.uk</A>&gt;<B=
R>To:=20
"Company 2210" &lt;<A=20
href=3D"mailto:company2210 at hotmail.com">company2210 at hotmail.com</A>&gt;<B=
R>Cc:=20
&lt;<A=20
href=3D"mailto:freebsd-users at uk.freebsd.org">freebsd-users at uk.freebsd.org=
</A>&gt;<BR>Sent:=20
Tuesday, May 27, 2003 3:17 PM<BR>Subject: Re: ipfw dummynet=20
problem<BR><BR><BR>&gt; Company 2210 wrote:<BR>&gt;<BR>&gt; &gt; Hi=20
people,<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I'm new to freebsd so I'm =
still=20
learning, but I've encounted a<BR>&gt; &gt; problem I cannot find an =
(english)=20
explantion/solution for. Basically,<BR>&gt; &gt; I've installed Freebsd =
5.0 on a=20
machine with two Network Interface<BR>&gt; &gt; Cards in. Now, when I =
boot up, I=20
receive a 'dc0: watchdog timeout' - I<BR>&gt; &gt; have to force the =
interface=20
to down until a cable connected to the<BR>&gt; &gt; switch is in place - =
then I=20
bring the interface up and all is well. It<BR>&gt; &gt; seems to be a =
problem in=20
setting one of the NICS (dc0) to idle state?<BR>&gt; &gt; (dc0 =3D =
Netgear 310TX,=20
aue0 =3D Dlink USB -&gt; Ethernet - no probs with<BR>&gt; &gt; this one =
:). Now I=20
suspect this goes hand in hand with my next<BR>&gt; &gt; problem, =
dummynet. I've=20
recompiled the kernel, enabling IPFIREWALL,<BR>&gt; &gt; =
IPFIREWALL_VERBOSE=20
&amp; IPFIREWALL_VERBOSE_LIMIT =3D 10, and rc.conf is set<BR>&gt; &gt; =
to=20
'gateway_enable=3D"yes", firewall_enable=3D"yes" and<BR>&gt; &gt;=20
firewall_type=3D"open".&nbsp; Now I can add a dummynet pipe fine =
with<BR>&gt; &gt;=20
syntax: ipfw add 00050 pipe 1 from any to 10.0.0.0/24 but, when I =
try<BR>&gt;=20
&gt; to configure it I get error:<BR>&gt; &gt;<BR>&gt; &gt; ipfw:=20
setsockopt(IP_DUMMYNET_CONFIGURE): Protocol not available<BR>&gt; =
&gt;<BR>&gt;=20
&gt; What does this mean? and how do I solve it?<BR>&gt; &gt;<BR>&gt; =
&gt;=20
Thanks<BR>&gt; &gt;<BR>&gt; &gt; Colin.<BR>&gt; &gt;<BR>&gt;<BR>&gt; I =
might=20
well be banging on about the wrong thing here, but have you<BR>&gt; =
enabled=20
DUMMYNET in the kernel?<BR>&gt;<BR>&gt; You didn't mention it anywhere, =
and this=20
is just a knee jerk reaction!<BR>&gt; Someone else may say something =
completely=20
different.<BR>&gt;<BR>&gt; Cheers,<BR>&gt;<BR>&gt; =
Jon<BR>&gt;<BR>&gt;<BR>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_01B8_01C32470.9DDD9EF0--




More information about the Ukfreebsd mailing list