cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
298
Views
2
Helpful
1
Replies

problem in nat

chpmotry
Level 1
Level 1

hi guys.

i have a network with below topology

khorramshahi-nat-4.jpg

i have two servers that are accessable in my 2811 router and i have a two client with frameware that only support setting ipv4 adderess and doesnt support setting the ip default gateway . 

the clients connected to servers with different ports such as below:

for connecting to server 192.168.2.10: port 8021

for connecting to server 192.168.2.11: port 8075

How can I implement NAT(network aaddress transllation) operations in my 2811 router that clients establish addresses with the server?

1 Accepted Solution

Accepted Solutions

@chpmotry 

 Try this

on the Router

interface Ethernet2

ip address 192.168.1.1 255.255.255.0

 ip nat outside

 

!

interface Ethernet1

ip address 192.168.2.1 255.255.255.0

ip nat inside

duplex auto

speed auto

!

ip nat inside source static tcp 192.168.1.1  8021 192.168.2.10 8021

ip nat inside source static tcp 192.168.1.1  8075 192.168.2.10 8075

 

View solution in original post

1 Reply 1

@chpmotry 

 Try this

on the Router

interface Ethernet2

ip address 192.168.1.1 255.255.255.0

 ip nat outside

 

!

interface Ethernet1

ip address 192.168.2.1 255.255.255.0

ip nat inside

duplex auto

speed auto

!

ip nat inside source static tcp 192.168.1.1  8021 192.168.2.10 8021

ip nat inside source static tcp 192.168.1.1  8075 192.168.2.10 8075