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.

What static route configuration (as shown by command line "route PRINT"):

  1. Network Destination
  2. Netmask
  3. Gateway
  4. Interface
  5. Metric

could be used to reach a specified static route (web proxy) in the Intranet, giving that:

  1. Subnet Mask = 255.255.255.255
  2. Gateway = BLANK

for a computer in a flat LAN.

I tried Netmask 255.255.255.255 and Gateway 0.0.0.0 (on link) but when trying to ping the web proxy destination IP, it says Network Destination Unreachable!

Any thoughts?

share|improve this question

migrated from stackoverflow.com Oct 19 '10 at 10:22

This question came from our site for professional and enthusiast programmers.

1  
The mask you are using says that every bit of the IP address is network which means there are no hosts. Try a mask of 0.0.0.0 which means that every bit of the IP address is host. All of this assumes one network with no router / outside connections. –  dbasnett Oct 19 '10 at 12:05

3 Answers 3

Perhaps I do not understand the question, but if you are trying to reach a resource on the same local network segment, then you do not need a route at all. It should compare the destination address with your subnet mask, determine it is on the local network segment and directly send to that device

share|improve this answer

you need 0.0.0.0 for the mask as well if it is the default route

share|improve this answer

you need to put your gateway as network destination

share|improve this answer
    
I'd suggest that in the future that you put this type of information as a comment and not as an answer. –  mdpc Dec 16 '12 at 6:12

Your Answer

 
discard

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