ipfw dummynet problem

Jon Mercer jon at trojan-heroes.co.uk
Tue May 27 17:00:02 BST 2003


No, its:

options         DUMMYNET

in your kernel config file.

Additionally you can just load it as a module as suggested by Lee, but 
if your already familliar with kernel compiles, that might actually be 
more comfortable for you.

Cheers,

Jon

Company 2210 wrote:

> 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 
> <mailto:jon at trojan-heroes.co.uk>>
> To: "Company 2210" <company2210 at hotmail.com 
> <mailto:company2210 at hotmail.com>>
> Cc: <freebsd-users at uk.freebsd.org <mailto: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 = Netgear 310TX, aue0 = 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 = 10, and rc.conf is set
> > > to 'gateway_enable="yes", firewall_enable="yes" and
> > > firewall_type="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
> >
> >
>  







More information about the Ukfreebsd mailing list