Re: [LARTC] 1 MBS per server Linux router

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trevor Warren wrote:

Hello Jean,

For all that i know your tcng config would be perfectly fine. I will
mail you my 4000 node config. Please try the same out and lemme know it
if works for you.

Trevor




It's not working :-( Maybe because of my iptables rules :


[root@xxxxxxxxxxx root]# iptables --list -nv
Chain INPUT (policy ACCEPT 51 packets, 3356 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
31278 46M ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
20169 1467K ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
2 120 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
0 0 DROP tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0
0 0 DROP udp -- eth1 * 0.0.0.0/0 0.0.0.0/0
9 540 DROP tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0
726 93117 DROP udp -- eth0 * 0.0.0.0/0 0.0.0.0/0


Chain FORWARD (policy ACCEPT 15056 packets, 5691K bytes)
pkts bytes target prot opt in out source destination
17956 1693K ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0


Chain OUTPUT (policy ACCEPT 31785 packets, 2347K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
[root@xxxxxxxxxxx root]#



eth0 Link encap:Ethernet HWaddr 00:50:BA:87:42:8D inet addr:192.168.0.230 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:53801 errors:0 dropped:0 overruns:0 frame:0 TX packets:35241 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:52861850 (50.4 Mb) TX bytes:3140165 (2.9 Mb) Interrupt:9 Base address:0xb000

eth1      Link encap:Ethernet  HWaddr 00:E0:18:FF:6F:F4
         inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:38410 errors:0 dropped:0 overruns:0 frame:0
         TX packets:30721 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:3724993 (3.5 Mb)  TX bytes:7650950 (7.2 Mb)
         Interrupt:10 Base address:0xd000


eth0 is the company local network and eth1 is my local network where I have 10.1.1.12 (my PC) and 10.1.1.1 (the router).


I didn't patch the kernel, it's normal? I have RH9 with kernel "Linux ROUTER-1MBS 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux". Should I change something in kernel?

I have tried htb.init but it's not working :-(

Jean-Francois





[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux