|
||||||||
Here you are: --------------------------------------- ############### #DEFINITIONS ############### #define a pipe of 512Kbps (or more, or use default pipe) ipfw pipe 1 config 512Kbit/s queue 50Kbytes #64Kbps = 512Kbps / 8 = 1 * (512/8) #128Kbps = 2 *(512/8) #320Kbps = 6*(512/8) #define queues #queue for use on OPT1 : 64Kbps ipfw queue 1 config pipe 1 weight 1 #queue for use on OPT2 : 128Kbps ipfw queue 2 config pipe 1 weight 2 #queue for use on LAN : (the rest) Kbps ipfw queue 3 config pipe 1 weight 6 #########POPULATE RULES######### ################################## ipfw add queue 1 ip from any to any out xmit rl2 ipfw add queue 2 ip from any to any out xmit rl3 ipfw add queue 3 ip from any to any out xmit rl1 --------------------------------- It is easy to translate these rules to GUI-clicks, I think. ~CD. ----- Original Message ----- From: "George Ivancea" <givancea at email dot ro> To: <m0n0wall at lists dot m0n0 dot ch> Sent: Tuesday, April 27, 2004 1:28 PM Subject: [m0n0wall] Bandwidth split > Configuration: > PIII/800 MHz/256 MB RAM, monowall 1.1b6, connection 512 Kbs Ethernet > > WAN: rl0 80.x.x.38/30 --->80.x.x.37/30(router)<--- 80.x.x.112-119(from ISP) > LAN: rl1 172.16.1.1/30--->172.16.1.2/30(smootwall)<--- 40 workstations > OPT1: rl2 10.0.0.1/30 ---->10.0.0.2/30(smoothwall) 1:1 NATed to 80.x.x.114 > OPT2: rl3 172.16.0.1/30 ---->172.16.0.2/30(smoothwall) 1:1 NATed to 80.x.x.115 > > How I can to split bandwith in this mode: > > OPT1 - 64 kbs guaranteed > OPT2 - 128 kbs guaranteed > LAN - 512 - 64 -128 =~ 320 kbs? > > Please tell me concrete creation of rules and pipes. > > Public address it's correct NATed for 10.0.0.2 & 172.16.0.2 (without ProxyARP)? > > P.S. Sorry for my English, it is not my native language. > > _________________________________ > Castiga 1000 de dolari! > Inscrie-te acum pe http://castiga.neogen.ro > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > ____________________________________________________________________ http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ. http://www.freemail.gr - free email service for the Greek-speaking. |