Routing problem
v13 at priest.com
v13 at priest.com
Thu Nov 29 19:24:27 EET 2001
On Thursday 29 November 2001 11:56, Mihalis Tsoukalos wrote:
> Το 10.10.10.2 είναι η IP για το ένα serial Interface ενός CISCO.
> Η x.y.z.1 είναι η IP για την ethernet του CISCO.
> routable IP είναι μια ip που μπορεί να βγει στο Internet.
>
> Το δίκτυο είναι κάπως έτσι
> 192.168.1/24 - linux box - CISCO - leased line - CISCO - 192.168.20/24
>
> Το Linux box (elephant) είναι router (και προφανώς υπάρχει το echo 1 >
> /proc/sys/net/ipv4/ip_forward)
Edo prepei na kaneis ta eksis:
1) oi 192.168.1.xx na exoyn san default gateway to interface toy linux sto
diktyo ayto
2) to linuxaki na exei san default gateway to interface toy CISCO A (ayton
sto diktio toy) kai energopoiimeno to ip forwarding
3) o CISCO A na exei static route gia 192.168.1/24, me gateway to linux box
episis o CISCO A na exei default gateway to interface toy CISCO B (ton
deksio), me to opoio einai syndemenos (ypotheto oti einai PPP).
Enalaktika arkei, o CISCO A na exei static route gia 192.168.20/24 meso
toy PPP interface toy CISCO B
4) o CISCO B na exei default gateway to PPP interface toy CISCO A (h
enalaktika static route gia to 192.168.1/24 meso toy PPP interface toy
CISCO A *KAI* antistoixo static route gia to dyktio, me to opoio
syndeontai to linux me ton CISCO A)
5) oi 192.168.20.xx na exoyn default gateway to interface toy CISCO B sto
diktyo toys
me liga logia, prepei na ksero o kathenas (apo) poy tha epikinonisei me ayton
poy thelei. Enalaktika mporeis na xrisimopoiiseis kapoio routing protokolo
alla that's another story
> Μιχάλης.
<<V13>>
More information about the Linux-greek-users
mailing list