I've got a very simple configuration for an iptables fw...

Cable Modem------firewall------internal network

firewall: eth0 == outside, assigned by DHCP from cable co.
          eth1 == 10.10.10.1/24

I've got a SIP-based VoIP device that's connected to the internal network,
say 10.10.10.50.  I'm doing some DNAT to support incoming calls, and MASQ
for the rest of the traffic.  The device requires 90 kbps of bandwidth 
to operate properly.  My downlink from the cable co. is about 1.5 Mbps,
with an uplink of about 128 kbps.  Under normal circumstances, everything
works, but if I've got several things going on, sometimes call quality
suffers.

I'd like to configure QoS such that:

1. When active, 10.10.10.50 can be allocated 90 kbps bi-directionally.
2. When 10.10.10.50 isn't active, that 90 kbps in either direction can
   be used by other stuff.

Any thoughts on how to script that?  I imagine it's not more than 5-10
lines, but I just have no clue how to do this with tc...  Thanks..

-- 
Jason Costomiris <><           |  Technologist, geek, human.
jcostom {at} jasons {dot} org  |  http://www.jasons.org/ 
          Quidquid latine dictum sit, altum viditur.
                    My account, My opinions.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to