[Comm] ÄÏÍÁÛÎÑÑ ÓÅÔØ
Andrei Lomov
=?iso-8859-1?q?lomov_=CE=C1_math=2Ensc=2Eru?=
þÔ éÀÎ 17 19:14:04 MSD 2004
óÏÄÅÒÖÁÎÉÅ ÓÏÏÂÝÅÎÉÑ ÏÔ Pavel Tsybulin, 17 éÀÎØ 2004 00:16 :
>
> ëÁÂÅÌØ ÒÁÂÏÞÉÊ ?
äÏ ×ËÌÀÞÅÎÉÑ ×ÔÏÒÏÊ ËÁÒÔÙ eth1
É ÐÏÄËÌÀÞÅÎÉÑ Ë ×ÎÅÛÎÅÊ ÓÅÔÉ Ó×ÑÚØ ÍÅÖÄÕ ÍÁÛÉÎÁÍÉ ÐÏ eth0
ÒÁÂÏÔÁÌÁ ÎÏÒÍÁÌØÎÏ.
> îÁ ÍÁÛÉÎÅ Ó Ä×ÕÍÑ ËÁÒÔÏÞËÁÍÉ ËÁÒÔÁ ÎÁ ×ÎÅÛÎÀÀ ÓÅÔØ ÒÁÂÏÔÁÅÔ ?
óÏ ×ÎÅÛÎÅÊ ÓÅÔØÀ ÐÏ eth1 ×ÓÅ ÒÁÂÏÔÁÅÔ ÎÏÒÍÁÌØÎÏ
> ÆÁÊÅÒ×ÏÌ ÎÅ ÕÓÔÁÎÏ×ÌÅÎ ? (service iptables stop)
[root ÎÁ main log]# /sbin/service iptables restart
service: iptables: Unrecognized service
> ÷Ù×ÏÄ ifconfig ÎÁ ÏÂÅÉÈ ÍÁÛÉÎÁÈ ÐÏËÁÖÉÔÅ.
[andrei ÎÁ main andrei]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:5D:81:2D:66
inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)
Interrupt:11 Base address:0xc400
eth1 Link encap:Ethernet HWaddr 4C:00:10:71:D9:61
inet addr:192.168.3.126 Bcast:192.168.15.255 Mask:255.255.240.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113416 errors:0 dropped:0 overruns:0 frame:0
TX packets:1394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8666426 (8.2 Mb) TX bytes:944733 (922.5 Kb)
Interrupt:10 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3093 (3.0 Kb) TX bytes:3093 (3.0 Kb)
[andrei ÎÁ small andrei]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:5D:81:2D:65
inet addr:10.1.1.2 Bcast:10.1.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:252 (252.0 b)
Interrupt:11 Base address:0xc800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:448 (448.0 b) TX bytes:448 (448.0 b)
> ÄÌÑ ÇÁÒÁÎÔÉÉ ÍÏÖÎÏ ÐÏÓÌÕÛÁÔØ ÌÏËÁÌØÎÙÊ ÓÅÇÍÅÎÔ :
> tcpdump -i eth0
[andrei ÎÁ main mnt]$ /sbin/tcpdump -i eth0
bash: /sbin/tcpdump: No such file or directory
[andrei ÎÁ main mnt]$ locate tcpdump
[andrei ÎÁ main mnt]$
þÔÏ-ÔÏ ÎÅ ÓÔÁÎÏ×ÌÅÎÏ?
--
÷ÓÅÇÏ ÄÏÂÒÏÇÏ,
á.ì.
ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community