ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] настройка сети
Date: Thu Mar 28 22:31:01 2002
Message-ID: <3CA36FC8.4FEB03AB@altlinux.ru> (raw)
In-Reply-To: <39487469.20020328192108@pochta.ws>

Kurt wrote:
> 
> Доброго дня!
> 
> >>   Сетевой адрес              Маска       Адрес шлюза       Интерфейс
> >> Метрика
> >> 127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1
> >> 1 192.168.0.0    255.255.255.0      192.168.0.1      192.168.0.1       1
> >> 192.168.0.1  255.255.255.255        127.0.0.1        127.0.0.1       1
> >> 192.168.0.255  255.255.255.255      192.168.0.1      192.168.0.1       1
> >> 224.0.0.0        224.0.0.0      192.168.0.1      192.168.0.1       1
> >> 255.255.255.255  255.255.255.255      192.168.0.1          0.0.0.0       1
> 
> >> Говорит такой команды нет. Или как ее вводить надо?
> Vitaly> Если не под рутом, то /sbin/ifconfig
> 
> Я не знал, а под рутом я уже боюсь лишний раз заходить:)
> 
> ifconfig
> --
> eth0      Link encap:Ethernet  HWaddr 00:50:BF:67:E7:E5
>           inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:5820 (5.6 Kb)
>           Interrupt:11 Base address:0xf000
> 
> 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:82 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:5036 (4.9 Kb)  TX bytes:5036 (4.9 Kb)
> -----
> route -n
> --
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
> ----
> Michael> Опять же -- что с arp -a ?
> Из под линукса:
> --
> ? (192.168.0.1) at <incomplete> on eth0
> 
> Из под виды:
> --
> Не найдены записи в таблице ARP
> 
> Из под винды когда соединена с другой виндой:
> --
> Интерфейс: 192.168.0.1 on Interface 0x2000003
> 
>   Адрес IP              Физический адрес      Тип
>   192.168.0.2           00-50-bf-67-e7-e5     динамический
> 
> ---
> service network status
> --
> Configured devices:
> lo eth0
> Devices that are down:
> 
> Devices with modified configuration:
> ------
> cat /etc/sysconfig/network
> --
> NETWORKING=yes
> FORWARD_IPV4=true
> HOSTNAME="kurt"
> GATEWAY=192.168.0.1
> -----
> 
> cat /etc/sysconfig/network-scripts/ifcfg-eth0
> --
> DEVICE="eth0"
> BOOTPROTO="none"
> IPADDR="192.168.0.2"
> NETMASK="255.255.255.0"
> NETWORK=192.168.0.0
> BROADCAST=192.168.0.255
> ONBOOT="yes"
> IPXNETNUM_802_2=""
> IPXPRIMARY_802_2="no"
> IPXACTIVE_802_2="no"
> IPXNETNUM_802_3=""
> IPXPRIMARY_802_3="no"
> IPXACTIVE_802_3="no"
> IPXNETNUM_ETHERII=""
> IPXPRIMARY_ETHERII="no"
> IPXACTIVE_ETHERII="no"
> IPXNETNUM_SNAP=""
> IPXPRIMARY_SNAP="no"
> IPXACTIVE_SNAP="no"
> -----
> lsmod
> --
> lsmodModule                  Size  Used by
> parport_pc             23568   1  (autoclean)
> lp                      5728   0  (autoclean)
> parport                22688   1  (autoclean) [parport_pc lp]
> autofs4                 8000   1  (autoclean)
> 8139too                12128   1  (autoclean)
> sb                      7456   0
> sb_lib                 32016   0  [sb]
> uart401                 6064   0  [sb_lib]
> sound                  53392   0  [sb_lib uart401]
> soundcore               3440   5  [sb_lib sound]
> floppy                 45936   0  (autoclean)
> serial                 44464   0  (autoclean)
> isa-pnp                27120   0  (autoclean) [sb serial]
> usb-uhci               20624   0  (unused)
> usbcore                47984   1  [usb-uhci]
> ipt_MASQUERADE          1200   1  (autoclean)
> iptable_nat            13168   0  (autoclean) [ipt_MASQUERADE]
> iptable_filter          1648   0  (autoclean) (unused)
> ip_tables              10592   5  [ipt_MASQUERADE iptable_nat iptable_filter]
> ip_conntrack_irc        2576   0  (unused)
> ip_conntrack_ftp        3280   0  (unused)
> ip_conntrack           13136   3  [ipt_MASQUERADE iptable_nat ip_conntrack_irc ip_conntrack_ftp]
> nls_koi8-r              3824   4  (autoclean)
> nls_cp866               3808   4  (autoclean)
> vfat                    9360   4  (autoclean)
> fat                    29600   0  (autoclean) [vfat]
> apm                     9056   2
> agpgart                26304   0  (unused)
> rtc                     5632   0  (autoclean)
> -----
> lspci -v
> --
> 00:00.0 Host bridge: Intel Corporation 440LX/EX - 82443LX/EX Host bridge (rev 03)
>         Flags: bus master, medium devsel, latency 64
>         Memory at e4000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: [a0] AGP version 1.0
> 
> 00:01.0 PCI bridge: Intel Corporation 440LX/EX - 82443LX/EX AGP bridge (rev 03) (prog-if 00 [Normal decode])
>         Flags: bus master, 66Mhz, medium devsel, latency 64
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
>         I/O behind bridge: 0000d000-0000dfff
>         Memory behind bridge: e0800000-e16fffff
>         Prefetchable memory behind bridge: e2f00000-e3ffffff
> 
> 00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
>         Flags: bus master, medium devsel, latency 0
> 
> 00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
>         Flags: bus master, medium devsel, latency 32
>         I/O ports at b800 [size=16]
> 
> 00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
>         Flags: bus master, medium devsel, latency 32, IRQ 10
>         I/O ports at b400 [size=32]
> 
> 00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
>         Flags: medium devsel, IRQ 9
> 
> 00:09.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 11)
>         Subsystem: Avermedia Technologies Inc: Unknown device 0003
>         Flags: bus master, medium devsel, latency 32, IRQ 10
>         Memory at e2000000 (32-bit, prefetchable) [size=4K]
>         Capabilities: [44] Vital Product Data
>         Capabilities: [4c] Power Management version 2
> 
> 00:09.1 Multimedia controller: Brooktree Corporation Bt878 (rev 11)
>         Subsystem: Avermedia Technologies Inc: Unknown device 0003
>         Flags: bus master, medium devsel, latency 32, IRQ 10
>         Memory at e1800000 (32-bit, prefetchable) [size=4K]
>         Capabilities: [44] Vital Product Data
>         Capabilities: [4c] Power Management version 2
> 
> 00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)
>         Subsystem: Realtek Semiconductor Co., Ltd. RT8139
>         Flags: bus master, medium devsel, latency 32, IRQ 11
>         I/O ports at b000 [size=256]
>         Memory at e0000000 (32-bit, non-prefetchable) [size=256]
>         Expansion ROM at <unassigned> [disabled] [size=64K]
>         Capabilities: [50] Power Management version 2
> 
> 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c) (prog-if 00 [VGA])
>         Subsystem: ATI Technologies Inc 3D Rage Pro AGP 1X/2X
>         Flags: bus master, VGA palette snoop, stepping, medium devsel, latency 64
>         Memory at e3000000 (32-bit, prefetchable) [size=16M]
>         I/O ports at d800 [size=256]
>         Memory at e0800000 (32-bit, non-prefetchable) [size=4K]
>         Expansion ROM at e2fe0000 [disabled] [size=128K]
>         Capabilities: [50] AGP version 1.0
> 
> ---------------------
> 
> ping 192.168.0.1
> PING 192.168.0.1 (192.168.0.1) from 192.168.0.2 : 56(84) bytes of data.
> WARNING: kernel is not very fresh, upgrade is recommended.
> From 192.168.0.2: icmp_seq=3 Destination Host Unreachable
> From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
> 
> >И для компании
> cat /proc/interrupts
> 
>            CPU0
>   0:      45990          XT-PIC  timer
>   1:       1409          XT-PIC  keyboard
>   2:          0          XT-PIC  cascade
>   5:       5142          XT-PIC  soundblaster
>   7:          2          XT-PIC  parport0
>   8:          1          XT-PIC  rtc
>  10:          4          XT-PIC  usb-uhci, bttv
>  11:        351          XT-PIC  eth0
>  12:      21995          XT-PIC  PS/2 Mouse
>  14:      14703          XT-PIC  ide0
> NMI:          0
> ERR:          0

