similar to: problem with two default routes

Displaying 20 results from an estimated 2000 matches similar to: "problem with two default routes"

2004 Nov 16
0
nano-setup with fixed routes.
Hi everyone, I have a linux-box connected to an internal LAN and two ADSL-connections. I am using the nano.txt setup with patches applied, and everything is working fine. My problem is that I want to route traffic to some specific hosts (DNS and mail-servers) to a specific ADSL-line. I have tried to add the following ip route add 195.82.195.0/24 dev eth0 src 83.72.197.108 proto static table
2004 Aug 30
1
Load balance and big downloads
Hi, This is the first time I write to the list. My english is not so good, but I hope I''ll be understood. I have 4 adsl routers, plugged on a linux box, and this box e used to connect to a local network. The linux box has 5 NICs. eth0: local network inet 10.0.0.56/24 brd 10.0.0.255 scope global eth0 eth1: adsl router 1 inet 192.168.254.1/24 brd 192.168.254.255 scope global
2009 Oct 16
0
routing using iproute2 nexthop
Hello Everyone, I configured a server for a friend's Internet cafe. He has 2 ISPs. Here is what I did: ## NAT -A POSTROUTING -s 10.0.0.0/255.255.255.128 -o eth2 -j SNAT --to-source 82.77.148.83 -A POSTROUTING -s 10.0.0.0/255.255.255.128 -o eth0 -j SNAT --to-source 83.103.190.175 ## Removing default routing /sbin/ip rule add prio 50 table main /sbin/ip route del default table main ##
2006 Mar 28
1
IP route balance problem
Hello Im having a problem similar to sawar Here is my configuration --------------eth1---192.168.1.128---------- -------------192.168.1.1 ISP router 1 | my | ---Eth0---192.168.10.157----| | | linux |
2006 Dec 08
0
May problem with iproute2 nexthop?
Hi, I am new in LARTC list. I had intermediate skills in networking. What I tried to do: Use 2 links with loadsharing + falt toletant (to add bandwitdh) ok ! I am use Debian Etch in router/fw With kernel debian default + routes-2.6.17-12.diff patch The Problem: The iproute2 just route thought the last gateway of nexthop rule. I was running tcpdump in 2 terminals, tcpdump -nni eth0 ...
2005 Jul 28
1
multiple uplinks works on linux router but not on clients
Hello, I''m trying to achieve the following. 2 ISP''s and 1 LAN with failover. So, when 1 internet connection fails the other need to take over. I''m aware of the restrictions. The current sessions are lost. I did this before, one and a half year ago or something. But at that router wasn''t failover. Now i''ve read the nano howto and followed it.
2004 Aug 20
0
Load Balance adsl connections: a complete explanation of my case...
I have a linux server running Mandrake 10, with the kernel configured with "CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y" options, with 4 ethernet cards: - 2 ethernet used to connect to my lan (eth0=192.168.1.x and eth1=192.168.2.x) - 2 ethernet used to internet connection (2 adsl lines, both with 600/300 kbtis) The two lan are used to share
2004 Jan 19
0
Two ISP load balancing + One ISP'' subnet explicit routing
Hello! I have a problem. May be here exist anyone who has encountered with the following problem. I have a router which is connected to 2 ISP from external side and one LAN internal interface. The feature is that the one ISP allocates a subnet xxx.xxx.xxx.160/28 for me but I split it into two subnets xxx.xxx.xxx.160/29 and xxx.xxx.xxx.168/29 and assign the latter to the internal interface. Also
2004 Jul 03
1
load balanced adsl lines
Hi Ppl I have 5 adsl lines that after reading quite a bit i managed to get load balanced now abvoiusly it doesnt load balance evenly and this works on what routes are still in the routing cache. my question is my outbound masquerading had to be modified to use snat in iptables instead of just plain masquerading my outbound masquerading now works but my inbound port forwarding doesnt work would
2004 Sep 08
1
LAPTOP - connected to the internet via ethernet and *wavelan* - problems with the source address
Hello, I have a laptop with two network interfaces: eth0 (LAN) and eth1 (WAVELAN). Now I am looking for a way to route ssh and icpm packages via the wavelan interface and the rest over the LAN interface. My problem is now that every applications binds eth0 interface as default (which results in source addr 192.168.0.2). What I did is using SNAT to change source-address to 192.168.1.2 for packages
2004 Aug 15
1
multi ADSLs links
hi, I''ve a dedicated internet link 512k with a cisco router, and now, I want to upgrade bandwidth with 8 ADSLs (512k each) then: - build kernel 2.4.27 with pachs: - patch-o-matic-ng-20040621 : CONNMARK, H323, etc... - http://www.ssi.bg/~ja/#multigw Julian''s patch. - Activate "equal cost multi path" (Advanced Router-Networking Options) and so on -
2007 Feb 28
2
Problems getting multipath routes to balance
Hi. I''ve trying to balance outgoing traffic by using multipath routes, but I can''t get it to work. Only one of the routes are used. I''m adding the route like this: ip route add table 101 default \ nexthop via X.X.X.X nexthop via Y.Y.Y.Y It shows up the routing table like this: default nexthop via X.X.X.X dev vlan110 weight 1
2006 Jan 30
0
loadbalancing multipath routing frequently freezes udp connections
hi i recently searched in the mailinglist archive and found similar problems, whose solutions helped very much, thank you. i have the following scenario: a firewall with one lan interface eth0 10.1.1.1/24 and two uplink interfaces eth1 10.2.2.1/24 eth2 10.3.3.1/24 each uplink interface does SNAT: iptables -t nat -I POSTROUTING -o eth1 -j SNAT --to-source 10.2.2.1 iptables -t nat -I POSTROUTING
2007 Mar 02
8
DNAT and Load Balancing
Hi all! After that good thread "DGD patch not detecting dead gateway" I was able to set up a Load Balancing with ping based DGD (without Julian Anastasov patch). But now I''m facing a new problem and tried some options, with only partial solutions. I made a script based on http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg16257.html (Thank you Manish Kathuria),
2007 May 05
0
julian''s patches and custom routing
I''m using a 2.6.20-15-ubuntu (shipped with feisty) kernel with Julian''s patches applied and it''s my 3rd day with tc, ip, ifconfig and the rest ;). Got 2 ADSL uplinks. What I need is an ability to manually configure uplink usage, so nothing like bonding by default. Failover is meant to be provided via a shell script at the next step. Here is my config: == # no need for
2005 Jun 20
0
Split access to 2 internet links
-------------------- ---------------------- | SDSL 1 | | SDSL 2 | -------------------- ---------------------- \ / eth1 \ / eth2 \ / *---*---*---*---*---*---* | Linux Router/Server |
2002 Aug 03
0
Iproute + masquerade on 2 ISP with traffic blancing...
Hi, I have a linux-box with 3 eth, 2 of us go into 2 ISP. My localnet is masquerade with this rule: Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination SNAT all -- 10.0.0.0/16 anywhere to:211.56.233.186 SNAT all --
2004 Apr 26
1
Problems balancing two uplink providers
Hi all, I have implemented a solution with a machine balancing the network load between two DSL providers as is explained in the LARTC Howto. It is apparently working correctly, but i have some problems. The problem is basically that some packets go out by each ADSL interface with the source address of the other ADSL interface. I think that the routing based on source address isn''t
2016 Dec 20
0
[ANNOUNCE] nftables 0.7 release
Hi! The Netfilter project proudly presents: nftables 0.7 This release contains many accumulated bug fixes and new features available up to the (upcoming) Linux 4.10-rc1 kernel release. * Facilitate migration from iptables to nftables: At compilation time, you have to pass this option. # ./configure --with-xtables And libxtables needs to be installed in your system. This allows
2007 Mar 13
1
BUG? re-ordering of tos routes in table
It seems like tos should be considered when sorting routes on insertion. Consider this out-of-order route creation: # ip route add 1.1.0.0/24 table 3 nexthop via 192.168.0.23 # ip route add 1.1.0.1/32 table 3 nexthop via 192.168.0.24 # ip route show table 3 1.1.0.1 via 192.168.0.24 dev eth3 1.1.0.0/24 via 192.168.0.23 dev eth3 ok... it''s re-ordered the routes - it makes sense, the