The OpenNET Project / Index page

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




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
1841 часть вторая, или прозрачные сетки., !*! Firestorm1, 27-Июл-10, 23:01  [смотреть все]
Доброго времени суток уважаемый %Username%!

В продолжение прошлой темы - возникла задача:

Нужно, чтоб компы из одной сетки (10.10.10.0/24) видели, а точнее могли подконектицца по удаленному рабочему столу к серверу в другой сетке (192.168.0.0/24)

Схема сети:
http://lh3.ggpht.com/_18PWjdcjv08/TE8mJY_OrFI/AAAAAAAAEdg/CZ...


На "Асусе" прописал маршрут:
Destination Subnet Address  |  Destination Netmask  |  Default Gateway

192.168.0.0                    255.255.255.0           10.10.10.1

Пинг с админской машины (10.10.10.11) выдает:

Обмен пакетами с 192.168.0.11 по с 32 байтами данных:
Ответ от 10.10.10.10: Заданная сеть недоступна.


ЗЫ при добавлении ip route 192.168.0.0 255.255.255.0 10.10.10.1 к существующему в конфиге (ip route 0.0.0.0 0.0.0.0 10.10.10.1) пацыэнт всеравно остается мёртв :)
Заранее большое спасибо!

Как я понимаю, я опять туплю с конфигом:

Using 2690 out of 196600 bytes
!
! Last configuration change at 21:22:33 Ukraine Tue Jul 27 2010 by ---
! NVRAM config last updated at 21:22:35 Ukraine Tue Jul 27 2010 by ---
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ---
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Bni2$th57gdnhc3If2cwMlhQMt/
enable password 7 06300A264D5D
!
aaa new-model
!
!
aaa authentication login default local
!
aaa session-id common
clock timezone Ukraine 2
clock summer-time Ukraine recurring last Sun Mar 2:00 last Sun Oct 2:00
no ip source-route
ip cef
!
!
no ip dhcp use vrf connected
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.10
!
ip dhcp pool LAN
   network 192.168.0.0 255.255.255.0
   default-router 192.168.0.1
   dns-server 192.168.0.1
!
!
no ip bootp server
ip domain name ---
ip name-server 8.8.8.8
ip inspect name INSPECT_OUT dns
ip inspect name INSPECT_OUT icmp router-traffic
ip inspect name INSPECT_OUT ntp
ip inspect name INSPECT_OUT tcp router-traffic
ip inspect name INSPECT_OUT udp router-traffic
ip inspect name INSPECT_OUT http
ip inspect name INSPECT_OUT https
ip inspect name INSPECT_OUT ftp
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
username --- privilege 15 secret 5 $1$Sj77$YgT0MhHp1r1X.2XtpL79s.
archive
log config
  logging enable
  hidekeys
