Ubuntu and static IP address
David Curtis
dcurtis at uniserve.com
Thu Sep 24 16:25:04 UTC 2009
On Thu, 24 Sep 2009 11:19:42 -0400
Rashkae <ubuntu at tigershaunt.com> wrote:
> 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.
Yes,yes,yes. If the router is not on a class C subnet it can
possibly have a 0 or 255 as the last number. But that is more than
likely not the case in a home device.
And of course I should have said 'in the last octet', IP addresses
can most definitely have a 0 or 255 in the first 3 octets. I stand
corrected.
What I should have said was 192.168.2.0 or 192.168.2.255 are
impossible addresses for a home setup.
Dave
More information about the ubuntu-users
mailing list