From: Robert Felber <r.felber@ek-muc.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] nano howto
Date: Mon, 25 Aug 2003 20:25:37 +0000 [thread overview]
Message-ID: <marc-lartc-106184329718119@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106183621310109@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 2336 bytes --]
On Mo, 2003-08-25 at 20.26 Andres Gregori wrote:
> Hello.
Hi,
> I've read the excellent "nano-howto" about how to
> connect a LAN with two ISP connections.
>
> http://www.ssi.bg/~ja/nano.txt
okay.
> 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 assume you are using pppoe, if i recall correctly,
you can grep the gateway address off the 'ifconfig <device>' output.
> 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 !
>
IPE/NME is supposed to be the external ip 1 and its netmask.
Since you are a single host, you can skip the NM part.
if you don't want to skip, use either /255.255.255.255 the old way,
or /32 the new way.
NWE is supposed to be you externernal IP-Range/Network, you don't have
one.
>
> 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
see above.
> Thank you very much for your help !!! (TIA)
>
> Best regards,
>
> Andres.
greets, rob
--
| Robert Felber (System-Administrator) Tel: +49 (0) 89 / 453 12-86 |
| Autohaus Erich Kuttendreier Fax: +49 (0) 89 / 453 12-80 |
| Drosselweg 21 ICQ: 170059451 |
| 81827 Muenchen Web: http://robtone.mine.nu |
| PGP: 896CF30B |
| PGP-Fingerprint: CF36 AA93 9716 63E8 962F 15CC A80E 1A79 BF77 25EA |
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 187 bytes --]
next prev parent reply other threads:[~2003-08-25 20:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-25 18:26 [LARTC] nano howto Andres Gregori
2003-08-25 20:25 ` Robert Felber [this message]
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-106184329718119@msgid-missing \
--to=r.felber@ek-muc.de \
--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.