similar to: unable to add routes to empty table

Displaying 20 results from an estimated 20000 matches similar to: "unable to add routes to empty table"

2006 Mar 28
4
[ ] IProute2 error ..
Dear all, I am having problem using iproute2 on my new Slackware 10.1 box. Here goes the problem: root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables root@localhost:~# cat /etc/iproute2/rt_tables # # reserved values # 255 local 254 main 253 default 0 unspec # # local # #1 inr.ruhep 200 DOONET root@localhost:~# ip rule add from 10.255.255.0/24
2004 Jan 19
1
Problem implementing split access
Hello, I am attempting to implement load balancing on a firewall to allow me to use two ISPs. I have followed the instructions in section 4.2 of the LARTC HOWTO but have got stuck on the split access section I have the options CONFIG_IP_ADVANCED_ROUTER and CONFIG_IP_MULTIPLE_TABLES in my kernel (2.4.24) and have added routes to the /etc/iproute2/rt_tables file but when I try a command in the
2004 Aug 01
2
tables and default
I already setup several 2 gateways boxes, with rules too decide which lan should use which gateway. Now I''m stuck with a simpler problem. At home I was just making some experimental setup: * 1 adsl (ppp0) * 1 more tables in rt_tables (200 ping) called "bluff" * table ''bluff *has not* a default route root@fw-eden root # ip ro li table bluff
2004 May 21
2
fwmark / MARK / --set-mark syntax never run on my system! Search step by step help.
Hello! This arguments never run on my system, but I need this: #!/bin/bash -x echo "1" iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2 echo "2" echo "201 T1" >> /etc/iproute2/rt_tables echo "3" ip rule add fwmark 2 table T1 echo "4" ip route add default via 192.168.21.2 dev eth1 table T1 echo "5" ip route
2005 Oct 29
2
iproute create policy routes after reboot
Which files do I need to edit in order to initialize a route after a reboot. I have a 802.1q tagged VLAN interface which I need to create a rule, and a route for. I see on my CentOs 4.2 box that in /etc/iproute2 there are the following files. I realize that I can add my tables to /etc/iproute2/rt_tables, but when I want to create a rule I am not sure where to put the information for the
2004 Jun 08
0
Routing - new table
Hello, I have tested a simple thing in two version of Linux and there was a problem when I have used fwmark as a selector for rule lookups. As you can see below on the Slack, the <test> table doesn''t have any label about fwmark. Is there an iproute problem? -------------------------------------- # cat /etc/fedora-release Fedora Core release 2 (Tettnang) # uname -r 2.6.5-1.358 #
2005 Dec 08
0
Keeping state for multiple default routes
I have a machine with two routes to the internet doing load balancing on the connections and NAT for internal machines. For inbound ssh connections and outbound connections to anything, it will occasionally "lose" packets. If I Control-C out of ssh and try again, it usually works, but not always. After a few tries it does connect, but frequently stalls and hangs permanently. I did
2016 Jan 09
0
CentOS-6.7, kvm bridges, virtual interfaces, and routes
Search for policy routing. Surprisingly, I cannot find anything about it in the RHEL6 docs. You don't say how exactly you tried. It should be sufficient to edit rt_tables (maybe that's a step you missed? The actual number used doesn't matter) and add the route-eth1/rule-eth1 files on every host involved. I.e. no separate route/rule file shold be needed for the default interfaces.
2012 Mar 07
2
RTNETLINK answers: File exists when adding providers
When I attempt to start shorewall (version 4.0.15) I get an RTNETLINK error (see below). /var/log/shorewall-init.log [...] 21:02:18 Creating Interface Chains... 21:02:19 Adding Providers... RTNETLINK answers: File exists ERROR: Command "ip route add table 1 129.116.XXX.0/24 dev eth2 proto kernel s cope link src 129.116.XXX.30" Failed 21:02:25 Shorewall-generated routing tables and
2004 Sep 08
0
Can I do this?
Hello, LARTC! I''ve been having troubles with load balance with ip + fwmark. I was wondering if these points are mandatory for this scheme to work: 1. Is there any problem if the linux gateway has a default gateway? Do I have to remove it? 2. In the scenario with 4 NICs, one routing table each, and another routing table doing load balance, Do the tables that imply routes that are being
2013 Jun 28
0
IPv6 two or more providers, duplicating routing table does not work
Hello, shorewall6 seem to have problems duplicating the main routing table. shorewall6 tries to add the fe80::/64 route of every ipv6 configured interface to routing table 1. The first route applies but the other ones not. If i try to add the routes manually to routing table 1 i have to add the first fe80::/64 route and append not add the other ones. does not work: ip -6 route add table 1
2011 Jan 24
1
iproute2 custom tables and rules the CentOS way...
Hi all; I have a custom iproute2 table and a few rules to go along with it (CentOS 5) -- I have added the table to /etc/iproute2/rt_tables. if-up and friends doesn't seem to handle this real gracefully. How are those of you out there doing something similar managing this customization? I don't really want to muck with /etc/init.d/network or the if-up scripts to avoid breaking upgrades.
2005 Jul 15
1
Problems with table
hi, I have problems with tables. I installed the last iproute2: iproute2-2.4.7-now-ss010824.tar.gz on Linux 2.4.26 (slackware 9.1). I want to use 2 adsl on this server. I run this command: #echo 201 routeradsl2 >> /etc/iproute2/rt_tables (only one time); then #ip route add 82.189.148.240 dev eth1 src 82.189.148.243 table routeradsl2 at this point I run: #ip route show table routeradsl2
2002 Jun 15
1
RES: ADVANCED ROUTING USING IPROUTE2 -> Multiple Firewalls
Hi William. Thanks a lot for your help. Im having some trouble recompiling my kernel after a installed the patch. Im running RH 7.3 with kernel 2.4.18-3. The patch I installed is routes-2.4.16-6.diff. I got no errors installing it. I added the multipath support, and recompiled it. The make dep and the make bzImage went fine. I got error during the make modules. These are the errors:
2005 Jun 11
1
problem with ip route and multiple lans
Hi, I have a little problem to setup iproute in my network It looks like this: ---- ----- ------ R1 R2 R3 ---- ----- ------ | | | | | | ------------------------------- ETH1 ETH2 ETH3 ETH0 ETH4 -------------> DMZ ------------------------------ | |
2004 Jan 08
2
Multihome- routes patch problem
Hi all iam trying to setup Dual gate using Julian patch DGD, but when i try tp patch to my kernel with fedora iam getting the following eroor can some one suggest me what is wrong or i need a latest patch for fedora [root@linux-2.4.22-1.2115.nptl]# patch -p1 < /root/update/update/routes-2.4.20-9.diff patching file include/linux/netfilter_ipv4/ip_nat.h patching file
2005 Dec 24
1
Simple routing configuration
Hi, I have a simple question (well, at least I think it''s simple!). I have a router, with four Ethernet cards; eth0-eth3. eth0 and eth3 are the ''external'' cards, connecting to my ISPs. eth1 and eth2 are connected to my internal networks. What I want to do is basically filter all the traffic from one card to another, in this configuration: eth1 to eth3 eth2 to eth0
2001 Jun 28
2
RTNETLINK Problems <ip route> don't work as expected. (I think)
Hi, I have one firewall with 3 ethernet cards, 2 internet links, one cisco 2920 and one problem in RTNETLINK ;o) Let me explain my network : | *** Internet Link 1 *** *** Internet Link 2 *** 10.1.0.1| Serial Serial | 10.2.0.1 |||| +--------------+ +------------+
2006 Aug 18
3
iproute2, alternative tables, no default route: routing trouble for localhost
Hi. The task: 1. There 3 servers and a router with 2 PPPoE connections (let call them: ppp0, ppp1). 2. There are several groups of Inet-clients to be served (Servers, Clients and Club). 3. The task is: - to route Club through the ppp1; - to Servers and Clients through ppp0; (Next is reproduced from memory and may be slightly incorrect) router # netstat -nr Kernel IP routing table
2005 Jul 09
1
Problems with iproute2
I''m using Debian (sarge) I do now have 2 ISP, one DSL and one cabel. I want to use the DSL as my primary and only use the cabel-modem if the DSL fails. The setup is: IP1 -> Router -> NAT_IP1 -> eth0 -> eth2 (LAN) IP2 -> Cable-Modem -> eth1 -> eth2 (LAN) I wrote the following in my /etc/iproute2/rt_tables ip rule add from NAT_IP1 lookup 1 ip route add