Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Linksys WRT54G2 router. I have an network with the router as the default gateway at 205.1.1.100/ The DHCP starts at 101 and allows for 50 licenses. My hardwired computers go from 205.1.1.1 to .4. When I try to forward a port to 205.1.1.1, and hit save settings, a message pops up that says "Invalid ip address". I do not get the issue, I can ping 205.1.1.1 from the router.

share|improve this question
    
I can assign to 205.1.1.2, so I assuming it is an issue with the router holding .1 for some reason, I am just trying to keep these certain devices out of the DHCP range –  Kevin May 28 '09 at 16:53
add comment

3 Answers

up vote 2 down vote accepted

Maybe the firmware just assumes the the first IP address in the range is a router or gateway, which you wouldn't likely be forwarding ports to.

Can you set it to forward to 205.1.1.2?

share|improve this answer
    
This would be my first check also. Look to see if there's a firmware upgrade for that router. –  squillman May 28 '09 at 16:57
add comment

The first and last IP addresses in any range are reserved. In this case, 205.1.1.1 is the gateway address, and should normally be the address of the gateway router.

Try putting your Linksys at 205.1.1.1 and/or moving the other machine to a new address.

share|improve this answer
add comment

Assumption is that you're trying to DNAT traffic from the outside to a specific port, to 205.1.1.1 on the same or some other port; Your rule needs to include the following components...

  • source 0.0.0.0/0 (or equivalent - the Internet/Any)
  • destination (your router's Internet-facing IP address, not 205.1.1.100 which seems to be your internal network)
  • destination port - whatever port you want to DNAT
  • DNAT destination - 205.1.1.1
  • DNAT port - whatever
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.