Displaying 20 results from an estimated 30000 matches similar to: "Choosing network interface to send traffic through"
2006 May 16
1
Traffic Routing/Shaping Problem
Hi,
I''m trying to use Shorewall (3.0.6) to accomplish what I thought was going
to be fairly simple. Unfortunately, I can''t get the dmz to work correctly,
and I''m getting martians logged against the interface at issue.
Any help I could get would be greatly appreciated!
A picture of my physical setup is attached. I have also attached a shorewall
dump.
To make a long
2005 May 11
2
Multiple Internet links - routing traffic to the correct one.
Hi all,
I have the following configuration:
                                                                 _______
                                          +------------+        /
                             diginet link |            |       |
                            +-------------+ Provider 1 +-------
        __                  |             |            |     /
    ___/  \_        
2001 Dec 27
4
Traffic shaping an apartment building
Hi,
I live in a rural community where adsl and cable is not widely available.  I
correctly have an option of using adsl or cable at my location.  Ten miles
away my friends apartment building has no option of cable or adsl.  I set-up
a wireless link between my friends apartment building and my house.  It
works great for him and me and the adsl company doesn''t care because they
2007 Jul 25
3
Patch accurate packet scheduling for ATM/ADSL
Hi,
I use the patch
(http://ace-host.stuart.id.au/russell/files/tc/tc-atm/) for accurate
the packet scheduling on ATM/ADSL link and i think I''ve found a bug.
I tried to write to the author but he didn''t answer me.
I work on a Linux 2.6.17 with the iproute2-2.6.18-061002 package.
I change the type of the cell_align char to short of the struct
tc_ratespec in the file pkt_sched.h
2007 Jun 24
5
Traffic shaping on multiple interfaces
I''m trying to setup traffic shaping on my linux gateway/router.
The system has 3 interfaces:
eth0 - My LAN - with IP address 192.168.0.254
eth1 - The ethernet connection to which my ADSL modem is connected. This 
has a 10.25.x.x IP, more on this later. The ADSL link has an upstream of 
~1.2mbit.
ppp0 - The PPP connection which is my WAN connection, with a real world IP.
The system acts
2006 Aug 16
4
How to bypass traffic control for one IP
Hi all,
i have a problem: i have an adsl modem that is connected to internet. I can''t manage this modem.
Between my PC and the modem i have a linux firewall that make the NAT and the traffic shapping.
I have create a script that limit the bandwidth of the "external" interface of the firewall so i can manage my bandwidth for my internet application.
The problem is that i need to
2004 Jul 22
7
Re: Problems routing mail to particular interface
Is the 192.168.1.2 an ip on the router? If yes, you''ll have to mark in
OUTPUT, not PREROUTING, also, after you set up the rules and routes,
did you an
ip route flush cache
?
I hope these works
On Wed, 21 Jul 2004 20:02:32 -0700, Jens <jens@pacificsun.ca> wrote:
> I have a particular problem that has caused me grief for some time now and
> even though the answer is probably
2004 Nov 25
12
simple dual Internet connection setup not sending return packets on correct interface
I have a very simple setup exactly as described in the HOWTO section "
4.2. Routing for multiple uplinks/providers".
One is cable (eth1: dhcp) and the other is PPPoE (ppp0).
I used the following commands to configure the routing once all of my
interfaces are up and i have configured SNATing for them:
ip route add 66.11.173.0/24 dev ppp0 src 66.11.173.224 table 11
ip route add default
2004 May 09
3
prerouting does not effect filtering
I try to shape traffic using HTB and mark packets within iptables using 
PREROUTING. But the filterrules seems to ignore the marks set with 
PREROUTING
Only POSTROUTING marks are accepted.
First my configuration
I have a router connected to the internet via ADSL over interface ppp0. 
eth0 is a tunnel to ppp0 and eth1 serves the LAN.
LAN is 192.168.57.0/24 on 10Mbit
ppp0 is  80.126.16.44 on
2006 Feb 15
2
Make eth1 primary interface
I have a Centos 3 server with three network interfaces. eth0 is for the 
local network and the firewall is the gateway, the ip and gateway are 
set statically.
eth1 is a adsl connection using dhcp to allocate the ip. I want to make 
eth1 the default route. If it was statci I would just use a "route add 
default gwd eth1" command, but I  can't do that with DHCP.
How do I make eth1 the
2005 May 09
25
Starting from scratch w/ multiple uplinks
Hi guys;
I''m sure you are all bored of hearing the same story over and over...  
but here it comes again. :) Yep, tomorrow I''m getting another ADSL  
line installed and I wanted my linux router to handle both providers  
(new and old). I have my linux router (fedora core 2) setup to do NAT  
for my current line, but I know I''ll need to change my configuration  
to
2001 Feb 20
2
Incoming trafic shaping (depending on src IP)
Hi there,
i''m trying to shape incoming trafic on my linux box.
I want it to depend on the source IP adress of the packets (in fact, i got 
a VPN on an ADSL link and wanted to get at least/max 64Kbit/s for the VPN)
So i tried this :
tc qdisc add dev ppp0 root handle 1:0 cbq bandwidth 512Kbit avpkt 1000 cell 8
tc class add dev ppp0 parent 1:0 classid 1:1 cbq bandwidth 512Kbit rate 
2004 Jan 13
4
Bandwith Aggregation
I am working on my Diploma Thesis on Computer Science Engineering.
The main idea behind of my work is to make it possible to have
a Linux box combining multiple ISP/network connections together
providing a single connection with an aggregated bandwith.
I have been surfing the Internet and I haven''t found anything
like that running on Linux. I would like to implement it using
iproute 2
2004 Sep 30
2
2 DSL link, DNAT & SNAT
Sorry for the long descritpion of the problem, I''d like to know If I
misunderstand something or if I meet an intrinsic limit of my setup.
217.58.51.162  HDSL eth1 -            SRV_XP: 192.168.254.10   
                    eth0: 192.168.254.1 -----+------------------+-------  
