|
lug-bg: routing m/u dve mreji
- Subject: lug-bg: routing m/u dve mreji
- From: martin_petkov@email.domain.hidden (martin petkov)
- Date: Wed, 16 Apr 2003 15:36:59 -0700 (PDT)
zdraveite
imam dve mreji s adresi 10.0.1.0/24 i
192.168.1.0/21.M/u
tiah sym slojil router s dva interface-a. problemyt e
che ne
moga ot ednata mreja da pingvam hostove ot drugata.
Pravia
konfiguraciata po slednia nachin: na eth0 imam adres
10.0.1.0, a na eth1 192.168.1.1
Sled tova pravia
route add -net 10.0.1.0/24 eth0
i syotvetno route add -net 192.168.1.0/21 eth1
echo 1 > /proc/sys/net/ipv4/ip_forward
routing tablicata mi izglejda po slednia nachin
Kernel IP routing table
Destination Gateway Genmask Flags
Metric
Ref Use Iface
10.0.1.0 0.0.0.0 255.255.255.0 U 0
0
0
192.168.1.0 0.0.0.0 255.255.248.0 U 0
0
0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U
0
0 0 lo
<p>Predvaritelno vi blagodaria.
__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|