Changing TOS value

Bikrant Neupane bikrant_ml at wlink.com.np
Sat Aug 14 21:25:05 PDT 2004


Hi,
Thanks for the reply. But my problem is something else. I want to change the 
TOS value. In Linux we can change the TOS value in the mangle table. Is that 
possible in FreeBSD?

regards,
Bikrant

On Sunday 15 August 2004 07:47, Thiago Pinto Damas wrote:
>   Try to limit the bandwidth for each interface, like:
> ipfw pipe 1 config bw 512Kbits/s
> ipfw pipe 2 config bw 512Kbits/s
> ipfw add pipe 1 ip from 10.0.0.8 to any via wi0 in
> ipfw add pipe 2 ip from any to 10.0.0.8 via wi0 out
>
>   This might work!
>
> Bikrant Neupane writes:
> > Hi,
> > 	I am using freebsd 4.9 as a bandwidth manager. I would like to set IP
> > TOS field to some desired value or is it possible to completely ignore
> > the  TOS value?
> >  I have observed that using different value of TOS affects fairness in
> > b/w allocation in a pipe. So for that specific reason I would like to
> > change the TOS of all IP pkts before it gets into the pipe.
> > 	I think this is very common problem however I didn't find any useful
> > information in google either.
> >
> > thanks,
> > Bikrant
> > _______________________________________________
> > freebsd-net at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list