!
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
!
!
!
!
interface FastEthernet0/0
description === Internet ===
ip address 10.10.10.10 255.255.255.0
ip access-group FIREWALL in
ip verify unicast reverse-path
ip nat outside
ip inspect INSPECT_OUT out
ip virtual-reassembly
speed auto
full-duplex
!
interface FastEthernet0/1
description ===LAN===
ip address 192.168.0.1 255.255.255.0
ip accounting output-packets
ip nat inside
ip virtual-reassembly
speed auto
full-duplex
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.10.10.1
!
ip dns server
!
no ip http server
no ip http secure-server
ip nat inside source list NAT interface FastEthernet0/0 overload
!
ip access-list extended FIREWALL
permit tcp any any eq 22
ip access-list extended NAT
permit ip 192.168.0.0 0.0.0.255 any
!
snmp-server community public RO
!
!
!
control-plane
!
!
banner motd ^C"---"^C
!
line con 0
line aux 0
line vty 0 4
privilege level 15
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp clock-period 17179252
ntp update-calendar
ntp server 193.193.193.113
end

  • 1841 часть вторая, или прозрачные сетки., !*! ДорогойДрук, 23:17 , 27-Июл-10 (1)
    >На "Асусе" прописал маршрут:
    >Destination Subnet Address  |  Destination Netmask  |  Default
    >Gateway
    >
    >192.168.0.0            255.255.255.0       10.10.10.1

    какбы шлюз исходя из картинки должен быть 10.10.10.10

  • 1841 часть вторая, или прозрачные сетки., !*! Ranger99, 00:03 , 28-Июл-10 (9)
    >Пинг с админской машины (10.10.10.11) выдает:
    >Обмен пакетами с 192.168.0.11 по с 32 байтами данных:
    >Ответ от 10.10.10.10: Заданная сеть недоступна.

    Что абсолютно естественно при таком ACL на циске:

    >ip access-list extended FIREWALL
    > permit tcp any any eq 22

    Как только это исправите, всплывет другая проблема - Вы пытаетесь снаружи (из сети 10.10.10.0/24) попасть во внутреннюю сеть 192.168.0.0/24, находящуюся за PATом, чего текущий конфиг не позволит. Можно пойти через port-forwarding:
    1) ip nat inside source static tcp 192.168.0.150 3389 interface FastEthernet0/0 3389
    (вместо 192.168.0.150 поставьте адрес своего сервера с RDP)
    2) открыть доступ в ACL "FIREWALL"
    permit tcp 10.10.10.0 0.0.0.255 host 10.10.10.10 eq 3389
    3) коннектитесь по RDP к 10.10.10.10

    • 1841 часть вторая, или прозрачные сетки., !*! Firestorm1, 01:01 , 28-Июл-10 (11)
      Ranger99, большое спасибо! Всё заработало!

      Если кому будет интересно, вылаживаю конфиг с работающей брагой! Еще раз спасибо Ranger99!


      !
      version 12.4
      no service pad
      service timestamps debug datetime msec
      service timestamps log datetime msec
      service password-encryption
      !
      hostname Sec-Router
      !
      boot-start-marker
      boot-end-marker
      !
      enable secret 5 $1$Bni2$th57gdnhc3If2cwMlhQMt/
      enable password 7 06300A264D5D
      !
      aaa new-model
      !
      !
      aaa authentication login default local
      !
      aaa session-id common
      clock timezone Ukraine 2
      clock summer-time Ukraine recurring last Sun Mar 2:00 last Sun Oct 2:00
      no ip source-route
      ip cef
      !
      !
      no ip dhcp use vrf connected
      no ip dhcp conflict logging
      ip dhcp excluded-address 192.168.0.1 192.168.0.10
      !
      ip dhcp pool LAN
         network 192.168.0.0 255.255.255.0
         default-router 192.168.0.1
         dns-server 192.168.0.1
      !
      !
      no ip bootp server
      ip domain name ---
      ip name-server 8.8.8.8
      ip inspect name INSPECT_OUT dns
      ip inspect name INSPECT_OUT icmp router-traffic
      ip inspect name INSPECT_OUT ntp
      ip inspect name INSPECT_OUT tcp router-traffic
      ip inspect name INSPECT_OUT udp router-traffic
      ip inspect name INSPECT_OUT http
      ip inspect name INSPECT_OUT https
      ip inspect name INSPECT_OUT ftp
      ip auth-proxy max-nodata-conns 3
      ip admission max-nodata-conns 3
      !
      !
      !
      username --- privilege 15 secret 5 $1$Sj77$YgT0MhHp1r1X.2XtpL79s.
      archive
      log config
        logging enable
        hidekeys
      !
      !
      ip ssh time-out 60
      ip ssh authentication-retries 2
      ip ssh version 2
      !
      !
      !
      !
      interface FastEthernet0/0
      description === Internet ===
      ip address 10.10.10.10 255.255.255.0
      ip verify unicast reverse-path
      ip nat outside
      ip inspect INSPECT_OUT out
      ip virtual-reassembly
      speed auto
      full-duplex
      !
      interface FastEthernet0/1
      description ===LAN===
      ip address 192.168.0.1 255.255.255.0
      ip accounting output-packets
      ip nat inside
      ip virtual-reassembly
      speed auto
      full-duplex
      !
      ip forward-protocol nd
      ip route 0.0.0.0 0.0.0.0 10.10.10.1
      !
      ip dns server
      !
      no ip http server
      no ip http secure-server
      ip nat inside source list NAT interface FastEthernet0/0 overload
      ip nat inside source static tcp 192.168.0.11 3389 interface FastEthernet0/0 3389
      !
      ip access-list extended FIREWALL
      permit tcp any any eq 22
      permit tcp 10.10.10.0 0.0.0.255 host 10.10.10.10 eq 3389 login finger
      ip access-list extended NAT
      permit ip 192.168.0.0 0.0.0.255 any
      !
      snmp-server community public RO
      !
      !
      !
      control-plane
      !
      !
      banner motd ^C"---C
      !
      line con 0
      line aux 0
      line vty 0 4
      privilege level 15
      transport input telnet ssh
      !
      scheduler allocate 20000 1000
      ntp clock-period 17178787
      ntp update-calendar
      ntp server 193.193.193.113
      end

      Sec-Router#




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

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