tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

altq on gre0



Hello,

I'm trying to set up altq on gre0, but altq fails mysteriously. 

gre0 is configured as:

$ ifconfig gre0                                                                 
                                                                                
   
gre0: flags=9051<UP,POINTOPOINT,RUNNING,LINK0,MULTICAST> mtu 1500
        tunnel inet 212.8.xxx.xxx --> 80.70.xxx.xxx
        inet 212.8.xxx.xxx -> 212.8.xxx.xxx netmask 0xfffffffc


/etc/altq.conf:
  interface gre0 bandwidth 10M cbq


Starting altq leads to (/var/log/messages):

  altqd[24210]: ALTQ config file is /etc/altq.conf
  altqd[24210]: tbr installed on gre0 (rate:10.00M  size:5.86K)
  altqd[24210]: syscall error: can't add cbq on interface 'gre0': Device not 
configured
  altqd[24210]: Error in /etc/altq.conf, line 14.  config failed.


After starting altq:
$ tbrconfig -a                                                                  
                                                                                
   
gre0: tokenrate 10.00M(bps)  bucketsize 6000(bytes)

$ altqstat                                                                      
                                                                                
   
can't talk to altqd!
probably, altqd is not running
altqstat: you have to specify interface!



This is on NetBSD 4.

Isn't it possible to enable altq on gre interfaces?





Kind regards,

Christian Gall

-- 
Well you know, C isn't that hard, for example, void (*(*f[])())()
defines f as an array of unspecified size, of pointers to functions that
return pointers to functions that return void... I think



Home | Main Index | Thread Index | Old Index