Hi Giancarlo,
I pasted my interfaces configuration at the beggining of the thread
but you've probably missed it, let me know if you need other
parameters than :
"~# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33160
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:15:17:20:9e:94
groups: egress
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet 192.168.100.233 netmask 0xffffff00 broadcast 192.168.100.255
inet6 fe80::215:17ff:fe20:9e94%em0 prefixlen 64 scopeid 0x1
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:15:17:20:9e:95
media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
status: active
inet 192.168.110.1 netmask 0xffffff00 broadcast 192.168.110.255
inet6 fe80::215:17ff:fe20:9e95%em1 prefixlen 64 scopeid 0x2"
Thank you and regards.
On Mon, Nov 24, 2008 at 9:28 PM, Giancarlo Razzolini
<[EMAIL PROTECTED]> wrote:
> LIVAI Daniel escreveu:
>>
>> On Monday 24 November 2008 17.24.04 you wrote:
>>
>>>
>>> Hi,
>>>
>>> I'm trying to set up a simple packet queueing policy on openbsd 4.4.
>>> These are the PF rules I set up :
>>>
>>> ~# grep -v \# /etc/pf.conf | grep -v ^$
>>> altq on em1 cbq bandwidth 100Mb queue { ftp,other }
>>> queue ftp on em1 bandwidth 1Mb priority 0 cbq(ecn)
>>> queue other on em1 bandwidth 99Mb priority 1 cbq(ecn,default)
>>> nat on em0 from 192.168.110.2 -> 192.168.100.233
>>> pass in quick on em0 from 86.55.8.30 flags any queue ftp
>>> pass all
>>>
>>>
>>>
>>
>> You specified the queue for em1, and you created the rule for em0.
>>
>> Daniel
>>
>>
>
> Not necessarily an error, since you can assign packets from one interface
to
> queue of others interfaces. We need more info to help, like your interfaces
> configuration.
>
> My regards,
>
> --
> Giancarlo Razzolini
> http://lock.razzolini.adm.br
> Linux User 172199
> Red Hat Certified Engineer no:804006389722501
> Verify:https://www.redhat.com/certification/rhce/current/
> Moleque Sem Conteudo Numero #002
> OpenBSD Stable
> Ubuntu 8.04 Hardy Heron
> 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85