Configuring NAT and static IP on Cisco 877W

Posted by David M Williams on Server Fault See other posts from Server Fault or by David M Williams
Published on 2010-04-16T04:17:57Z Indexed on 2010/04/16 6:03 UTC
Read the original article Hit count: 368

Filed under:
|
|
|
|

Hi all,

I'm having trouble setting up a static IP reservation on a network. What I want to do is assign IP 192.168.1.105 to MAC address 00:21:5d:2f:58:04 and then port forward 35394 to it.

If it helps, output from show ver says Cisco IOS software, C870 software (C870-ADVSECURITYK9-M), version 12.4(4)T7, release software (fc1) ROM: System bootstrap, version 12.3(8r)YI4, release software

I have done this -

service dhcp
ip routing
ip dhcp excluded-address 192.168.1.1 192.168.1.99
ip dhcp excluded-address 192.168.1.200 192.168.1.255

ip dhcp pool ClientDHCP
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
lease 7

ip dhcp pool NEO
host 192.168.1.105 255.255.255.0
hardware-address 0021.5D2F.5804

ip nat inside source static tcp 192.168.1.105 35394 <PUBLIC_IP> 35394 extendable

However, the machine is getting assigned IP address 192.168.1.101 not .105 ... any suggestions?

Thanks !

© Server Fault or respective owner

Related posts about cisco

Related posts about nat