81.121.243.250 ADSL eth3 -
  I want to allow incoming pptp request (port 1723) to be forwarded to
  srv_xp
2009 Jun 17
2
Issues with dhclient support in 4.2.8
While troubleshooting my MultiISP box, I suspect I might have found  
either a bug or an incompatibility with CentOS 5.2.
In prog.header (function detect_dynamic_gateway), Shorewall tries to look for:
/var/lib/dhcp/dhclient-${1}.lease
However (at least under CentOS 5 - unknown about other OSes), this should be:
/var/lib/dhclient/dhclient-${1}.leases
(different path, and "leases"
2005 Oct 16
1
routing pb? ping not "emerging"
Hi all,
   i''m puzzled by a ploblem and I don''t know how to debug it...
   I have a firewall with 2 gateways, adsl and isdn. Main gateway is via
   adsl, backup via isdn. I setup 2 table ''adsl'' and ''isdn''. You can find a
   description below.
   I made a script to test both tables. That mainly
      1. adds an 
         iptables -t mangle -A
2009 Jun 09
1
PPPoE/ADSL configuration questions.
I am building a CentOS 5 box to ship to Houston which will be a
gateway system on an SBC DSL connection for a while until the
client gets a T1 installed.  I have read up on using adsl-setup
and related software, but never done PPPoE on anything but
LinkSys commodity boxes.  I have examined the adsl-setup script,
and I think I understand how this works, but want to be sure I
understand things
2004 May 12
6
Multipath Connection problem on RH-8.0
Dear List.
I try to build multipath connection w/ load balance to internet with two 
different gateway;
My system is RH-8.0 with  iproute-2.4.7-7.90.1.rpm and Kernel-2.4.26 
(patching with Julian A. patch),and follow guide from  
http://www.linuxvirtualserver.org/~julian/nano.txt,
The problem is;
when i try to connect to Internet form gateway machine it;s success , 
but  only one interface is
2005 Nov 11
6
action redirect and dummy interface
Hello i have some problems on 2.6.14 kernel dummy and iproute :)
i have server with 2 nics :
eth0 <> inet
eth1 <> lan
dummy0 (i want to shape incoming traffic from lan machine on this interface)
my config:
tc qdisc del dev dummy0 root
tc qdisc add dev dummy0 root handle 1: htb
tc class add dev dummy0 parent 1: classid 1:1 htb rate 100kbit ceil 100kbit
tc class add dev dummy0
2003 Jul 04
3
Routing SMTP traffic
Hi guys,
I have a mail server running qmail with two network
interfaces. All packages comes from the first one and
I want to mark outgoing packages to route them using
the second interface (ADSL).
I have write this script, but it ins''t work. All
packages are returning by the first interface... :-(
x-x-x
# Tables, networks, interfaces, addresses and gateways
IF1=eth0
T1=100