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

[altq 800] Re: newbie question diffserv interface configuration




hello Kenjiro, hello list,


[snip]
> 
> > I tried it but I got the following error (maybe something is wrong with
> > my installation):
> > 
> > # Segmentation fault (core dumped)
> 
> That's bad :)  If you can provide your altq.conf, I might be able to
> reproduce the problem on my machine.
> 
> You can start with a sample config in the ALTQ release, and then,
> remove lines you don't need.
> 

the review took some time, but I think I understand it a
little better now, except, that there is still this segmentation fault. 

here is my (new) configuration:


# Configuration for traffic conditioner
# ingress interface: xl2
# MF-Classifier -> traffic conditioner -> forwarding entity -> output
queue 
# since the testbed has some NICs only capable of 10Mbs we first
# reduce all traffic to 10 Mb/s at each interface 

interface xl2 bandwidth 10M  

#
# incomming traffic on xl2
#

conditioner xl2 BE_traffic <mark 0x0>
	    filter xl2 BE_traffic 0 0 0 0 0

conditioner xl2 EF_traffic <tbmeter 2M 64K <mark 0xb8><drop>> #rfc2598
	    filter xl2 EF_traffic 0 0 0 2000  0 


conditioner xl2 AF1x_traffic <trtcm 2M 64K 2500K 64K <mark 0x28> <mark
0x30> <mark 0x38>> colorblind 
	    filter xl2 AF1x_traffic 0 0 0 3000 0


conditioner xl2 AF2x_traffic <trtcm 2M 64K 2500K 64K <mark 0x48> <mark
0x50> <mark 0x58>> colorblind 
	    filter xl2 AF2x_traffic 0 0 0 4000 0


#
# outgoing traffic on xl2
#
	      
class cbq xl2 root_class NULL pbandwidth 100 
class cbq xl2 def_class root_class borrow pbandwidth 80 default 


# EF-CLASS
class cbq xl2 EF_class root_class pbandwidth 20 priority 5  
      filter xl2 EF_class 0 0 0 0 0 tos 0xb8 tosmask 0xfc


# set rio threshold values
rio 40 50 10 20 30 10 5 15 10


class cbq xl2 AF1x_class def_class borrow pbandwidth 20 rio
class cbq xl2 AF2x_class def_class borrow pbandwidth 20 rio

      filter xl2 AF1x_class 0 0 0 0 0 tos 0x20 tosmask 0xe4
      filter xl2 AF2x_class 0 0 0 0 0 tos 0x40 tosmask 0xe4 
     
 

END OF MY CONFIGURATION..


the system is running under freebsd 4.2 with ALTQ 3.0,
the error message I get is:

RC# altqd -d                     
ALTQ config file is /etc/altq.conf                                   
tbr installed on xl2 (rate:10.00M size:5.86K)                                
kld module altq_cdnr loaded                                                  
conditioner attached to xl2                                                   
Apr 23 13:28:51 RC /kernel: pid 361 (altqd), uid 0: exited on singnal 11   
(core dumped)                                                               
Segmentation fault (core dumped)   
     
END OF 'Error message'


The main difference to the configuration examples/samples for diffserv is
that I tried to configure the same interface (xl2) for incomming and for
outgoing traffic...


I thank you very much for any help or remarks,

Placi