Displaying 20 results from an estimated 4000 matches similar to: "the routing cache and route selection; is this correct?"
2004 Mar 22
1
Newbie question - RPDB, policy routing etc...
Hello all,
I am going through the LARTC howto to understand how the iproute2 works.
But some concepts like Policy Routing, RPDB etc are not clear to me. I
am pretty new to iproute, beeing using route command for long...
From what I understand
1. rules (ip rule) tell how to select packets for routing and route (ip
route) tell where to route the selected packets.
2. A collection of rules is
2003 Mar 01
2
Virtual Routers would this work?
Hello all,
I need a virtual firewall/router solution. I''m thinking of a
netscreen 1000 but I want to know if it can be done in Linux.
Here is my idea:
1 Linux box
2 GigE interfaces
1 interface setup with a public IP address ($PUBIP)
1 interface setup with 802.1q VLAN trunking with 100 vlans assigned
($VLAN1-$VLAN100)
a /25 subnet routed to $PUBIP from my core routers
All $VLAN
2004 Aug 02
5
Route policy preference value
Assuming if I have rules matching the same packet,
the one chosen is the lower preference value or
the high ?
For example
# ip rule list
....
100 from 192.168.1.0/24 lookup main
200 from all fwmark 5 lookup first
.....
Packet is matching both rules, the one with priority/preference
100 or 200 is selected ?
_______________________________________________
LARTC mailing list /
2002 Aug 15
0
conditional routing based on tos/fwmark not working with ipsec
Hello all,
I am working with kernel 2.2.20 with the necessary options configured into
the kernel to support all of the wonderfully fancy routing features:
- routing based on ToS
- routing based on fwmark
- multiple routing tables
This same kernel is in use elsewhere, and is routing based on fwmark with
success. This leads me to believe that my kernel is OK and that I have
another
2002 Oct 09
7
ipchains iproute2 and port based routing
Hi all!
I try to make port based routing, because a have two connections to the
internet.
My router is a "one disk floppy router for linux". It is a big router
project www.fli4l.de. I try also to make a opt, it is like a plugin for this
router.
This project uses Kernel 2.2.19 compiled with libc5 (because it is small and
you can use one floppy disk).
At the moment, iproute2 is not
2007 Feb 13
11
Routing problem (RTNETLINK answers: Invalid argument) on multiple internet link.
Hi all,
I''m trying to set up a computer with 2 routes to the internet, much as
described at http://lartc.org/howto/lartc.rpdb.multiple-links.html .One of my
interfaces (eth5, 192.168.2.2) is only used for traffic originating inside
the network. The other (eth1, 192.168.1.2) is only used for a VPN, where all
(udp) traffic originates from outside our network. I have created a second
2002 Nov 27
5
transparent PAT
Hello, everyone!
I would like to solve the following problem. Btw, I''m terribly
sorry about the pseudo-asciiart, but that''s all I can paint as
a tropology. I''m hoping it''ll be enough.
----Internet----
|
|
|
eth0
machine A
routing+ipchains
eth1
|
------------------ machine B
So, given I''m running kernel 2.4.19 and using ipchains
2003 Mar 04
2
Routing based on fwmark
I''m having trouble routing on high fwmarks, I want to use a lot of
different marks for 2 routes so that I can QoS based on the marks
ip rule looks like this:
0: from all lookup local
32751: from all fwmark 31 lookup dslout
32752: from all fwmark 30 lookup dslout
32753: from all fwmark 29 lookup dslout
32754: from all fwmark 28 lookup dslout
32755: from
2007 Jul 05
4
Load Balancing , MSN and SSL
HI All ,
I am running a FC6 box with two internet links with load balance . Every
thing is working fine expect the MSN connection that failed and reconnect
every time and SSL connections . I would link to know if with the nona
howto I could fix that .
I have been tried with no success to redirect that connection only to one
link but its look like do not work . Here my configuration :
2004 Nov 23
4
how to remove rules
hi
I have trying to remove the extra rules from my routing tables,
however with no luck
Also I want to know these duplicate entries have an effect on packets
going routed?
I have this overwhelming rules lists from my predessor who added the
"ip rule add fwmark" entries in firewall script, and on each run of
firewall script its creates an extra entry in routing table.
Now what I want to
2004 Nov 23
2
ip rule to remove
hi thanks for your reply heh "Example: ip del rule pref 32742" is
syntically wrong :)
and when i tried "ip rule del 32742" it gives me error
# ip rule del 32742
Error: argument "32742" is wrong: Failed to parse rule type
so how to get get of these extra rules?
0: from all lookup local
32742: from all fwmark 0x2 lookup squid.out
32743: from all fwmark 0x2
2006 Jan 13
3
multiple isp + nat
I configured multiple isp (actually only multiple gw) according
http://lartc.org/howto/lartc.rpdb.multiple-links.html.
Now NAT (Internet) seems to work, both external interfaces work ( I
didnt configure load balancing because I dont need it). However I have
problem that I can not ping from NAT to public ip of my Linux box.
Problem is that I can not connect from 192.168.1.0/24 network to
services
2005 Jun 08
2
General Traffic Control Question
Here''s my situation:
I''ve got an Intel machine running a 2.6.9 linux kernel and this box has
4 modems attached to it via a usb to serial port expander. In order to
force data down each of the modems, some pretty simple rules are used
and they are as follows:
iptables -t mangle -A OUTPUT -p tcp --dport $PORT1 -j MARK --set-mark 1
iptables -t mangle -A OUTPUT -p tcp --dport
2006 Apr 08
4
source routing does not work with extra ip addresses
I set up this config:
+------+
-+ ISP1 +--+
+------+ | +-------+
+--+ linux |
+------+ | +-------+
-+ ISP2 +--+
+------+
No problem. Standard setup with two ISP''s. Both routed subnets. Default
gateway is ISP1. No magic here.
Now I put a server behind the Linux box. I want the server to be
reachable on an /extra/ IP in the routed subnet of ISP2.
+------+
-+ ISP1
2003 Sep 18
0
hexadecimal fwmark and fwmark mask
Hi list,
I''m new to this list, I just subscribed because I have some ackward
about IPRoute2.
First, while playing with NetFilter'' "MARK" target, I met a weird
behaviour once I tried to use this marks in the RPDB : the packets
where successfully marked, but it seemed that RPDB didn''t succed in
matching them (for those who already know the answer, I only used
2002 Sep 10
3
RE: 4 nic advanced routing question update
ok i will do it in text:
66.92.114.46 eth0
209.141.2.194 eth1
192.168.119.101 eth2
192.168.120.101 eth3
What i have is a linux box RH7.3 which will eventually run Shorewall Firewall. On this box there is eth0 66.92.114.46 conneted to isp1 and eth1 209.141.2.194 connected to isp2
It also has eth2 192.168.119.101 and eth3 192.168.120.101 which will connect to a failover appliance which has 2 wan
2003 Apr 15
3
SNAT or DNAT or what?
Hello,
I have a Debian-Woody-3.0 Router with 3 NIC''s.
Kernelversion 2.4.18
+------------+ +-------------+
| | | |
|192.168.1.1 | | 192.168.2.1 |
| DSL-Router | | ISDN-Router |
+------------+ +-------------+
| |
2002 Sep 04
0
RPDB && routing locally generated (and marked) traffic
Hello all,
I''m using iproute2 + ipchains and have a question about locally generated
packets.
I have noticed that I have no problem marking packets in the input chain
from sources other than my router. These packets are marked and routed
exactly as I expect.
Now supposing I want to mark particular outbound packets which are locally
generated. The only solution I have found so far
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
2007 Sep 01
13
2 ISP connection sharing problem
Hi all,
I have a similar question like many asked before I know but Please
help as i cant figure out where the problem is and how should I tackle.
I have 2 ISP connections. I want to share the bandwidth from both. I have
copied the script from many places and created my own after changes. Problem
is that only one connection is utilized at a time. Not both working. ratio
of consuming