Displaying 20 results from an estimated 5000 matches similar to: "Routing question"
2005 Mar 25
1
Routing Load balancing and traffic shaping through 2 ISP links
Hello,
I started off by reading the Linux Advanced Routing & Traffic Control Howto, then searched a bit around the web.
I see many documents discussing these matters with kernel 2.2.x but they are quite old, something around 1998-2000.
I have some questions but I might as well start by exposing my setup to clarify things.
I have a couple of internet links: a leased line of 256kbit/s and an
2013 May 01
2
Configuring source-specific routing
I'm attempting to configure source-specific routing so that my servers
can exist on multiple subnets from multiple upstream providers.
A rough diagram of the network layout:
ISP1 router (blackbox, routes subnet A, address on subnet A)
\
-----------eth0(firewall)eth1---((servers))
/
ISP2 router (blackbox, routes subnet B, address on subnet B)
The aim is to allow the servers to use
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
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 /
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
2002 Oct 29
1
the routing cache and route selection; is this correct?
Hello all,
I do not read C very well (especially kernel C). Though I have tried to
muddle my way through an understanding of what''s going on in fib_hash.c,
fib_rules.c, and route.c, I have not succeeded to my satisfaction, hence
my post.
I''m trying to document the general process of route selection, and have
come up with the following overview. Could somebody point out any
2001 May 10
2
_oggpack
Hello
I am new at this. I have compiled the libogg and libvorbis libraries and
installed them on my MacOS X machine. The libao cannot be compiled yet
since stuff is missing. But I only want to play round with encoding right
now. So I also unpacked the vorbis tools distribution and am in oggenc.
In oggenc I do a
cc *.c -I. -L/usr/local/lib -logg -lvorbis -lvorbisenc
I get unknown symbols
2004 Jan 13
1
simple(?!?) source routing
Hi,
I''ve set up a Linux box with redhat on to act as an internet gateway and I''m running into a few problems. Its got two adsl modems connected to it, both connected to seperate 512kbs lines. Now I''ve followed the simple source routing in the advanced routing howto to the letter but it doesnt work.
I''ve got it autoconnecting on startup and redhat puts ppp1
2005 Jun 20
1
Interface bound routing
Hi,
I''m sorry for "novice"-level question, but I hope your expert advice will
save me many painful hours running after my own tail...
Let assume I have Linux box with eth0, eth1 and eth2 interfaces. Each one
has IP assigned from different network. By default, IP address associated
with eth0 is chosen as default routing. My application creates thee TCP
sockets and explicitly
2006 May 31
2
Routing based on source address
Hi,
Is it possible to create a routing rule that depends on the source
host/network, besides the target host/network?
E.g. route everything from 192.168.0.x to 10.0.0.1, and route everything
from 192.168.1.x to 10.0.0.1.
TIA
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
2004 Aug 17
2
Two Adsl connections following lartc.rpdb.multiple-links.html instructions....
I have two adsl lines on my linux firewall box and i want to do some load balance between them...i tried a lot of different things, but it isnĀ“t working...Following the instructions of http://lartc.org/howto/lartc.rpdb.multiple-links.html i used the configuration above. using "iptraf" I can see some few packets using the ppp1 connection, but almost all the packets use ppp0 connection.
2003 Mar 06
14
policy routing at its best
hello list (and martin) ;x
i have now composed my final(?) policy routing design.
the goals i had when beginning with this, for you that have not follow
mine and martins thread, was to 1) only let 192.168.1/24 to see all routes,
2) not route between defined networks, except to and from 192.168.1/24 and 3) not
defined networks should only be able to reach 192.168.1/24.
this might sound simple.
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All,
I''m trying to do some traffic shaping on an ethernet bridge. Currently,
I have the following setup working:
ifconfig eth0 down
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
brctl stp br0 off
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifconfig br0 up
This creates a bridge consisting of eth0 and eth1. So far so good.
I now want to use tc to shape traffic
2007 Apr 04
4
Some advanced filtering questions
Hi All,
I need to do some tricky filtering stuff. Can anyone tell me if any of
the following are possible?
* match on a combination of firewall mark AND u32 criteria. ie. handle
6 fw AND u32 match ip src 1.2.3.4/32 - to match packets from 1.2.3.4
which have been marked elsewhere
OR
* to OR the values of u32 matches. Something like u32 match ip src
1.2.3.4/32 OR match ip dst 1.2.3.4/32 - to
2007 Mar 28
7
(no subject)
Hi all,
I''m having a hell of a time getting my IFB to work. I know I''ve done
this before, so I''m missing something stupid. Can anybody tell me what
it might be?
Configs as follows:
--------
#!/bin/sh
modprobe ifb numifbs=1000
modprobe act_mirred
modprobe 8021q
brctl addbr br0
brctl setfd br0 0
brctl stp br0 off
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig eth1
2002 Aug 29
1
Problems with joining NT Domain
I am having problems getting samba to join a Windows NT Domain.
I have done a debug.
resolve_lmhosts: Attempting lmhosts lookup for name HPKFPN1<0x20>
resolve_hosts: Attempting host lookup for name HPKFPN1<0x20>
Connecting to 10.1.1.5 at port 445
error connecting to 10.1.1.5:445 (Connection refused)
Connecting to 10.1.1.5 at port 139
lsa_io_sec_qos: length c does not match size 8
2013 Feb 07
2
calling outside program to run from R - similar to X command in SAS
I'm new to R and have not been able to find what I am looking for online. I found the system command but that seems to be used for getting lists of directories, etc.
I am trying to replicate something that I used to do in SAS. I am simulating some data (which I can do in R with a particular package) and then trying to call an outside program to fit a specific model to the data. In SAS, the
2010 Aug 03
2
sorting by date
I am unsure how to sort a column by date if it is currently in the form:
YYYYMMDD
For example the months:
20071031
20071130
20071231
Etc.
Regards,
Leigh
[[alternative HTML version deleted]]
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