cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
198
Views
0
Helpful
1
Replies

net setup problem

julxu
Level 1
Level 1

Hi,

 

I have a problem to setup nat for a machine.

 

we have machine need open port, said, 11111. the machine is on privite network 192.168.0.0/24.

 

there is a cisco 2000 router configure this subnet, and link it to main router cat6500, with a public ip add. we said the public adress is

10.1.1.1/24 and 10.1.1.2/24

 

I have did net on cisco 2000 as:

interface GigabitEthernet0/0.192

ip nat inside

interface GigabitEthernet0/0.1

ip nat outside

ip nat inside source static tcp 192.168.0.111 11111 10.1.1.10 10001 extendable

 

after I have done this, the cat6500 and related area working find.

but, the cat6500 connect to cat6500-2, which link to internet, and both cat6500-2 area and internet can get ping, but not anything else

 

so, I thought, I may need put nat at cat6500 

I have done:

for cat 6500

interface G0/1

desc link to cat6500-2

ip address 10.2.1.0/30, 

ip nat outside

 

but it not works on cat6500-2 and related area, that means:

    when I use <telnet nat-ip-address 111111> no connection

    ping nat-ip-address -> ok

 

can anyone advice me if I have nat issue, or something else?

 

any comments will be appreciated

 

thanks in advance

 

julxu

 

 

1 Reply 1

Carlos Amador
Cisco Employee
Cisco Employee

julxu,

 

According to your NAT

 

ip nat inside source static tcp 192.168.0.111 11111 10.1.1.10 10001 extendable

 

11111 is the port the real ip address is using, so you should be trying to connect to 10001 which is the one configured for the public IP, that should be translated to the real port and IP

 

Regards,

Review Cisco Networking for a $25 gift card