Displaying 20 results from an estimated 31 matches for "config_ip_route_fwmark".
2007 Aug 26
0
CONFIG_IP_ROUTE_FWMARK missing
Hi,
Kernel option CONFIG_IP_ROUTE_FWMARK is missing in 2.6.20. Can you
still route traffic based on marks as stated in chapter 11 of LARTC
HOWTO? I read in the list that IPMark doesn''t work either, so I
thought it might be related.
Thanks.
2003 Aug 09
2
Sparc problem
Hi all, i am using iptables (1.2.8) + iproute on Slackware 8.0 (i386) working
fine, marking packet based in destination port and network and selecting the
appropriate route with this marks (i have two links, a 256Kb frame relay and a
512Kb ADSL).
Now i change the machine for a Sun Enterprise 250 (Sparc64 with Debian 3.0r1)
and iptables works fine (the packets are marked) but iproute
2002 Jul 26
2
RTNETLINK answers: Invalid argument, fwmark
...ocol ip parent 1:0 prio 1 handle 3 fw flowid 1:3
This last line gets a "RTNETLINK answers: Invalid argument"
I''m using kernel 2.4.18 with the htb and wrr patches on both the kernel and
on tc
in the kernel .config I have:
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
I''m not really sure where else I could be going wrong, any advice would be
greatly appreciated.
_____________________________________________________________
David Watson, Network Manager, Team17 Software Ltd.
Phone: +44-1924-267776 Fax: +44-1924-267658
____________________________...
2004 Jul 26
1
iptables marking problems and ip route not working
...lp.
Here''s the setup.
The kernel is a stock Fedora Core 1 and seams to be configure correctly:
# grep CONFIG_IP_ADVANCED_ROUTER /boot/config-2.4.22-1.2115.nptl
CONFIG_IP_ADVANCED_ROUTER=y
# grep CONFIG_IP_MULTIPLE_TABLES /boot/config-2.4.22-1.2115.nptl
CONFIG_IP_MULTIPLE_TABLES=y
# grep CONFIG_IP_ROUTE_FWMARK /boot/config-2.4.22-1.2115.nptl
CONFIG_IP_ROUTE_FWMARK=y
I have enabled ip forwarding:
# grep ip_forward /etc/sysctl.conf
net.ipv4.ip_forward = 1
The iptables, ip rule and ip route statements are lifted right out of the docs:
#iptables -A PREROUTING -i eth0 -t mangle -p tcp --dport 80 -j MARK...
2006 Oct 19
1
Re: Tc rules Helpwith multiISP+ squid& squidguard...
I found that in my kernel config :
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
But no CONFIG_IP_ROUTE_MULTIPATH_CACHED.
-----Message d''origine-----
De : shorewall-users-bounces@lists.sourceforge.net [mailto:shorewall-users-b...
2003 Apr 24
3
compiling iproute
...about:
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_ARPD is not set #
CONFIG_INET_ECN is not set
The thing is that I can''t find the CONFI...
2005 Feb 05
3
Help - Getting an error when trying to add prio to tables....
Hi,
I am getting the errors given below, when I am trying to add the prio to any
table. What can be the problem and how can i resolve it.... Kindly help
[root /root]# ip rule
RTNETLINK answers: Invalid argument
Dump terminated
[root /root]# ip rule list
RTNETLINK answers: Invalid argument
Dump terminated
[root /root]# ip rule list table main
"ip rule show" need not eny arguments.
2004 Jul 26
5
IP ROUTE
Hello, my linux show me that:
server2 root # ip route add default scope global nexthop via 192.168.5.1 dev eth2 weight 1 nexthop via 192.168.160.1 dev eth0 weight 1
RTNETLINK answers: Invalid argument
What can I do????
Thanks
Matias
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date:
2006 Dec 29
1
Trouble selecting network interface by port
...to use it for some
specific purposes, which are distinguishable by port.
So, I want to direct only some specific ports to ppp0, using eth1 for
the rest.
I have tried following the instructions on
http://lartc.org/howto/lartc.netfilter.html
CONFIG_IP_ADVANCED_ROUTER, CONFIG_IP_MULTIPLE_TABLES and
CONFIG_IP_ROUTE_FWMARK is enabled in the kernel.
I have added the line "201 tunnel.out" to /etc/iproute2/rt_tables .
After the PPTP tunnel comes up, the following is run.
$TUNNEL is the PPTP tunnel (ppp0), and $EXTIF my regular WAN interface (eth1).
# Open firewall for the tunnel.
iptables -A FORWAR...
2006 Mar 03
0
Multicast only working in promiscuous mode
...t up to enable multicast (and routing), extract from the .config of the
kernel:
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE=y
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...
2005 Dec 06
0
GRE Tunnels
...ow. Without the tunnels i could send 50Mbps and with the tunnels its aroud
1-2 Mbps.
--- Kernel Config --- --
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_MULTIPATH_SEQUENTIAL=y
CONFIG_IP_ROUTE_TOS=y
# CONFIG_IP_ROUTE_VERBOSE is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_ARP_LIMIT is not set
# CONFIG_NET_IPIP is not set
CONFIG_NET_IPGRE=y
# CONFIG_NET_IPGRE_BROADCAST is not set...
2006 Oct 20
0
Re: Tcrules Helpwith multiISP+ squid& squidguard...
...et : Re: [Shorewall-users] Tcrules Helpwith multiISP+ squid& squidguard...
Joffrey FLEURICE wrote:
> I found that in my kernel config :
>
> # CONFIG_NET_KEY is not set
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> CONFIG_IP_ADVANCED_ROUTER=y
> CONFIG_IP_MULTIPLE_TABLES=y
> CONFIG_IP_ROUTE_FWMARK=y
> CONFIG_IP_ROUTE_MULTIPATH=y
> CONFIG_IP_ROUTE_VERBOSE=y
> # CONFIG_IP_PNP is not set
> # CONFIG_NET_IPIP is not set
> # CONFIG_NET_IPGRE is not set
>
> But no CONFIG_IP_ROUTE_MULTIPATH_CACHED.
Ok -- in your squid.conf file, you might try setting ''tcp_outgoing_add...
2002 Dec 09
0
neughbour table overflow
...ICG kernel: Neighbour table overflow.
Dec 9 09:59:59 ICG kernel: NET: 12 messages suppressed.
Dec 9 09:59:59 ICG kernel: Neighbour table overflow.
how can i stop/reduce it ??
what factors does it depends on ??
kernel configuration are...
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
thanking you in advance..
A.H
__________________________________...
2002 Aug 15
0
conditional routing based on tos/fwmark not working with ipsec
...- - - -
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_NETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_DIVERT=y
CONFIG_DIV_PT=y
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2004 Mar 10
0
tc/wondershaper and RTNETLINK answers: Invalid argument
...config: don''t edit
#
# 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=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
C...
2001 Dec 05
0
Problem setting up nexthop
...artifact of make menuconfig) - didn''t help
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
CONFIG_IP_ROUTE_NAT=y
# CONFIG_IP_PNP is not set
CONFIG_IP_FIREWALL=y
# CONFIG_IP_FIREWALL_NETLINK is not set
CONFIG_IP_ROUTE_FWMARK=y
# CONFIG_IP_TRANSPARENT_PROXY is not set
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_MASQUERADE_MOD=y
CONFIG_IP_MASQUERADE_IPAUTOFW=m
CONFIG_IP_MASQUERADE_IPPORTFW=m
CONFIG_IP_MASQUERADE_MFW=m
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not s...
2006 Apr 27
0
MULTIPATH: how to control chache expiration time?
...69.66.58.31 dev eth2 src 192.168.1.2
cache mtu 1500 advmss 1460 hoplimit 64 iif eth5
--
192.168.90.5 from 61.228.9.180 dev eth2 src 192.168.1.2
cache mtu 1500 advmss 1460 hoplimit 64 iif eth4
root@server1:/backup/ftp# grep ROUTE /boot/config-2.6.12-luciano.1
CONFIG_IP_ADVANCED_ROUTER=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_MROUTE=y
CONFIG_BRIDGE_EBT_BROUTE=m
# CONFIG_DECNET_ROUTER is not set
CONFIG_WAN_ROUTER=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_WAN_ROUTER_DRIVERS=y
root@server1:/backup/f...
2003 Jan 13
1
Getting Error when starting Wondershaper 1.1a
...ACKET_MMAP=y
CONFIG_NETLINK_DEV=m
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_TUX=m
CONFIG_TUX_EXTCGI=y
CONFIG_TUX_EXTENDED_LOG=y
# CONFIG_TUX_DEBUG is not set
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=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
CON...
2002 Apr 22
2
RE: RTNETLINK answers: Invalid argument
Hi All,
concerning the problem when running the "ip ru ls" command.
I faced with the same problem, and I solved it by making sure to include the following settings into the kernel configuration (2.4.18):
CONFIG_IP_ADVANCED_ROUTER=y <===
CONFIG_IP_MULTIPLE_TABLES=y <===
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
The new kernel is then able to perform policy routing in the correct way (iproute2-010824)
ciao
- Alberto
-----Original Message-----
From: ext Richardson, Robert [m...
2004 Oct 28
7
akamai problem behind linux router
...opic
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
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=y
CONFIG_NET_IPGRE=y
CONFIG_NET_IPGRE_BROADCAST=y
CON...