[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ATM PVCs deleted by dsmark
Hi all,
We have created a core-router script which uses different
ATM PVCs for different DS marking.
After creating a ds_mark queuing discipline at the root
and adding some filters we execute the following commands:
(parent 1:1 is a ds_mark class)
> tc qdisc add dev parent 1:1 handle 2: atm
> tc class add dev parent 2:0 classid 2:1 atm pvc 1.0.51
> cat /proc/net/atm/pvc
Itf VPI VCI AAL RX(PCR,Class) TX(PCR,Class)
0 1 41 5 0 UBR 0 UBR CLIP, Itf:atm11, ...
1 0 60 5 0 UBR 0 UBR CLIP, Itf:atm12, ...
1 0 51 5 0 off 0 UBR
Now we execute (parent 1:2 is a ds_mark class)
> tc qdisc add dev atm12 parent 1:2 handle 3: atm
and surprisingly it deletes the other PVC (1.0.51) instead of
creating a new one (1.0.52).
> cat /proc/net/atm/pvc shows now
Itf VPI VCI AAL RX(PCR,Class) TX(PCR,Class)
0 1 41 5 0 UBR 0 UBR CLIP, Itf:atm11, ...
1 0 60 5 0 UBR 0 UBR CLIP, Itf:atm12, ...
Why does this happen?
The whole script (incl. Kernel messages) can be found on the
Web at linuxatm.freewebsites.com
Thanks
Joachim
--
Sent through GMX FreeMail - http://www.gmx.net