From: "Andres Gregori" <gregoriandres@yahoo.com.ar>
To: lartc@vger.kernel.org
Subject: [LARTC] nano howto
Date: Mon, 25 Aug 2003 18:26:25 +0000 [thread overview]
Message-ID: <marc-lartc-106183621310109@msgid-missing> (raw)
Hello.
I've read the excellent "nano-howto" about how to
connect a LAN with two ISP connections.
http://www.ssi.bg/~ja/nano.txt
I need to connect a LAN to two ADSLs connections,
with roaring-penguin client. (
eth0-->connected to ADSL #1
eth1-->connected to ADSL #2
eth2-->connected to my lan
I've readed and understood the how to, but what
happen when your ISP provide you a dynamic IP,
instead a fixed IP, as default gateway ?
(I must use MASQUERADE in order to provide internet
access to LAN hosts).
In how-to, several times refer to IFE1, IFE2,
of course these are my eth0 and eth1 connections,
but when you refer to IPE1 and IPE2, I don't know
what must I put on this part on your script:
ip link set eth0 up
ip addr flush dev eth0
ip addr add IPE1/NME1 brd BRD1 dev eth0 # HERE !
ip link set eth1 up
ip addr flush dev eth1
ip addr add IPE2/NME2 brd BRD2 dev eth1 # HERE !
In others words, since ISP provide me a IPE1 and IPE2,
how
must I to complete # HERE lines ?
I suppose that roaring penguin, could put it.
------
In other part of script, it refer to tables 201 and
202.
In this tables you use that IPs (that provide me the
ISP),
to set up next rules:
ip rule add prio 201 from NWE1/NME1 table 201
ip route add default via GWE1 dev eth0 src IPE1 proto
static table 201
ip route append prohibit default table 201 metric 1
proto static
ip rule add prio 202 from NWE2/NME2 table 202
ip route add default via GWE2 dev eth0 src IPE2 proto
static table 202
ip route append prohibit default table 202 metric 1
proto static
What I must put on NWE1/NME1 IPE1, and NWE2/NME2 IPE2
??
Thank you very much for your help !!! (TIA)
Best regards,
Andres.
------------
Internet GRATIS es Yahoo! Conexión
4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
Más ciudades: http://conexion.yahoo.com.ar
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-08-25 18:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 18:26 Andres Gregori [this message]
2003-08-25 20:25 ` [LARTC] nano howto Robert Felber
2003-08-26 2:16 ` gypsy
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=marc-lartc-106183621310109@msgid-missing \
--to=gregoriandres@yahoo.com.ar \
--cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.