The OpenNET Project / Index page

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




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
PortMapping - Static entry in use, cannot change, !*! dvi, 21-Окт-15, 14:38  [смотреть все]
Добрый день.

Имею на роутере:
ip nat inside source static tcp 192.168.0.20 1723 interface Dialer1 1723

Хочу добавить:
Router(config)#ip nat inside source static tcp 192.168.0.20 1723 interface FastEthernet0/1.8 1723
%Static entry in use, cannot change

Как решить такое?

  • PortMapping - Static entry in use, cannot change, !*! eRIC, 15:46 , 21-Окт-15 (1)
    > Как решить такое?

    может сперва нужно удалить? :)

    #no ip nat inside source static tcp 192.168.0.20 1723 interface Dialer1 1723
    (возможно придется так же сделать clear ip nat translations * - если будет ругаться)
    #ip nat inside source static tcp 192.168.0.20 1723 interface FastEthernet0/1.8 1723


    • PortMapping - Static entry in use, cannot change, !*! dvi, 12:26 , 22-Окт-15 (2)
      >> Как решить такое?
      > может сперва нужно удалить? :)

      Удалить не могу. Нужны обе строки.

      > #no ip nat inside source static tcp 192.168.0.20 1723 interface Dialer1 1723
      > (возможно придется так же сделать clear ip nat translations * - если
      > будет ругаться)
      > #ip nat inside source static tcp 192.168.0.20 1723 interface FastEthernet0/1.8 1723

      Даже когда делаю  clear ip nat trans *
      и ввожу, то вторая запись не добавляется, а заменяет первую.

      • PortMapping - Static entry in use, cannot change, !*! eRIC, 16:05 , 22-Окт-15 (3)
        > Удалить не могу. Нужны обе строки.

        обе никак, только одно. переводить с английского думаю нет смысла: %Static entry in use, cannot change

        > Даже когда делаю  clear ip nat trans *
        > и ввожу, то вторая запись не добавляется, а заменяет первую.

        правильно должно быть только одно правило с данными критериями...


        • PortMapping - Static entry in use, cannot change, !*! crash, 09:45 , 23-Окт-15 (4)
          >> Удалить не могу. Нужны обе строки.
          > обе никак, только одно. переводить с английского думаю нет смысла: %Static entry
          > in use, cannot change
          >> Даже когда делаю  clear ip nat trans *
          >> и ввожу, то вторая запись не добавляется, а заменяет первую.
          > правильно должно быть только одно правило с данными критериями...

          ради интереса попробовал добавить у себя, и добавилось
          ip nat inside source static tcp 192.168.24.42 8191 8.25.14.2 8191 extendable
          ip nat inside source static tcp 192.168.24.42 8191 2.25.15.111 8191 extendable

          • PortMapping - Static entry in use, cannot change, !*! eRIC, 10:41 , 23-Окт-15 (5)
            > ради интереса попробовал добавить у себя, и добавилось
            > ip nat inside source static tcp 192.168.24.42 8191 8.25.14.2 8191 extendable
            > ip nat inside source static tcp 192.168.24.42 8191 2.25.15.111 8191 extendable

            верно потому что с "extendable" дается возможность более гибко настроить правило, к примеру натравливать на mapы, которые дальше делают свою работу

            цитата из циски:

            "Extendable" static translations:
            The extendable keyword allows the user to configure several ambiguous static translations, where an ambiguous translations are translations with the same local or global address.
            ip nat inside source static <localaddr> <globaladdr> extendable
            Some customers want to use more than one service provider and translate into each provider's address space. You can use route-maps to base the selection of global address pool on output interface as well as an access-list match. Following is an example:
            ip nat pool provider1-space ...
            ip nat pool provider2-space ...
            ip nat inside source route-map provider1-map pool provider1-space
            ip nat inside source route-map provider2-map pool provider2-space
            !
            route-map provider1-map permit 10
              match ip address 1
              match interface Serial0/0
            !
            route-map provider2-map permit 10
              match ip address 1
              match interface Serial0/1
            Once that is working, they might also want to define static mappings for a particular host using each provider's address space. The software does not allow two static translations with the same local address, though, because it is ambiguous from the inside. The router will accept these static translations and resolve the ambiguity by creating full translations (all addresses and ports) if the static translations are marked as "extendable". For a new outside-to-inside flow, the appropriate static entry will act as a template for a full translation. For a new inside-to-outside flow, the dynamic route-map rules will be used to create a full translation.




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

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