View Full Version : iproute2 per principianti
crystal13
11-09-2008, 12:11
Salve,
devo iniziare a fare un traffic control tramite iproute2 su una macchina linux che mi è stata assegnata nella mia facoltà.
Dato che non mi è stato dato nessun input, sto cercando informazioni in merito ad iproute2.
La prima domanda che faccio è:
come faccio a capire se sta già installato? (distro: Fedora)
EDIT1:
se digito: /etc/iproute2
mi dice che è una directory.
Da questo capisco che dovrebbe essere già installato, no?
Si fa cosi` x vedere se e` installata una cosa su Fedora:
[le@PackardBell ~]$ rpm -qa|fgrep -i iproute
iproute-2.6.22-2.fc8
('rpm -qa' restituisce la lista di tutti i pacchetti installati, 'fgrep -i' fa una ricerca per la stringa che metti dopo)
Comunque si /etc/iproute2 fa parte del pacchetto, come puoi anche verificare con rpm -qf /etc/iproute2, ma quello che interessa a te e` principalmente il comando /sbin/tc, ed eventualmente /sbin/iptables (se dovessi fare anche filtering, classificazione avanzata del traffico o pasticci vari sui pacchetti.)
Per il resto questi sono alcuni link utili sul traffic control:
http://lartc.org
http://www.tldp.org/HOWTO/Traffic-Control-HOWTO/
http://www.trekweb.com/~jasonb/articles/traffic_shaping/
http://l7-filter.sourceforge.net/
Eccoti altri link utili:
Linux Advanced Routing & Traffic Control HOWTO - http://lartc.org/lartc.html
traffic shaping with Linux - http://www.knowplace.org/pages/howtos/traffic_shaping_with_linux.php
ADSL Bandwidth Management HOWTO - http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/ADSL-Bandwidth-Management-HOWTO.html
Linux 2.2 Packet Shaping HOWTO - http://svana.org/kleptog/Packet-Shaping-HOWTO.txt
Quality of Service Networking - http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/qos.htm
HTB home - http://luxik.cdi.cz/~devik/qos/htb/
HTB Linux queuing discipline manual - user guide - http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
HTB performance compared - http://luxik.cdi.cz/~devik/qos/htb/htb3perf/cbqhtb3perf.htm
Traffic Control using tcng and HTB HOWTO - http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Traffic-Control-tcng-HTB-HOWTO.html
The Netfilter project (http://www.netfilter.org/) - netfilter/iptables project home
Iptables Tutorial - http://iptables-tutorial.frozentux.net/chunkyhtml/index.html
Iptables connection tracking explained (http://www.cs.princeton.edu/~jns/security/iptables/iptables_conntrack.html)
Linux Networking-concepts HOWTO (http://www.netfilter.org/documentation/index.html#documentation-howto)
RFC 1340 (http://andrew2.andrew.cmu.edu/rfc/rfc1340.html) - contains assigned numbers such as IP protocol number or well known port numbers
ICMP type-code summary (http://www.iana.org/assignments/icmp-parameters)
TCP/IP refresher http://www.cs.wright.edu/~pmateti/Courses/499/TCPIP/
Three-Way Handshake via TCP/IP http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q172983&LN=EN-US
TCP Protocol Layers Explained http://www.onlamp.com/lpt/a/681
TCP window size http://www.ncsa.uiuc.edu/People/vwelch/net_perf/tcp_windows.html
Tcpdump Repository - http://www.tcpdump.org/
Tcpdump Techniques Tutorial - http://www.owlriver.com/tips/tcpdump-tech/
Tcpflow Tutorial - http://www.owlriver.com/tips/tcpflow-tutorial/
Tcpdump Tutorial - http://www.firetower.com/forum/tcpdump.html
pchar: A Tool for Measuring Internet Path Characteristics - http://www.kitchenlab.org/www/bmah/Software/pchar/
peer-to-peer (P2P) data in IP traffic - http://www.ipp2p.org/
classifier for Linux's Netfilter - http://l7-filter.sourceforge.net/
network traffic shaper - http://www.mastershaper.org/
Traffic-Control-tcng-HTB-HOWTO - http://www.faqs.org/docs/Linux-HOWTO/Traffic-Control-tcng-HTB-HOWTO.html
Bonding - http://linux-net.osdl.org/index.php/Bonding
Bandwidth-Limiting-HOWTO - http://www.pluto.it/files/ildp/HOWTO/Bandwidth-Limiting-HOWTO/index.html
document for Lartc HOWTO - http://www.docum.org/docum.org/
Bandwidth limiting howto* with Gentoo - http://forums.gentoo.org/viewtopic-t-225863d.html
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.