Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th August 2011
magnesik magnesik is offline
New User
Join Date: Feb 2010
Posts: 3
Default PF ALTQ on 3 NIC's

I have machine with 3 cards: rl0(internet), rl1(Lan1), rl2(Lan2). rl0 is NATed

The question is:

How to write altq queues so that the sum of download bandwidth from internet(rl0) will be dynamically shaped among computers in these two networks?

For example: let's assume that my internet connection is 1 Mbps of download. In this case I have no idea what should I set on rl1 and rl2 in bandwith. I've tried this one:

altq on ($int1_if $int2_if) bandwidth 1024Kb ....
int1_if = rl1
int2_if = rl2
There is no error but it doesnt work in max download . Network gets down.

I need to shape incomming (download) traffic dynamically between rl1 and rl2. If no one is downloading form internet behind rl1 then computers behind rl2 will have max of download (1 mbit) and vice versa. I don't want to divide bandwidth on static pieces.
Reply With Quote
  #2   (View Single Post)  
Old 13th August 2011
s2scott's Avatar
s2scott s2scott is offline
Package Pilot
Join Date: May 2008
Location: Toronto, Ontario Canada
Posts: 198

Firstly, you cannot shape inbound traffic, only outbound.

Secondly, is rl1 and rl2 separate LANs, or are they an aggregated group (LAG/802.ad)?
Never argue with an idiot. They will bring you down to their level and beat you with experience.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ALTQ: CBQ issues Lexus45 OpenBSD General 1 23rd May 2010 02:29 AM
PF/ALTQ rules not working as intended Weaseal FreeBSD Security 4 6th August 2008 12:41 PM
ALTQ Question regarding RudiK FreeBSD Security 4 23rd July 2008 01:59 PM
[PF] Problem with ftp and ALTQ gotian FreeBSD Security 1 22nd July 2008 11:25 PM
Queuing with PF and ALTQ Weaseal FreeBSD Security 1 22nd July 2008 05:18 PM

All times are GMT. The time now is 01:37 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick