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
,
,..
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
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
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
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
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
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:
,
[ 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
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.,
, , ,
, 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:
,
On Sat, Jan 29 2005, Dimitar G. Katerinski wrote:
, ,
. , ,
:
#MASQUERADE
/usr/sbin/iptables --table nat --append POSTROUTING --out-interface eth0 -j
MASQUERADE
- :-)
, , , ?
, , .
, /25.
, .,
, - .
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
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).
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
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
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
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
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
18 matches
Mail list logo