From: "Sebastião Antônio Campos (GWA)" <sa.campos@datasulsp.com.br>
To: Netfilter list <netfilter@lists.netfilter.org>
Subject: Two link adsl on the same server
Date: Tue, 10 May 2005 13:32:38 -0300 [thread overview]
Message-ID: <00ee01c5557d$e1979d90$8b00000a@PIVT> (raw)
Hi!
We have two ADSL link on the same server and we'd like to use load balance.
I tried to used, but I didn't have success.
I use on eth1 172.17.1.6 mask 255.255.0.0 my local network;
on eth2 my first ADSL 200.168.1.19 mask 255.255.255.192 default gw 200.204.140.1
on eth4 my first ADSL 200.204.140.10 mask 255.255.255.192 default gw 200.179.1.1
This IP are static.
On my local network I have two servers (E-mail server and one web server) and I need to PREROUTING with DNAT.
And we would like to separate the port 80 and 21 using one link on eth0 and the port 25 and 110 other link eth4 and other ports eth0 or eth4 link.
My files:
My ifcfg-ethx files:
#NIC SIS on board, usando link1 ADSL
DEVICE=eth0
ONBOOT=yes
#BOOTPROTO=dhcp
BOOTPROTO=static
BROADCAST=200.168.1.63
IPADDR=200.168.1.19
NETMASK=255.255.255.192
NETWORK=200.168.1.0
#GATEWAY=200.168.1.1
___________________________________________________________
#Placa Realtek, Uso Local, slot 1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=172.17.1.6
BROADCAST=172.17.255.255
NETMASK=255.255.0.0
NETWORK=172.17.0.0
________________________________________________________
#NIC Realtek, link 2 ADSL
DEVICE=eth4
ONBOOT=yes
BOOTPROTO=static
BROADCAST=200.204.140.63
IPADDR=200.204.140.10
NETMASK=255.255.255.192
NETWORK=200.204.140.0
_________________________________________________
file /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rbz-firewall
#GATEWAY=200.168.1.1
GATEWAY=200.204.140.1
___________________________________________________
file /etc/iproute2/rt_tables
#
# reserved values
#
#255 local
#254 main
#253 default
#0 unspec
#
# local
#
#1 inr.ruhep
Could some one help me??
Thanks
Sebastião Antônio Campos
Infojoi Computadores Ltda
89.224-000 Joinville -SC - R. Iririú, 3587
Cml. (47) 437-0796 - Cel. (47) 9927-5349
tiao@infojoi.com.br
http://www.lupusnet.com.br
next reply other threads:[~2005-05-10 16:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 16:32 Sebastião Antônio Campos (GWA) [this message]
2005-05-10 17:08 ` Two link adsl on the same server ro0ot
2005-05-10 23:58 ` Alexander Samad
2005-05-11 14:46 ` ro0ot
2005-05-11 5:37 ` Sebastião Antônio Campos (GWA)
2005-05-11 7:22 ` Christoph Georgi
2005-05-10 17:30 ` Eduardo Spremolla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00ee01c5557d$e1979d90$8b00000a@PIVT' \
--to=sa.campos@datasulsp.com.br \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox