Re: lug-bg: Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-30 Thread Georgi Alexandrov
Kamen TOMOV wrote: On Sat, Jan 29 2005, Nickola Kolev wrote: ... , IP , . ... , . , . . tochno tazi ima, the so called 'flux problem' vij linux-ip.net A mail-list of Linux

lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
, ,.. On Fri, Jan 28 2005, Georgi Genov wrote: . , , . #LAN /sbin/ip link set eth0 up /sbin/ip addr add 192.168.254.1/24 #UPLINK 1 /sbin/ip link set eth1 up /sbin/ip addr add aaa.bbb.ccc.ddd/x #UPLINK 2 /sbin/ip link set eth2 up /sbin/ip addr add

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Georgi Genov
Kamen TOMOV wrote: , ,.. On Fri, Jan 28 2005, Georgi Genov wrote: . , , . #LAN /sbin/ip link set eth0 up /sbin/ip addr add 192.168.254.1/24 #UPLINK 1 /sbin/ip link set eth1 up /sbin/ip addr add aaa.bbb.ccc.ddd/x #UPLINK 2 /sbin/ip link set eth2 up /sbin/ip addr add

lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
On Sat, Jan 29 2005, Georgi Genov wrote: ... , , .. -- Kamen TOMOV A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Georgi Genov
Kamen TOMOV wrote: On Sat, Jan 29 2005, Georgi Genov wrote: ... , , .. , :) /sbin/ip link set eth0 up /sbin/ip addr add 192.168.254.1/24 dev eth0 192.168.254.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 Default Geteway

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Svetulcho
Kamen TOMOV wrote: , ,.. On Fri, Jan 28 2005, Georgi Genov wrote: . , , . #LAN /sbin/ip link set eth0 up /sbin/ip addr add 192.168.254.1/24 #UPLINK 1 /sbin/ip link set eth1 up /sbin/ip addr add aaa.bbb.ccc.ddd/x #UPLINK 2 /sbin/ip link set eth2 up /sbin/ip addr add

lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
On Sat, Jan 29 2005, Georgi Genov wrote: ... /sbin/ip route del 192.168.254.0/24 170, 180 190 main- . . : r2 root # ip rule ls 0: from all lookup local 32764: from 192.168.254.0/25 lookup 230 32765: from 192.168.254.128/25 lookup 231 32766:

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Nickola Kolev
, [ cut ] Zdraveite, moje li i na men da mi obiasnite, zashtoto neshto ne razbriam. ako sled kato si upnesh interface-ite sas syotvetnite ip-ta, prosto napravish taka route add default gw GWAdress i posle: iptables -t nat -A POSTROUTING -s 192.168.254.0/25 -j SNAT --to eth1ip iptables -t

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Dimitar G. Katerinski
Kamen TOMOV wrote: . , . ,, 192.168.254.128/25 192.168.254.1. : , , . , , : #MASQUERADE /usr/sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE , , , ? , , . , /25.,

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Dimitar G. Katerinski
, , , , main . ip ro flush cache, . A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe:

lug-bg: Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
, On Sat, Jan 29 2005, Dimitar G. Katerinski wrote: , , . , , : #MASQUERADE /usr/sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE - :-) , , , ? , , . , /25. , ., , - .

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Svetulcho
Nickola Kolev wrote: , [ cut ] Zdraveite, moje li i na men da mi obiasnite, zashtoto neshto ne razbriam. ako sled kato si upnesh interface-ite sas syotvetnite ip-ta, prosto napravish taka route add default gw GWAdress i posle: iptables -t nat -A POSTROUTING -s 192.168.254.0/25 -j SNAT --to

lug-bg: Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
On Sat, Jan 29 2005, Dimitar G. Katerinski wrote: , , , , main . ip ro flush cache, . flush cache, . -- Kamen TOMOV A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).

lug-bg: Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Kamen TOMOV
On Sat, Jan 29 2005, Nickola Kolev wrote: ... , IP , . ... , . , . . -- Kamen TOMOV A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org

Re: lug-bg: Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-29 Thread Dimitar G. Katerinski
Kamen TOMOV wrote: snip , 1 . , . , . ,: 1.main , . 2. , , . 3., .. 4. ip rule , : ip rule add from 192.168.254.0/25 to NW1/NM1 \ iif eth1 table 180 prio 59 ip rule add from

lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-28 Thread Kamen TOMOV
On Fri, Jan 28 2005, Dimitar G. Katerinski wrote: ... , . , . ,, 192.168.254.128/25 192.168.254.1. : iptables -t nat -A POSTROUTING -s 192.168.254.0/25 -o eth1 -j SNAT --to-source $IPE1 iptables -t nat -A POSTROUTING -s 192.168.254.128/25 -o eth2 -j SNAT

Re: lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-28 Thread Georgi Genov
Kamen TOMOV wrote: On Fri, Jan 28 2005, Dimitar G. Katerinski wrote: ... , . , . ,, 192.168.254.128/25 192.168.254.1. : . . : IP 192.168.128.XXX Netmask 255.255.255.0 GW 192.168.128.1 , . IP-. -- Georgi

lug-bg: Re: lug-bg: Рутиране на две връзки към един гейтуей

2005-01-28 Thread Kamen TOMOV
On Fri, Jan 28 2005, Georgi Genov wrote: . . : IP 192.168.128.XXX Netmask 255.255.255.0 GW 192.168.128.1 , . IP-. , . . , main routing . ,-?! , . -- Kamen A. TOMOV