Всезнающие ГУРУ! Подскажите пожалуйста, или дайте вывод команды /proc/less config.gz какие опции (networking) надо включить в ядро (уточняю 2.6.18) для функционирования машины в качествее шлюза в I-net?
На шлюзе предпологается развернуть squid+dns+iptables+postfix
P.S. посты читать не предлогать, читал. Просьба показать именно рабочий конфиг.
Заранее СПАСИБО!
SuSE 10.1 (2.6.16)#
# Networking options
#
# CONFIG_NETDEBUG is not set
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
CONFIG_NET_KEY=m
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_MULTIPATH=y
# CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
CONFIG_TCP_CONG_ADVANCED=y#
# TCP congestion control
#
CONFIG_TCP_CONG_BIC=m
CONFIG_TCP_CONG_CUBIC=m
CONFIG_TCP_CONG_WESTWOOD=m
CONFIG_TCP_CONG_HTCP=m
CONFIG_TCP_CONG_HSTCP=m
CONFIG_TCP_CONG_HYBLA=m
CONFIG_TCP_CONG_VEGAS=m
CONFIG_TCP_CONG_SCALABLE=m#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_NETFILTER_XT_MATCH_DCCP=m
CONFIG_NETFILTER_XT_MATCH_HELPER=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_REALM=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_STATE=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
#
CONFIG_IP_NF_CONNTRACK=m
# CONFIG_IP_NF_CT_ACCT is not set
CONFIG_IP_NF_CONNTRACK_MARK=y
CONFIG_IP_NF_CONNTRACK_EVENTS=y
CONFIG_IP_NF_CONNTRACK_NETLINK=m
CONFIG_IP_NF_CT_PROTO_SCTP=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_NETBIOS_NS=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_PPTP=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_HASHLIMIT=m
CONFIG_IP_NF_MATCH_POLICY=m
CONFIG_IP_NF_MATCH_IPV4OPTIONS=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_NAT_PPTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
#
# Bridge: Netfilter Configuration
#
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_BRIDGE_EBT_ULOG=m
#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
# CONFIG_NET_SCH_CLK_JIFFIES is not set
CONFIG_NET_SCH_CLK_GETTIMEOFDAY=y
# CONFIG_NET_SCH_CLK_CPU is not set#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_NETEM=m
CONFIG_NET_SCH_INGRESS=m
#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=m
CONFIG_NET_EMATCH_NBYTE=m
CONFIG_NET_EMATCH_U32=m
CONFIG_NET_EMATCH_META=m
CONFIG_NET_EMATCH_TEXT=m
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=m
CONFIG_NET_ACT_IPT=m
CONFIG_NET_ACT_PEDIT=m
CONFIG_NET_ACT_SIMP=m
# CONFIG_NET_CLS_IND is not set
CONFIG_NET_ESTIMATOR=y
>SuSE 10.1 (2.6.16)
>
>#
># Networking options
>#
># CONFIG_NETDEBUG is not set
>CONFIG_PACKET=m
>CONFIG_PACKET_MMAP=y
>CONFIG_UNIX=y
>CONFIG_XFRM=y
>CONFIG_XFRM_USER=m
>CONFIG_NET_KEY=m
>CONFIG_INET=y
>CONFIG_IP_MULTICAST=y
>CONFIG_IP_ADVANCED_ROUTER=y
>CONFIG_ASK_IP_FIB_HASH=y
># CONFIG_IP_FIB_TRIE is not set
>CONFIG_IP_FIB_HASH=y
>CONFIG_IP_MULTIPLE_TABLES=y
>CONFIG_IP_ROUTE_FWMARK=y
>CONFIG_IP_ROUTE_MULTIPATH=y
># CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set
>CONFIG_IP_ROUTE_VERBOSE=y
>CONFIG_IP_PNP=y
>CONFIG_IP_PNP_DHCP=y
>CONFIG_IP_PNP_BOOTP=y
>CONFIG_IP_PNP_RARP=y
>CONFIG_NET_IPIP=m
>CONFIG_NET_IPGRE=m
>CONFIG_NET_IPGRE_BROADCAST=y
>CONFIG_IP_MROUTE=y
>CONFIG_IP_PIMSM_V1=y
>CONFIG_IP_PIMSM_V2=y
># CONFIG_ARPD is not set
>CONFIG_SYN_COOKIES=y
>CONFIG_INET_AH=m
>CONFIG_INET_ESP=m
>CONFIG_INET_IPCOMP=m
>CONFIG_INET_TUNNEL=m
>CONFIG_INET_DIAG=m
>CONFIG_INET_TCP_DIAG=m
>CONFIG_TCP_CONG_ADVANCED=y
>
>#
># TCP congestion control
>#
>CONFIG_TCP_CONG_BIC=m
>CONFIG_TCP_CONG_CUBIC=m
>CONFIG_TCP_CONG_WESTWOOD=m
>CONFIG_TCP_CONG_HTCP=m
>CONFIG_TCP_CONG_HSTCP=m
>CONFIG_TCP_CONG_HYBLA=m
>CONFIG_TCP_CONG_VEGAS=m
>CONFIG_TCP_CONG_SCALABLE=m
>
>#
># Core Netfilter Configuration
>#
>CONFIG_NETFILTER_NETLINK=m
>CONFIG_NETFILTER_NETLINK_QUEUE=m
>CONFIG_NETFILTER_NETLINK_LOG=m
>CONFIG_NETFILTER_XTABLES=m
>CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
>CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
>CONFIG_NETFILTER_XT_TARGET_MARK=m
>CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
>CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
>CONFIG_NETFILTER_XT_MATCH_COMMENT=m
>CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
>CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
>CONFIG_NETFILTER_XT_MATCH_DCCP=m
>CONFIG_NETFILTER_XT_MATCH_HELPER=m
>CONFIG_NETFILTER_XT_MATCH_LENGTH=m
>CONFIG_NETFILTER_XT_MATCH_LIMIT=m
>CONFIG_NETFILTER_XT_MATCH_MAC=m
>CONFIG_NETFILTER_XT_MATCH_MARK=m
>CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
>CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
>CONFIG_NETFILTER_XT_MATCH_REALM=m
>CONFIG_NETFILTER_XT_MATCH_SCTP=m
>CONFIG_NETFILTER_XT_MATCH_STATE=m
>CONFIG_NETFILTER_XT_MATCH_STRING=m
>CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
>
>
>#
>CONFIG_IP_NF_CONNTRACK=m
># CONFIG_IP_NF_CT_ACCT is not set
>CONFIG_IP_NF_CONNTRACK_MARK=y
>CONFIG_IP_NF_CONNTRACK_EVENTS=y
>CONFIG_IP_NF_CONNTRACK_NETLINK=m
>CONFIG_IP_NF_CT_PROTO_SCTP=m
>CONFIG_IP_NF_FTP=m
>CONFIG_IP_NF_IRC=m
>CONFIG_IP_NF_NETBIOS_NS=m
>CONFIG_IP_NF_TFTP=m
>CONFIG_IP_NF_AMANDA=m
>CONFIG_IP_NF_PPTP=m
>CONFIG_IP_NF_QUEUE=m
>CONFIG_IP_NF_IPTABLES=m
>CONFIG_IP_NF_MATCH_IPRANGE=m
>CONFIG_IP_NF_MATCH_MULTIPORT=m
>CONFIG_IP_NF_MATCH_TOS=m
>CONFIG_IP_NF_MATCH_RECENT=m
>CONFIG_IP_NF_MATCH_ECN=m
>CONFIG_IP_NF_MATCH_DSCP=m
>CONFIG_IP_NF_MATCH_AH_ESP=m
>CONFIG_IP_NF_MATCH_TTL=m
>CONFIG_IP_NF_MATCH_OWNER=m
>CONFIG_IP_NF_MATCH_ADDRTYPE=m
>CONFIG_IP_NF_MATCH_HASHLIMIT=m
>CONFIG_IP_NF_MATCH_POLICY=m
>CONFIG_IP_NF_MATCH_IPV4OPTIONS=m
>CONFIG_IP_NF_FILTER=m
>CONFIG_IP_NF_TARGET_REJECT=m
>CONFIG_IP_NF_TARGET_LOG=m
>CONFIG_IP_NF_TARGET_ULOG=m
>CONFIG_IP_NF_TARGET_TCPMSS=m
>CONFIG_IP_NF_NAT=m
>CONFIG_IP_NF_NAT_NEEDED=y
>CONFIG_IP_NF_TARGET_MASQUERADE=m
>CONFIG_IP_NF_TARGET_REDIRECT=m
>CONFIG_IP_NF_TARGET_NETMAP=m
>CONFIG_IP_NF_TARGET_SAME=m
>CONFIG_IP_NF_NAT_SNMP_BASIC=m
>CONFIG_IP_NF_NAT_IRC=m
>CONFIG_IP_NF_NAT_FTP=m
>CONFIG_IP_NF_NAT_TFTP=m
>CONFIG_IP_NF_NAT_AMANDA=m
>CONFIG_IP_NF_NAT_PPTP=m
>CONFIG_IP_NF_MANGLE=m
>CONFIG_IP_NF_TARGET_TOS=m
>CONFIG_IP_NF_TARGET_ECN=m
>CONFIG_IP_NF_TARGET_DSCP=m
>CONFIG_IP_NF_TARGET_TTL=m
>CONFIG_IP_NF_TARGET_CLUSTERIP=m
>CONFIG_IP_NF_RAW=m
>CONFIG_IP_NF_ARPTABLES=m
>CONFIG_IP_NF_ARPFILTER=m
>CONFIG_IP_NF_ARP_MANGLE=m
>
>
>#
># Bridge: Netfilter Configuration
>#
>CONFIG_BRIDGE_NF_EBTABLES=m
>CONFIG_BRIDGE_EBT_BROUTE=m
>CONFIG_BRIDGE_EBT_T_FILTER=m
>CONFIG_BRIDGE_EBT_T_NAT=m
>CONFIG_BRIDGE_EBT_802_3=m
>CONFIG_BRIDGE_EBT_AMONG=m
>CONFIG_BRIDGE_EBT_ARP=m
>CONFIG_BRIDGE_EBT_IP=m
>CONFIG_BRIDGE_EBT_LIMIT=m
>CONFIG_BRIDGE_EBT_MARK=m
>CONFIG_BRIDGE_EBT_PKTTYPE=m
>CONFIG_BRIDGE_EBT_STP=m
>CONFIG_BRIDGE_EBT_VLAN=m
>CONFIG_BRIDGE_EBT_ARPREPLY=m
>CONFIG_BRIDGE_EBT_DNAT=m
>CONFIG_BRIDGE_EBT_MARK_T=m
>CONFIG_BRIDGE_EBT_REDIRECT=m
>CONFIG_BRIDGE_EBT_SNAT=m
>CONFIG_BRIDGE_EBT_LOG=m
>CONFIG_BRIDGE_EBT_ULOG=m
>
>
>#
># QoS and/or fair queueing
>#
>CONFIG_NET_SCHED=y
># CONFIG_NET_SCH_CLK_JIFFIES is not set
>CONFIG_NET_SCH_CLK_GETTIMEOFDAY=y
># CONFIG_NET_SCH_CLK_CPU is not set
>
>#
># Queueing/Scheduling
>#
>CONFIG_NET_SCH_CBQ=m
>CONFIG_NET_SCH_HTB=m
>CONFIG_NET_SCH_HFSC=m
>CONFIG_NET_SCH_PRIO=m
>CONFIG_NET_SCH_RED=m
>CONFIG_NET_SCH_SFQ=m
>CONFIG_NET_SCH_TEQL=m
>CONFIG_NET_SCH_TBF=m
>CONFIG_NET_SCH_GRED=m
>CONFIG_NET_SCH_DSMARK=m
>CONFIG_NET_SCH_NETEM=m
>CONFIG_NET_SCH_INGRESS=m
>
>
>#
># Classification
>#
>CONFIG_NET_CLS=y
>CONFIG_NET_CLS_BASIC=m
>CONFIG_NET_CLS_TCINDEX=m
>CONFIG_NET_CLS_ROUTE4=m
>CONFIG_NET_CLS_ROUTE=y
>CONFIG_NET_CLS_FW=m
>CONFIG_NET_CLS_U32=m
>CONFIG_CLS_U32_PERF=y
>CONFIG_CLS_U32_MARK=y
>CONFIG_NET_CLS_RSVP=m
>CONFIG_NET_CLS_RSVP6=m
>CONFIG_NET_EMATCH=y
>CONFIG_NET_EMATCH_STACK=32
>CONFIG_NET_EMATCH_CMP=m
>CONFIG_NET_EMATCH_NBYTE=m
>CONFIG_NET_EMATCH_U32=m
>CONFIG_NET_EMATCH_META=m
>CONFIG_NET_EMATCH_TEXT=m
>CONFIG_NET_CLS_ACT=y
>CONFIG_NET_ACT_POLICE=m
>CONFIG_NET_ACT_GACT=m
>CONFIG_GACT_PROB=y
>CONFIG_NET_ACT_MIRRED=m
>CONFIG_NET_ACT_IPT=m
>CONFIG_NET_ACT_PEDIT=m
>CONFIG_NET_ACT_SIMP=m
># CONFIG_NET_CLS_IND is not set
>CONFIG_NET_ESTIMATOR=y
Спасибо!
----------------
----------------
Уважаемый ALL!
Кто нибудь может подсказать как отключить опцию ядра
CONFIG_IP_ROUTE_MULTIPATH_CACHED=n надо сделать.
Через make menuconfig не нашел ничего похожегоа через устанавливать опции через make config = для меня дебри, точно ошибку какую нибудь сделаю.
Дистрибутив Debian Etch.