|
lug-bg: routing question
- Subject: lug-bg: routing question
- From: stuckoff@xxxxxxxxxxxx (Stoian Mishev)
- Date: Fri, 9 Mar 2001 16:47:17 +0200
zdrawejte.
tyj kato weroiatno wse nqkoj shte e izpadal w podobna situaciq reshih predi na
predpriema nqkakwi merki da pitam kak e naj-elegantniq wariant da se sparite s
tozi problem:
iame Linux Box kojto trqbwa da izpylnqwa rolqta na Router+Masq s 3 LAN karti i
edna ppp wryzka kym klient po naeta linia.
shtemata izglevda taka:
ISP X.X.X.0/26 --> CISCO (X.X.X.1/26) --> eth0 (X.X.X.5/27)
eth1 (X.X.X.?/27) -->HUB LAN
eth2 (192.168.0.1/24) --> HUB Masq
ppp0 (X.X.X.48/28) --> klient
kak e naj dobre da se naprawi routing tablicata taka che wsichko
da si bachka OK? ideqta e eth0 da se polzwa kato gateway za wsichki ostanali
interface-i. az imam weche nqkakwo wyzmovno reshenie w glawata. to e neshto ot
wida:
ifconfig eth0 X.X.X.5/27
ifconfig eth0 X.X.X.6/27
route add default gw X.X.X.1 eth0 -----> za towa ne sym siguren dali shte stane.
ako nqkoj go e prawil ili ima tochen 100% rabotesht wariant pls. neka go
spodeli s LUG-a :))
10x alot
--
stuckoff
e-mail: stuckoff@xxxxxxxxxxxx
ICQ #: 5079105
GSM: 088/435168
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|