Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Сетевые технологии (http://forum.oszone.net/forumdisplay.php?f=31)
-   -   Cisco Pix 515 ERROR: Static PAT using the interface requires the use of the 'interfac (http://forum.oszone.net/showthread.php?t=261682)

oren_yastreb 01-06-2013 21:25 2160542

Cisco Pix 515 ERROR: Static PAT using the interface requires the use of the 'interfac
 
Добрый день!
у меня стоит задача публикации FTP сервера который поднят внутри сети
Его адресс 10.47.13.44
Внешний адресс 92.255.248.107
Ввожу вот такие команды,
static (inside,outside) tcp outside ftp-data 10.47.13.44 ftp-data netmask 255.255.255.255
static (inside,outside) tcp 92.255.248.107 ftp 10.47.13.44 ftp netmask 255.255.255.255
получаю вот такую ошибку
ERROR: Static PAT using the interface requires the use of the 'interface' keyword instead of the interface IP address

Подскажите что не так?

PIX Version 7.0(8)
!
hostname pixfirewall
domain-name cisco.com
enable password JOAv/oQc3FWkWHEo encrypted
passwd JOAv/oQc3FWkWHEo encrypted
names
dns-guard
!
interface Ethernet0
speed 100
duplex full
no nameif
no security-level
no ip address
!
interface Ethernet0.1
vlan 2
nameif inside
security-level 100
ip address 172.16.1.1 255.255.255.252
!
interface Ethernet0.2
vlan 4
nameif DMZ
security-level 50
ip address 92.255.248.109 255.255.255.252
!
interface Ethernet0.3
vlan 5
nameif outside
security-level 0
ip address 92.255.248.107 255.255.255.252
!
interface Ethernet1
speed 100
duplex full
no nameif
no security-level
no ip address
!
interface Ethernet2
speed 100
duplex full
no nameif
no security-level
no ip address
!

ugara 03-06-2013 07:40 2161168

а если так?

Код:

static (inside,outside) tcp outside ftp-data 10.47.13.44 ftp-data netmask 255.255.255.255
 static (inside,outside) tcp outside ftp 10.47.13.44 ftp netmask 255.255.255.255


oren_yastreb 03-06-2013 10:30 2161249

pixfirewall# conf t
pixfirewall(config)# static (inside,outside) tcp outside ftp-data 10.47.13.44 $

static (inside,outside) tcp outside ftp-data 10.47.13.44 ftp-data netmask 255.25 ^5.255.255

ERROR: % Invalid input detected at '^' marker.

ugara 03-06-2013 10:49 2161258

oren_yastreb,
255.25 ^5.255
тут у тебя видимо пробел

alef2474 03-06-2013 14:48 2161427

Цитата:

Цитата ugara
255.25 ^5.255
тут у тебя видимо пробел »

Цитата:

requires the use of the 'interface' keyword instead of the interface IP address

Может это и не пробел, а просто он указывает стрелкой на введенный выше ip-адрес и говорит, как еще выше по-английски,
что вместо ip-адреса в цифровом виде в команде static... должно стоять его словесное обозначение(типа "interface EthernetN или lanN"), введенное другой командой,
т.е нарушение синтаксиса команды.


Время: 07:27.

Время: 07:27.
© OSzone.net 2001-