The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Соеденить 2 машины: линукс и вин92, !*! ugoday, 10-Дек-05, 16:07  [смотреть все]
Есть машинка с линуксом и стримом. Рядом стоит машинка с 98 виндой.
Задача: сделать так, чтобы из под винды можно было ходить в сеть через стрим. Было принято решение соеденить две машинки напрямую с помощью crossover ethernet. В машинку с линуксом засунули дополнительную сетевую карточку и сказали
#ifconfig eth1 192.168.1.34 up

У eth0 адрес 192.168.1.33.
На виндовой машинке:
ip 192.168.1.35
netmask 255.255.255.0
шлюз 192.168.1.1

с виндовой машины ip 192.168.1.35 пингуется, а другеи (33 и 34) нет.

с линуксовой ip (33 и 34) пингуются, а

/home/ugoday# ping 192.168.1.35
PING 192.168.1.35 (192.168.1.35) 56(84) bytes of data.
ping: sendmsg: Operation not permitted

хотя

/home/ugoday# cat /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#

ALL: LOCAL

/home/ugoday# cat /etc/hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5), hosts_options(5)
#                  and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.

# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID

#ALL: ALL
#ALL: LOCAL
#ALL: 127.0.0.1


Вопрос: где косяк и что делать?




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру