PDA

View Full Version : [Solved] bandwidth control and LAN


MidKnight
12-19-2003, 12:55 AM
Well all was fine when i had 2 nics and running software based NAT on the server, i could cap the inet conections, but unlimited for LAN connections. heres what i had

[FTP-Channel]
Host = hostname.com
Bind = hostname.com
Global_Inbound_bandwidth = 0
Global_Outbound_bandwidth = 0
Client_Inbound_bandwidth = 0
Client_Outbound_bandwidth = 0

[FTP-Data]
Host = hostname.com
Ports = 1401-1500
Bind = hostname.com
Global_Inbound_bandwidth = 0
Global_Outbound_bandwidth = 10
Client_Inbound_bandwidth = 0
Client_Outbound_bandwidth = 0

[Local-Channel]
Host = 192.168.1.2
Bind = 192.168.1.2
Global_Inbound_bandwidth = 0
Global_Outbound_bandwidth = 0
Client_Inbound_bandwidth = 0
Client_Outbound_bandwidth = 0

[Local-Data]
Host = 192.168.1.2
Ports = 1401-1500
Bind = 192.168.1.2
Global_Inbound_bandwidth = 0
Global_Outbound_bandwidth = 10
Client_Inbound_bandwidth = 0
Client_Outbound_bandwidth = 0

---------

now im back to running the server from a hardware router, but now i can't control the 2 connections, iinet, and LAN.

some please give a helping hand, if this can be done

MidKnight
12-19-2003, 10:39 PM
anyone?

Harm
12-20-2003, 03:01 AM
You could try to use 2 devices/ftp services using the same NIC but different ports and limiter settings.

MidKnight
12-20-2003, 03:07 AM
thanks harm, will do it that way i think

Linkster
12-20-2003, 03:36 AM
thats what i do and it works perfect