[Comm] ðÒÏÂÌÅÍÁ ÓÅÔÉ (eth0 & eth1)

Andriy Dobrovol's'kii =?iso-8859-1?q?dobr_=CE=C1_iop=2Ekiev=2Eua?=
þÔ íÁÊ 19 14:19:16 MSD 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ivanov Maxim wrote:
| úÄÒÁ×ÓÔ×ÕÊÔÅ, community.
|
| ôÁËÁÑ ÏÞÅÎØ ÓÔÒÁÎÎÁÑ ÐÒÏÂÌÅÍÁ. íÁÓÔÅÒ 2.4, Ä×Á ÓÅÔÅ×ÙÈ ÉÎÔÅÒÆÅÊÓÁ.
| eth0 172.19.X.X/24
| eth1 192.168.0.0/24
| default GW 172.19.X.X
|
| route
| 172.19.X.X  255.255.255.0 eth0
| 192.168.0.0 255.255.255.0 eth1
| 127.0.0.0   255.0.0.0     lo
| default     172.19.X.X    eth0
|
| /etc/sysconfig/network
| NETWOKING=yes
| FORWARD_IPV4=yes
| HOSTNAME=server
| DOMAINNAME=firma.ru
| GATEWAY=172.19.X.X
| GATEWAYDEV=eth0
|
| ÷ /etc/sysctrl.conf
|
| ðÁÒÁÍÅÔÒ net.ipv4.ip_forward = 1
|
| ó  ÓÁÍÏÊ ÍÁÛÉÎÙ ÉÎÅÔ ÐÉÎÇÕÅÔÓÑ, bind ÒÁÂÏÔÁÅÔ (ÁÄÒÅÓÁ ÒÅÚÏÌ×ÑÔÓÑ), ×ÓÅ
| ÓÌÁ×ÎÏ.  ÷ÎÕÔÒÅÎÎÑÑ  ÓÅÔØ  ÎÅ  ×ÉÄÎÁ  ÷ïïâýå. ô.Å. ÎÅ ÐÉÎÇÕÅÔÓÑ ÎÉÞÅÇÏ
| ËÒÏÍÅ ÓÁÍÏÇÏ ÉÎÔÅÒÆÅÊÓÁ eth1.
| ó  ËÁËÏÇÏ-ÔÏ  ÐÅÒÅÐÕÇÁ  × ÆÁÊÌÅ /etc/sysconfig/network ÐÏÍÅÎÑÌ eth0 ÎÁ
| eth1. ÷ÎÕÔÒÅÎÎÑÑ ÓÅÔØ ÚÁÒÁÂÏÔÁÌÁ, ÉÎÔÅÒÎÅÔ - ÔÏÖÅ ÐÒÏÄÏÌÖÉÌ ÒÁÂÏÔÕ.
| ïÄÎÁËÏ  ÉÚ ×ÎÕÔÒÅÎÎÅÊ ÓÅÔÉ ÄÏÓÔÕÐÁ ÎÁÒÕÖÕ ÎÅÔ, ÏÎÏ É ÐÏÎÑÔÎÏ - ÛÌÀÚ ÎÅ
| ÎÁ  ÔÏÍ  ÉÎÔÅÒÆÅÊÓÅ. ó ÓÁÍÏÇÏ ÓÅÒ×ÅÒÁ ÚÁÐÕÓËÁÀ links - ÄÏÓÔÕÐÁ ÐÏ http
| ÎÅÔ. ó ËÌÉÅÎÔÓËÉÈ ÍÁÛÉÎ - ÄÏÓÔÕÐÁ ÞÅÒÅÚ squid - ÎÅÔ.
|
| ÷ ÌÏÇÁÈ - ÐÕÓÔÏ.
|
| ÷ÏÐÒÏÓ  ÔÁËÏÊ: ÐÏÞÅÍÕ ×ÓÅ ÔÁË ÐÏÌÕÞÁÅÔÓÑ É ÞÔÏ ÓÄÅÌÁÔØ, ÞÔÏÂÙ ×ÓÅ ÂÙÌÏ
| ËÁË ÎÁÄÏ?
| îÅÍÎÏÇÏ ÓÕÍÂÕÒÎÏ ÐÏÌÕÞÉÌÏÓØ, ÎÏ Ñ ÞÔÏ-ÔÏ ×ÁÖÎÏÅ ÕÐÕÓËÁÀ...
÷ ËÁËÉÈ ÌÏÇÁÈ? ÷Ù ÎÅ ÐÏËÁÚÁÌÉ ×Ù×ÏÄ
ip l l
ip a l
ip r l
× ÏÂÏÉÈ ÓÉÔÕÁÃÉÑÈ. é ÎÉ ÓÌÏ×Á ÎÅ ÓËÁÚÁÌÉ ÐÒÏ ÓÏÓÔÏÑÎÉÅ ÓÅÔÅ×ÏÇÏ ÜËÒÁÎÁ.

- --
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCjGgjYy1tb7+AynYRAil8AKCzMyGXhjnl4MVnfwlhTRCkU06OJQCeIHhc
LjuHuZYYayxNF1jJkGGcHj4=
=URpd
-----END PGP SIGNATURE-----



ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community