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

Ivanov Maxim =?iso-8859-1?q?ivanov_=CE=C1_amos=2Eru?=
þÔ íÁÊ 19 12:40:41 MSD 2005


úÄÒÁ×ÓÔ×ÕÊÔÅ, 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 - ÎÅÔ.

÷ ÌÏÇÁÈ - ÐÕÓÔÏ.

÷ÏÐÒÏÓ  ÔÁËÏÊ: ÐÏÞÅÍÕ ×ÓÅ ÔÁË ÐÏÌÕÞÁÅÔÓÑ É ÞÔÏ ÓÄÅÌÁÔØ, ÞÔÏÂÙ ×ÓÅ ÂÙÌÏ
ËÁË ÎÁÄÏ?
îÅÍÎÏÇÏ ÓÕÍÂÕÒÎÏ ÐÏÌÕÞÉÌÏÓØ, ÎÏ Ñ ÞÔÏ-ÔÏ ×ÁÖÎÏÅ ÕÐÕÓËÁÀ...
________________
ó Õ×ÁÖÅÎÉÅÍ,
íÁËÓÉÍ é×ÁÎÏ×

÷ ÌÀÂÏÍ ÉÚ ÎÁÓ ÓÐÉÔ ÇÅÎÉÊ, É Ó ËÁÖÄÙÍ ÄÎÅÍ ×ÓÅ ËÒÅÐÞÅ.




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