- From: Andrea Detti <
>
- To: Gabriele Scozza <
>,
- Subject: Re: Hstory laboratorio 22/10
- Date: Mon, 25 Oct 2010 09:57:34 +0200
- Organization: University of Rome Tor Vergata
On Friday, October 22, 2010 07:03:20 pm you wrote:
>
Salve prof,volevo sapere se poteva mandare in mailing list i comanda del
>
laboratorio di oggi (bastano anche solo quelli del gateway). Grazie mille.
>
Gabriele Scozza
--
---------------------------------------
Andrea Detti, PhD
Dip. Ingegneria Elettronica
Universita' di Roma "Tor Vergata"
Via del Politecnico 1, 00133 Roma, Italy
Tel.: +39-06-7259-7285
Fax : +39-06-7259-7435
Mobile: +39-320-4391909
email:
---------------------------------------
22 ifconfig eth0 170.85.80.254/24
23 ifconfig eth1 160.85.80.1/24
24 tcpdump -i eth0
25 tcpdump -i eth1
26 tcpdump -i eth1
27 route -n
28 history
29 route add -net 180.85.80.0/24 gw 170.85.80.253
30 tc qdisc add dev eth1 parent root handle 1: htb default 1
31 tc class add dev eth1 parent 1: classid 1:1 htb rate 2Mbit ceil 2Mbit
32 tc qdisc add dev eth1 parent 1:1 handle 2: prio bands 2
33 tc qdisc add dev eth1 parent 1:1 handle 2: prio bands 3
34 tc qdisc add dev eth1 parent 2:1 handle 4: tbf rate 1Mbit
35 tc qdisc add dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
36 tc qdisc add dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 6000K
37 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 6K
38 tc qdisc add dev eth1 parent 2:2 handle 3: htb default 1
39 tc class add dev eth1 parent 3: classid 3:1 htb rate 2Mbit ceil 2Mbit
40 tc class add dev eth1 parent 3:1 classid 3:2 htb rate 1Mbit ceil 2Mbit
41 tc class add dev eth1 parent 3:1 classid 3:3 htb rate 0.7Mbit ceil
2Mbit
42 tc class add dev eth1 parent 3:1 classid 3:4 htb rate 0.3Mbit ceil
2Mbit
43 tc filter add dev eth1 parent 2: protocol ip prio 2 u32 match ip
protocol 17 0xff match ip tos 48 0xff flowid 2:1
44 tc filter add dev eth1 parent 2: protocol 0x0003 prio 1 u32 match u16
0x0806 0xffff at -2 flowid 2:1
45 tc filter add dev eth1 parent 2: protocol ip prio 3 u32 match ip tos 0
0x00 flowid 2:2
46 tc filter add dev eth1 parent 3: protocol ip prio 1 u32 match ip tos
80 0xff flowid 3:2
47 tc filter add dev eth1 parent 3: protocol ip prio 1 u32 match ip tos
160 0xff flowid 3:3
48 tc filter add dev eth1 parent 3: protocol ip prio 1 u32 match ip tos 0
0x00 flowid 3:4
49 tc filter del dev eth1 parent 3: protocol ip prio 1 u32 match ip tos 0
0x00 flowid 3:4
50 tc filter add dev eth1 parent 3: protocol ip prio 2 u32 match ip tos 0
0x00 flowid 3:4
51 tc filter show dev eth1 parent 3:
52 tc filter add dev eth1 parent 3: protocol ip prio 1 u32 match ip tos
80 0xff flowid 3:2
53 tc filter add dev eth1 parent 3: protocol ip prio 1 u32 match ip tos
160 0xff flowid 3:3
54 tc filter show dev eth1 parent 3:
55 tc filter add dev eth1 parent 3: protocol ip prio 2
56 tc filter show dev eth1 parent 3:
57 tc filter del dev eth1 parent 3: protocol ip prio 2 u32 match ip tos 0
0x00 flowid 3:4
58 tc filter show dev eth1 parent 3:
59 tc filter add dev eth1 parent 3: protocol ip prio 2 u32 match ip tos 0
0x00 flowid 3:4
60 tc filter show dev eth1 parent 3:
61 tc -s class show dev eth1 parent 2:
62 tc -s class show dev eth1 parent 2:
63 tc -s qdisc show dev eth1 parent 2:1
64 tc -s qdisc show dev eth1 parent root
65 tc -s qdisc show
66 tc -s qdisc show dev eth1
67 tc -s qdisc show dev eth1 htb 3:
68 tc -s qdisc show dev eth1
69 tc -s class show dev eth1
70 tc -s class show dev eth1
71 tc -s class show dev eth1
72 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 12K
73 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 2500B
74* tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit
75 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 2510B
76 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 3001B
77 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3K
limit 3K
78 tc qdisc show dev eth1
79 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst
3072B limit 3K
80 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst
3012B limit 3K
81 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst
3002B limit 3K
82 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst
3001B limit 3K
83 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst
3000B limit 3K
84 tc qdisc change dev eth1 parent 2:1 handle 4: tbf rate 1Mbit burst 3k
limit 3012B
85 history
86 history
87 cd /hosthome/
88 history > lab221010.txt
- Re: Hstory laboratorio 22/10, Andrea Detti
Archivio con motore MhonArc 2.6.16.