Ubuntu and static IP address

Rashkae ubuntu at tigershaunt.com
Thu Sep 24 15:19:42 UTC 2009


David Curtis wrote:
>
>>>
>> depends on what router your using, and if youve changed it from
>> factory setting or not.  if you havent changed it, check the manual
>> or try that 2.0 one in a browser, see if you get the web config.
> 
> Impossible, nothing will ever have a 0 or 255 as a number in an IP
> address. More than likely if your computer(s) receive 192.168.2.x
> IP addresses than the router will be on that subnet as 192.168.2.1 or
> 192.168.2.254. If not you could do a ping scan from 1 to 254, or check
> your documentation/google.
> 
> Dave
> 


Every router I've ever seen uses .1 as the final number in an IP address
for the router/gateway as factory default.  Whatever the first 3
segments/octets of your PC IP address is, append a .1, and and that
should be your router.

The statement about never having a 0 or 255 in an ip address is,
however, incorrect.

192.168.0.1 is a perfectly valid IP address, as is 10.0.0.255 (assuming
that the netmask is 255.0.0.0 and not 255.255.255.0)  for that matter,
10.0.1.0 would also be a valid IP address in that case.




More information about the ubuntu-users mailing list