[Comm] ÄÏÍÁÛÎÑÑ ÓÅÔØ

Andrei Lomov =?iso-8859-1?q?lomov_=CE=C1_math=2Ensc=2Eru?=
óÒ éÀÎ 16 16:51:36 MSD 2004


óÏÄÅÒÖÁÎÉÅ ÓÏÏÂÝÅÎÉÑ ÏÔ Pavel Tsybulin, 15 éÀÎØ 2004 23:03 :
> On Tue, Jun 15, 2004 at 09:44:38PM +0700, Andrei Lomov wrote:
> > áÄÒÅÓ ÍÁÛÉÎÙ 192.168.1.200
>
> ÍÁÓËÁ ÐÏÄÓÅÔÉ ?
> ÄÁÌØÎÅÊÛÅÅ ÕËÁÚÁÎÏ ÄÌÑ 255.255.255.0
>
> > õ ×ÔÏÒÏÊ ÄÏÍÁÛÎÅÊ ÍÁÛÉÎÙ ÁÄÒÅÓ 10.1.1.2
> > äÏÐÕÓÔÉÍ, ÐÏËÁ ÎÅÔ ÖÅÌÁÎÉÑ ÓÏ ×ÔÏÒÏÊ ÍÁÛÉÎÙ
> > ÈÏÄÉÔØ × ÌÏËÁÌËÕ.
> > þÔÏ ÍÎÅ ÐÒÏÐÉÓÁÔØ ×ÍÅÓÔÏ ×ÏÐÒÏÓÏ×:
>
> ifcfg-eth1:
> DEVICE=eth1
> BOOTPROTO=static
> IPADDR=10.1.1.1
> NETMASK=255.255.255.0
> BROADCAST=10.1.1.255
> NETWORK=10.1.1.0
> ONBOOT=yes
>
> ifcfg-eth0:
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=192.168.1.200
> NETMASK=255.255.255.0
> NETWORK=192.168.1.0
> BROADCAST=192.168.1.255
> ONBOOT=yes
>

1-Ñ ÍÁÛÉÎÁ (Ó Ä×ÕÍÑ ËÁÒÔÏÞËÁÍÉ)
ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.1.1.1
NETMASK=255.255.255.0
NETWORK=10.1.1.0
BROADCAST=10.1.1.255
ONBOOT=yes

ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=dhcp
IPADDR=192.168.*.*
NETMASK=255.255.240.0
NETWORK=192.168.0.0
BROADCAST=192.168.15.255
ONBOOT=yes
=====================

2-Ñ ÍÁÛÉÎÁ (Ó ÏÄÎÏÊ ËÁÒÔÏÞËÏÊ):
ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.1.1.2
NETMASK=255.255.255.0
NETWORK=10.1.1.0
BROADCAST=10.1.1.255
ONBOOT=yes
===================

ðÉÎÇ ÎÅ ÉÄÅÔ.

îÁ ÐÅÒ×ÏÊ ÍÁÛÉÎÅ:
[andrei ÎÁ main andrei]$ ping 10.1.1.2
PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data.
From 10.1.1.1 icmp_seq=1 Destination Host Unreachable
From 10.1.1.1 icmp_seq=2 Destination Host Unreachable
From 10.1.1.1 icmp_seq=3 Destination Host Unreachable

îÁ ×ÔÏÒÏÊ ÍÁÛÉÎÅ:
[andrei ÎÁ small andrei]$ ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
From 10.1.1.2 icmp_seq=1 Destination Host Unreachable
From 10.1.1.2 icmp_seq=2 Destination Host Unreachable
From 10.1.1.2 icmp_seq=3 Destination Host Unreachable



þÔÏ-ÔÏ Ñ ÕÐÕÓÔÉÌ?

-- 
÷ÓÅÇÏ ÄÏÂÒÏÇÏ,

á.ì.


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