Так, ни одной патологии я не обнаружил. Все очень читенько и
акуратненько.
Причем пакеты явно уходят, но ни один из них не возвращается...

Черт, очень похоже, что Вы включили фаерволл с полным запретом на
все пакеты!

Плиз, Kurt, от root'а, дайте вывод команды:
ipchains -L -v
а если ее нет или еще чего то, то попробуйте команду:
iptables -L -v
Для окончательного диагноза будет достаточно увидеть вывод хотя
бы одной из этих команд.

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



  parent reply	other threads:[~2002-03-28 22:31 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-26 23:53 Kurt
2002-03-27  0:22 ` Vitaly Lipatov
2002-03-27  0:53   ` cornet
2002-03-27  1:07     ` Dmitry Levashov
2002-03-27  1:51       ` [mdk-re] " cornet
2002-03-27  2:06         ` Dmitry Levashov
2002-03-27 11:20           ` [mdk-re] Re: [mdk-re] ÎÁÓÔÒÏÊËÁ ÓÅÔÉ TDH
2002-03-27  1:54       ` [mdk-re] Re[2]: [mdk-re] настройка сети [JT] Oleg Lukashin
2002-03-27  2:08         ` Dmitry Levashov
2002-03-27 10:53         ` Ilia Menchikh
2002-03-27 10:59           ` [mdk-re] Re[2]: " Tihonov Vladimir
2002-03-27 11:01           ` Tihonov Vladimir
2002-03-27 11:45           ` Sergey Krivulja
2002-03-27 13:07             ` [mdk-re] " Peter V. Saveliev
2002-03-27 13:21               ` [mdk-re] " Tihonov Vladimir
2002-03-28 11:38                 ` [mdk-re] " Vladimir Karpinsky
2002-03-27 14:05               ` Antonio
2002-03-27 17:23           ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] " Oleg Lukashin
2002-03-27 17:35             ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] íàñòðîéêà ñåòè [JT] Evgeniy Kobzev
2002-03-27 17:48               ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] настройка сети [JT] Andriy Dobrovol's'kii
2002-03-27 17:49               ` [mdk-re] Re[2]: " Oleg Lukashin
2002-03-28  0:49                 ` [mdk-re] " Michael Shigorin
2002-03-27 19:29           ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] " Maksim Otstavnov
2002-03-27 10:49       ` [mdk-re] Re: настройка сети Michael Shigorin
2002-03-27 10:49 ` Michael Shigorin
2002-03-27 23:25   ` [mdk-re] " Kurt
2002-03-28  0:12     ` Vitaly Lipatov
2002-03-28 19:37       ` [mdk-re] " Kurt
2002-03-28 20:15         ` Vitaly Lipatov
2002-03-28 22:31         ` cornet [this message]
2002-03-28 23:19           ` [mdk-re] Re[2]: " Kurt
2002-03-28 23:21             ` Kurt
2002-03-29  0:32             ` cornet
2002-03-29  1:12               ` Kurt
2002-03-29  2:33                 ` cornet
2002-03-29  8:24                   ` Vitaly Lipatov
2002-03-29  1:52               ` Kurt
2002-03-29  2:33                 ` cornet
2002-03-31 11:35                   ` Kurt
2002-03-31 20:13                       ` [mdk-re] Re: [mdk-re] " Kurt
2002-03-31 20:46                         ` [mdk-re] " Smont
2002-03-31 23:02                     ` cornet
2002-04-01 23:37                       ` [mdk-re] Re[2]: " Kurt
2002-04-02  0:29                         ` [mdk-re] " Michael Shigorin
2002-04-02 12:13                         ` [mdk-re] Re[2]: [mdk-re] " cornet
2002-04-02 15:16                           ` [mdk-re] " Smont
2002-03-28 22:54         ` [mdk-re] " Michael Shigorin
2002-03-28  0:18     ` cornet
2002-03-28  0:49     ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CA36FC8.4FEB03AB@altlinux.ru \
    --to=cornet@altlinux.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git