HTB/IMQ with GRE bug

Linux Advanced Routing and Traffic Control

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

 



Hi Devik/Patrik,

	In setting up IMQ/HTB with a GRE Tunnel I'm constantly getting kernel
errors:
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!
... ... ...
	This I get only if I'm going to start cross device b/w control. If I remove
iptables rule
	iptables -t mangle -D POSTROUTING -j IMQ
	then no such warning messages :O.
	An information to this is in my all class I'm using very low rate and rely
on ceil parameter of htb... example of one such class is
class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b
cburst 1680b
becouse of that I get following message on console
... ... ...
Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small.
Consider r2q change.
Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed.
... ... ...
	This I didnot think a serious matter as in your code you yourself concern
and at run time adjust that parameter and also this works with ethernet
without any problem but while using gre I get dangerous(seems to be)
warnings flooding up.
	Any Idea about this? I'm using RedHat release kernel-2.4.18-3 with your
patches
imq-2.4.18.diff-10.txt and htb3.6_2.4.17.diff

In case if you need my detail network setup configuration...
	My Tunnel configurations are following
	LOCAL-IP=202.LLL.IP.148
	REMOTE-IP=202.RRR.IP.4
	TUNNEL-IP=202.TUN.IP.254

[root@linux /root]# route -n
202.LLL.IP.148  0.0.0.0         255.255.255.255 UH    0 0  0 eth1
202.INT.IP.1    0.0.0.0         255.255.255.255 UH    0 0  0 eth0
202.RRR.IP.0    202.LLL.IP.147  255.255.255.248 UG    0 0  0 eth1
202.LLL.IP.144  0.0.0.0         255.255.255.248 U     0 0  0 eth1
202.INT.IP.0    0.0.0.0         255.255.255.0   U     0 0  0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0 0  0 lo
0.0.0.0         202.TUN.IP.254  0.0.0.0         UG    0 0  0 gre1

[root@linux /root]# ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:00:4B:50:04:7B
      inet addr:202.INT.IP.1  Bcast:202.INT.IP.255  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:1116522 errors:0 dropped:0 overruns:0 frame:0
      TX packets:853832 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:100
      Interrupt:10

eth1  Link encap:Ethernet  HWaddr 00:00:4B:50:05:73
      inet addr:202.LLL.IP.148  Bcast:202.LLL.IP.151  Mask:255.255.255.248
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:1182092 errors:0 dropped:0 overruns:0 frame:2
      TX packets:984484 errors:0 dropped:0 overruns:0 carrier:1106
      collisions:10090 txqueuelen:100
      Interrupt:12 Base address:0x2000

gre0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
      UP RUNNING NOARP  MTU:1476  Metric:1
      RX packets:15 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0

gre1  Link encap:UNSPEC  HWaddr
CA-B7-46-94-00-00-00-00-00-00-00-00-00-00-00-00
      inet addr:202.TUN.IP.254  P-t-P:202.TUN.IP.254  Mask:255.255.255.255
      UP POINTOPOINT RUNNING NOARP  MTU:1476  Metric:1
      RX packets:78208 errors:0 dropped:0 overruns:0 frame:0
      TX packets:105391 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0

imq0  Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
      UP RUNNING NOARP  MTU:1500  Metric:1
      RX packets:2914477 errors:0 dropped:0 overruns:0 frame:0
      TX packets:2914470 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:30

lo    Link encap:Local Loopback
      inet addr:127.0.0.1  Mask:255.0.0.0
      UP LOOPBACK RUNNING  MTU:16436  Metric:1
      RX packets:32921 errors:0 dropped:0 overruns:0 frame:0
      TX packets:32921 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0

Thanks for your time.
-- Sumit

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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