Displaying 20 results from an estimated 3000 matches similar to: "some question"
2005 Jul 17
1
routing based on user id
Hi all!
I''ve got 2 (soon 3) internet connection. 1 - via ADSL, 2(and3) via ppp
My network:
http://desima.objectis.net/network-diag
linux1:
user1.user2
eth0=192.168.1.1
ppp0=192.168.5.2( gw 192.168.5.1)
gw=192.168.1.2 ( thru ADSL)
compA=192.168.1.6
compB=192.168.1.15
gw2=192.168.1.217 via ppp to different ISP
All works for compA and CompB,
user1 should use default gw(192.168.1.2)
2005 Nov 23
0
Source based routing, some TCP packets not SNAT-ed
Hello,
I have a problem with the following setup, I hope you can help me.
I have two internet gateways, one for LAN1 and the second for LAN2.
+--------------+
GW1 more eth0| |eth4(SNAT) GW2
---...routers...-----+ router +-----------------
| |
+---+------+---+
eth1|
2006 Feb 06
0
ip rule, fwmark, mangle and src IP
I made a script to test if in a moultiple gateway setup all default
connection are up, regardless of the fact that that gateway is the default
gw.
Suppose adsl1 and adsl2 are present, and all traffic goes by default to
adsl1, and you want to test if adsl2 is ok.
1. I use mangles from iptables to mark icmp packets to some test machines
2. I set up a routing table for each adsl
3. I use
2007 Feb 12
0
Route-map Linux for ssh traffic
Hi guys, I have a question about of route-map with linux, I have two
routers linux, one for Internet Trafic and other for VPN traffic, both
routers have public IP''s address.
Internet with nat VPN with nat
eth0 200.244.10.1 eth0 200.244.10.2
---- ----
2004 Aug 17
0
TCP load balance
Hello, LARTC mailing readers, I hope u can help with this mysterious
issue
i''m having with my linux box acting as a router.
Scenario:
Linux running 2.6.8.1 /w julians patches
Latest iproute (iproute2-ss040702)
4 NICS
-----------------
|
x eth0 (63.43.x.x) network mask (255.255.240.0)
|
|
x eth1 (63.43.x.x)
2004 Aug 18
0
outgoing TCP load balance
Hello, LARTC mailing readers, I hope u can help with this mysterious
issue
i''m having with my linux box acting as a router.
Scenario:
Linux running 2.6.8.1 /w julians patches /w support for multipath routing
Latest iproute (iproute2-ss040702)
4 NICS
-----------------
|
x eth0 (63.43.x.x) network mask (255.255.240.0)
|
|
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
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
2005 Jan 06
0
Wierd traceroute/routing problem
Hello,
I''m having a very strange problem concerning traceroute and routing
and didn''t know if lartc or netfilter would be the correct choice for
asking. (so sorry if my question is misplaced)
I have the following setup:
public ip -- gw1 -- 172.16.0.1 --- 172.16.0.2/and public ip''s --- gw2
--- switch --users (public and private ip addresses; ip-user-pub)
from the
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
2004 Jun 10
1
multiple connections
Hello,
I have an issue with multiple connections to the Internet. I tried
following the steps described in [1] but things are not working
properly. I would like the network setup as follows:
______
| |- ppp0 -- Dynamic IP (PPPoE on eth2)
Internal---- eth0 | GW |
|____|- eth1 -- Static IP -> Static''s GW
From [1], the
2006 Apr 09
3
Conntrack, nat and multipath - what is wrong here?
I have a gentoo 2.6.14 box with 4 nics, LAN/DMZ/PUB1/PUB2
LAN and DMZ have a 1918 /22 each, PUB1 and PUB2 have a /29 each of which 5 ips
are assigned.
Using the mangle table, I give all packets a mark (according to local
policies) in the range 1-10. Using ip rule, i pass marks 1-5 through the pub1
route table, and marks 6-10 through the pub2 routing table. Using the nat
table, I SNAT to one
2004 Feb 23
0
2 isp''s problem
hi,
Im tryig to use two isp links get worked:
first isp 212.122.xx.254 (gw)
second isp 10.10.xx.2 (gw)
my ip1 212.122.xx.90 (eth0)
my ip2 10.10.xx.254 (eth1)
internal network
my ip 192.168.1.254 (eth2)
turn on masquerading on both links:
$IPTABLES -t nat -A POSTROUTING -o eth0 -j SNAT --to 212.122.xx.90
$IPTABLES -t nat -A POSTROUTING -o eth1 -j SNAT --to 10.10.xx.2
mark packets on 6667
2005 Aug 18
1
Two internet lines and squid problem.
I have 2 internet connections and i;m trying to use squid as transparent proxy
but every time squid is using first internet line but i want to use
second internet line .
i have this settings and without squid it''s working
i have default route on the first internet connection.
iptables -t nat -I POSTROUTING -o eth2 -p tcp --dport 80 -s
192.168.0.0/24 -d ! 192.168.0.0/16 -j SNAT --to
2003 Feb 21
0
dgd/iproute/iptables multihoming problem
I am running 2.4.20 with Julian Anastasov''s patches
(routes-2.4.20-9.diff), iptables v1.2.6a, iproute2-ss010824 on Debian.
I have set up our internal gateway to multihome 2 T1''s as described in
http://www.linuxvirtualserver.org/~julian/nano.txt . The only
difference is that I use multiple IP''s on the external interfaces.
EXA A.B.C.225
--------------------
2012 Dec 17
1
seeking a help on if function
Hello r helpers! Below is the whole coding for my programme. Before proceed more further, let me explain for you. First of all, I need to compute trimmed mean. Till that step is ok. Then I need to compute ssdw which is sum of square deviation. If I do equal trimming at both tail of distribution that I chose, I will use the first ssd formulae which is "a". But if I am doing unequal
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
2004 Feb 26
1
ESFQ Modification
Hi!
Some time ago I faced a problem in limiting traffic on host with
multiple uplinks. Since all the stuff worked nice seemed that there
will be no problems. But then I realized that P2P users are smart
enough to bypass limits as sfq doesn''t give fair sharing in this case
(thousands of connections from one user versus few from the other).
I tried IMQ but it''s instability in my
2000 Nov 12
0
scp problems?
Hi. So I have been having problems using scp to copy
files between two of my machines, both of which are running OpenSSH
2.30p1 (though I've had the same problem with previous versions).
It is basically as simple as the file not being transferred after
authentication occurs. I can however use scp to copy files back and
forth from another machine using a SSH Communications version
2006 Feb 04
1
Routing for multiple interfaces (marking ports)
Hello guys,
I am still in doubt about this kind of server. So my question is about
the "prio" at routing tables like:
I have 3 tables in /etc/iproute2/rt_tables:
201 201
202 202
222 222
In table 201 there is the rules about my internet link (frame relay)
that comes into eth0. So I made this route into it:
[root@ns2 iproute2]# ip route show table 201
default via