11-18-2024 11:31 AM
hi guys.
i have a network with below topology
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?
Solved! Go to Solution.
11-18-2024 11:56 AM
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
11-18-2024 11:56 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide