IP Masq, ipchains, ip alias & 2.1.125

Neil Cherry (ncherry@home.net)
Tue, 03 Nov 1998 17:56:01 -0500


I'm using 2.1.125 (UP) and I'm having trouble with certain programs.
First I've compiled the kernel with the following options:
#
# Networking options
#
# CONFIG_PACKET is not set
# CONFIG_NETLINK is not set
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
# CONFIG_FILTER is not set
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_IP_FIREWALL=y
CONFIG_IP_TRANSPARENT_PROXY=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_MASQUERADE=y
# CONFIG_IP_MASQUERADE_ICMP is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
CONFIG_IP_ALIAS=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

I did a make dep clean bzlilo modules modules_install and then
rebooted with no errors. Now this is a RedHat 5.1 install and
the start up scripts have been giving me fits (netstat is real
ugly until I down the interfaces and add the default route).

Now here is where I'm having the problems:
dmc()$ /sbin/ipchains -L -M
IP masquerading entries
ipchains: Incompatible with this kernel

Also if I do the following:

ifconfig eth1:1 inet 138.170.138.1 netmask 255.255.255.0 broadcast
255.255.255.o up

No eth1:1, although gated adds it to it's tables according to syslogd.
The reason I posted here is that the above worked under 2.1.125 SMP (but
not the ipchains). Have I done something wrong? The ipchains is
version 1.3.6

-- 
Neil Cherry	http://members.home.net/ncherry		ncherry@home.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/