Help: IP NAT problem!

From: shaxw (shaxw@xxxxxxxxxxxxxxxx)
Date: Sun Oct 22 2000 - 01:41:38 GMT-3


   
Hi,

I have one router has two Ethernet interfaces, one connects to ISP, and the oth
er to inside local LAN. I only have one legal address, which assigned to the ou
tside interface. Now I have a WWW server, which located on the inside LAN, I co
nfigure the inside source port translation, but each time, when client from Int
ernet access this server, the port changes to other port, not 80, so the access
 is failure. Somebody can help me ?

The following is the configuration:

!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname xxx
!
!
ip subnet-zero
no ip domain-lookup
!
cns event-service server
!
!
!
interface Ethernet0
 ip address xx.xx.xx.xx 255.255.255.192 ! sorry.
 no ip directed-broadcast
 ip nat outside
 media-type 10BaseT
!
interface Ethernet1
 ip address 192.168.0.1 255.255.255.0
 no ip directed-broadcast
 ip nat inside
 media-type 10BaseT
!
ip nat inside source list 1 interface Ethernet0 overload
ip nat inside source static tcp 192.168.0.20 80 interface Ethernet0 80
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.255.255

..

When using show ip nat tran, the static translation is in the list, but when cl
ient access this server(192.168.0.20), the router change the port to 33,34,35,
....
I don't know what's going on in the router,pls help me!

Thanks

Jack Sha



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:28 GMT-3