Ubuntu and static IP address

Karl F. Larsen klarsen1 at gmail.com
Thu Sep 24 21:29:25 UTC 2009


Rashkae 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.
> 

	I guessed and got the web page from my Belkin wireless router 
the first time. The default gateway was a real surprise to me. 
Here is the whole thing from the web page:


         Belkin Wireless Router

found web page at http:://192.168.2.1


WAN MAC address 00:17:3f:f0:16:7
Connection Type Dynamic
Subnet mask 255.255.255.0
Wan IP 192.168.0.3  This is the port on my DSL modem I use.
Default gateway 192.168.0.1

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D





More information about the ubuntu-users mailing list