[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-isp
Subject:    ipfw dynamic pipes
From:       Link <link () ngc ! net ! ua>
Date:       2009-11-24 7:19:31
Message-ID: 4B0B8903.9000207 () ngc ! net ! ua
[Download RAW message or body]

hello gentlemen,

does anybody know how to make dynamic pipes for 2 directions - in/out ?

usually i do:
ipfw pipe 1 config bw 1Mbit/s mask src-ip 0xffffffff
ipfw pipe 2 config bw 1Mbit/s mask dst-ip 0xffffffff
then
ipfw add 10 pipe 1 all from $mynet to any via $if out
ipfw add 11 pipe 2 all from any to $mynet via $if in

in this case each ip get two 1Mbit/s pipes - one in and one out

But now i need to create one pipe for in and out. E.g each ip should use 
same pipe for in/out.
But i`m stuck how to do this dynamic way.

---
Denis
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic