Displaying 20 results from an estimated 3000 matches similar to: "bridge connection and two linux servers"
2020 Jul 23
5
Off Topic bash question
I have a simple script:
#!/bin/bash
#
index=0
total=0
names=()
ip=()
while read -r LINE
do
NODENAME=` echo $LINE | cut -f 1 -d ','`
IP=` echo $LINE | cut -f 2 -d ','`
names[index]="$NODENAME"
ip[index]="$IP"
index=`expr index+1`
total=`expr total+1`
done <<< $(cat list.txt)
simple file:
more list.txt
name1,ip1
name2,ip2
name3,ip3
output when
2006 Dec 24
1
Question regarding Split Access description
Hi All,
I''m a big user of the LARTC document but am currently stuck with a question
around section 4.2 (http://lartc.org/howto/lartc.rpdb.multiple-links.html)
in relation to "Routing for multiple uplinks/providers".
I''m wanting to do a similar setup to the diagram where I have - lets just
say for the moment - two uplink providers where I want to route over two
2004 Feb 06
1
ipfw question
Dear All.
I want to use 'not' for 2 addresses (for both) in ipfw2 rule.
The only way that looks like what I need is
# ipfw add count from IP1 to not IP2,IP3
But does this rule indeed makes what I want? Does it count all
packets destined to addresses other then IP2 AND IP3?!
No other syntax works.
For example more logically correct
not IP2 AND not IP3
or even
not { IP2 or IP3 }
are
2005 Jun 11
1
problem with ip route and multiple lans
Hi, I have a little problem to setup iproute in my network
It looks like this:
---- ----- ------
R1 R2 R3
---- ----- ------
| | |
| | |
-------------------------------
ETH1 ETH2 ETH3
ETH0 ETH4 -------------> DMZ
------------------------------
|
|
2009 Dec 04
2
hey please help me my 3rd email of how to change From fileld username in sip packet
hy
Hope everyone is fine, I have one issue coming in asterisk , What i am doing
is i am generating a callback if some one calls at a specif access number on
asterisk,
Asterisk sends a busy signal to the calling party that he received a request
from party and then sends the call back to the person from where asterisk
received a request but in From field as you can see below astrisk is sending
the
2007 Jan 19
2
2.6.17 kernels and equalize patch
Hi
Everybody in the list
I have a situation like this
------ (IP1)
linux |----eth0.40------ |
router | | |
box | (IP2) |------|Client Router ( Destiantion Net DNET)
|----eth0.41------ | | /27 subnet
------
I just want to balance the load of bandwidth per packet based between the
two vlan interfaces to Client Destination network
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 Mar 26
1
vpn multihoming
Hello all,
I have a linux router with 2 interfaces(eth0 - ISP and
eth1 - LAN). I''ve established a VPN
connection(openvpn) over eth0 with a friend of mine =>
tun0 interface.
I want half of my LAN to have Internet access through
the eth0 interface and the other half through the tun0
interface.
I''ve set up a script like the "load balancing split
access" instructions
2006 Jun 09
5
Redirect Host to Host
Hello
I have a PC with 2 IPs publics IP1 in eth0 and IP2 in eth0:0
I want to do a redirection of IP2 to an other public IP IP3 in an other
laptop (other network)
- for all ports : IP2 ---> IP3
- for juste www : IP2:www --> IP3:www
i tried many combination with shorewall-3.0.7-4, but no sucess
no help from google,
Thanks in advance
Laurent
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 :
2006 Jan 05
5
multiple links and nat
Hi, this might be a dumb question, but I''m not finding much
information online.
I''m trying to setup a 2.6 linux box to run nat across multiple
upstream links as a simple way to aggregate bandwidth. I found the
instructions in lartc section 4.2
(http://lartc.org/howto/lartc.rpdb.multiple-links.html) fairly clear
and straightforward. I implemented those, and a couple of trivial
2004 Jul 26
1
Load Balancing
Hi.
I´m making an script for load balancing of two
cablemodems internet connections toward my LAN.
The problem is that when I try to ''equalize'' the
the two internet connections with the weight=1 it
doesn´t work. On the other hand, if I put 5 and 5
it works, but not at 100%, it does intermittlently,
some times works and others don´t.
example:
ip route add default equalize\
2013 Nov 15
2
2 routes & 1 destinations
Hi,
At office, we have I ISPs.
I want to lightly monitor each link latency in order to decide several
routing.
For that, I have only one external server: 1 IP, it's an OVH dedicated
server.
The quick picture is http://s24.postimg.org/n3436z64l/defaul_route.png
Default route is via ISP1.
If OVH-server pings IP1:
- the request will go through ISP1: it's OK
- the reply will go through
2009 Oct 28
2
combining iptables parameters
Hi all,
is there a way to combine iptables parameters like: iptables -A OUTPUT
-p UDP & -p TCP -d $IP1 & -d $IP2 ?
Best Regards
Marcus
2004 Aug 19
6
Re: Two Links and DNAT
----- Original Message -----
From: "Jerry Vonau" <jvonau@shaw.ca>
To: "Mailing List for Shorewall Users" <shorewall-users@lists.shorewall.net>
Sent: Thursday, August 19, 2004 08:06
Subject: Re: [Shorewall-users] Two Links and DNAT
>
>
> > Btw, by "shorewall show nat" I just noticed that I was doing snat only
> > for packets comming
2013 Jan 23
1
Multiple default gateways. Unable to ping other hosts.
Hello everyone,
?? I'm new to TINC. Today, I've started using it, and now I've a network on around 9 dedicated servers and 15+ VPS
?? into a single VPN. I switched from OpenVPN.
? ?
?? But, I've a problem adding another node to the VPN.
? ?
?? Basically this node is a VPS with two IPs, on a single eth0, with eth0 -> IP1, eth0:1 -> IP2. IP1 and IP2 are on
?? different
2003 Oct 08
2
Shaping services and users (2nd time)
Hello,
I am making a HTB script for a few people and I wanted to ask a question.
Now I have a nice script with this hierarchy of classes.
root(128/128)
+---WWW(32/128)
+---Default(32/128)
+---P2P(1/64) #P2P Programs like DC and Kazza
+---....
How should I implement limiting the speed of some users (by IP addresses)?
I had an idea, but it looks too compicated. What do you think?
2005 Jul 09
1
Problems with iproute2
I''m using Debian (sarge)
I do now have 2 ISP, one DSL and one cabel.
I want to use the DSL as my primary and only use the cabel-modem if the DSL
fails.
The setup is:
IP1 -> Router -> NAT_IP1 -> eth0 -> eth2 (LAN)
IP2 -> Cable-Modem -> eth1 -> eth2 (LAN)
I wrote the following in my /etc/iproute2/rt_tables
ip rule add from NAT_IP1 lookup 1
ip route add
2013 Sep 30
4
strange problem
Hi,
In log I get:
-----------------------------------------------------------
Sep 30 16:19:03 host kernel: Shorewall:FORWARD:REJECT:IN=eth0 OUT=eth0 SRC=ip1 DST=ip2 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=27279 DF PROTO=TCP SPT=51501 DPT=25 WINDOW=8192 RES=0x00 SYN URGP=0
----------------------------------------------------------
Even in /etc/shorewall/rules I have
2007 Jan 05
4
Load Balancing Problems
Hi,
I have a router that got its second link. I was trying to do load
balancing, but i can not get it to work properly.
Just one link works at time, and is always the second in the command ip
route add default table 222 proto static.
Am I missing something? My script is below. I am using Debian, tried
with kernel 2.6.19 (my compilation) or debian''s one (2.6.18-3-486),
same results