dummynet trick 
    Laszlo Zsolt Nagy 
    nagylzs at freemail.hu
       
    Thu Mar 17 17:38:05 PST 2005
    
    
  
Hello,
This is the beginning of my script:
ipfw -q flush
ipfw pipe 1 config bw 729kbit/s
ipfw pipe 2 config bw 121kbit/s
ipfw queue 1 config pipe 1 weight 94
ipfw queue 2 config pipe 1 weight 5
ipfw queue 3 config pipe 1 weight 1
ipfw queue 4 config pipe 2 weight 94
ipfw queue 5 config pipe 2 weight 5
ipfw queue 6 config pipe 2 weight 1
Everything runs okay except this:
    ipfw queue 3 config pipe 1 weight 1
results in:
   ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument
But when I change to this:
    ipfw queue 22 config pipe 1 weight 1
then it works just fine. What the hell is this?
   Laci
p.s.: FreeBSD 4.8-p27
    
    
More information about the freebsd-questions
mailing list