Strange tc issue

Roy Walker
2004-02-27T01:22:20Z

Hello,

I have a very unusual issue that I have never seen before.  I have a
custom uClibc based system that I am trying to setup load balancing for.
I have enabled the following in the network section of the kernel
(2.4.25):

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set

#
#   IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_IPTABLES is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

CONFIG_BRIDGE=y

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_CSZ=y
CONFIG_NET_SCH_HFSC=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_DSMARK=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_NET_CLS_RSVP=y
CONFIG_NET_CLS_RSVP6=y
CONFIG_NET_CLS_POLICE=y

Iproute2-2.4.7-now-ss010824 gets patched with:
htb3.6_tc.diff
iproute2-2.4.7-netlink.patch
iproute2-includes.patch

When the system starts up it already shows a qdisc attached to eth0.
This is just in bringing up the interface and not setting any commands
with tc:
qdisc pfifo_fast 0: dev eth0 [Unknown qdisc, optlen=20]

The system will work fine in this scenario.  It''s only when I try to
apply any other qdiscs to ANY interface in the system (regardless of
whether it is eth0 or not), that I loose all inbound connectivity to the
system.  It will allow me to connect with tcp outbound, but icmp does
not work outbound or inbound.

This is totally got me stumped!  Any ideas?

Thanx,
Roy