Hai milisers,

Saya mau tanya mengenai instalasi htb seperti yg terdapat pd link
  http://efnet.linux.or.id/docs/instalasi-htb-cbq.html
Mengenai peran linux boxnya apakah sebagai mesin nat/firewall ?
Karena saya baca di link:
  http://www.docum.org/docum.org/faq/cache/59.html
mengenai shaping on firewall, maka untuk outgoing shaping via interface
internet dr client di belakang mesin nat maka diperlukan (saya ambil
kutipan langsung saja dr situsnya):

...
If you want to use the source address to classify packets, you can mark 
the packets when they enter your linux box. When they enter the linux box, 
the src address is sill the real one. The mark can be written with 
iptables and it only exists in your linux box. That mark can be used after 
the src address is rewritten to classify the packets.
...

So, jika saya mark ip-ipnya dr contoh Mas Hanny dg cara berikut:

iptables -A PREROUTING -i eth1 -s 192.168.1.2 -t mangle \
  -j MARK --set-mark 2
iptables -A PREROUTING -i eth1 -s 192.168.1.3 -t mangle \
  -j MARK --set-mark 3
iptables -A PREROUTING -i eth1 -s 192.168.1.4 -t mangle \
  -j MARK --set-mark 4

Bagaimana saya memasukkan parameter mark ini ke masing2 config htb,
yakni eth1-10:20.hanny, eth1-10:30.dedy, eth1-10:40.amek ?

TIA

~yudi




-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke