How to access the address sucn as 10.0.0.225?

This is a discussion on How to access the address sucn as 10.0.0.225? within the Linux Networking forums, part of the Linux Forums category; Bernhard Kastner wrote: > Kimmo Koivisto schrieb: >> >> #route add -host 10.0.0.255 gw 202....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 10-03-2004
Kimmo Koivisto
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

Bernhard Kastner wrote:

> Kimmo Koivisto schrieb:
>>
>> #route add -host 10.0.0.255 gw 202.102.224.68
>>

>
> bad idea when switching his internal network to a 10.x net or going to a
> LAN-Party with a 10.x net ;)


He was asking for it :) and route command affects only to one host, so most
of the LAN-party machines should be accessible :)

Regards
Kimmo

Reply With Quote
  #12 (permalink)  
Old 10-04-2004
Bernhard Kastner
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

Kimmo Koivisto schrieb:
>
> He was asking for it :) and route command affects only to one host, so most
> of the LAN-party machines should be accessible :)


BTW: I was just wondering how a host could have an IP of x.x.x.255

--
Bernhard | theEdge
-Linux User #368478-
http://www.alf.at.tc
Austrian Linux Forum
Reply With Quote
  #13 (permalink)  
Old 10-04-2004
Paul Black
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

Bernhard Kastner wrote:
> Kimmo Koivisto schrieb:
>
>>He was asking for it :) and route command affects only to one host, so most
>>of the LAN-party machines should be accessible :)

>
>
> BTW: I was just wondering how a host could have an IP of x.x.x.255


By not having a netmask of 255.255.255.0. If the netmask was
255.255.0.0, the "host number" part of the address is not all 1's.

--
Paul Black mailto:paul.black@oxsemi.com
Oxford Semiconductor Ltd http://www.oxsemi.com
25 Milton Park, Abingdon, Tel: +44 (0) 1235 824 909
Oxfordshire. OX14 4SH Fax: +44 (0) 1235 821 141
Reply With Quote
  #14 (permalink)  
Old 10-04-2004
Lew Pitcher
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernhard Kastner wrote:
> Kimmo Koivisto schrieb:
>
>>
>> He was asking for it :) and route command affects only to one host, so
>> most
>> of the LAN-party machines should be accessible :)

>
>
> BTW: I was just wondering how a host could have an IP of x.x.x.255


If the netmask for the IP address is such that more than the low order 8 bits
are significant as host ids, then it is possible to have a host of x.x.x.255,
and not conflict with the broadcast address.

I.e.

With network 10.0.0.0 and netmask 255.255.254.0, IP address 10.0.0.255 is a
host, but IP address 10.0.1.255 is the broadcast on the same subnet.


- --
Lew Pitcher
IT Consultant, Enterprise Data Systems,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBYV8lagVFX4UWr64RAm/uAJ99KGOfE8buSzhuP1MskBkMzXIM1QCfX5be
8XCu7Grng8erzMOhkDl2/I0=
=rWjU
-----END PGP SIGNATURE-----
Reply With Quote
  #15 (permalink)  
Old 10-04-2004
weiwufeng
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

It is 10.0.0.225.Not 10.0.0.255
Reply With Quote
  #16 (permalink)  
Old 10-04-2004
James Knott
 
Posts: n/a
Default Re: How to access the address sucn as 10.0.0.225?

Bernhard Kastner wrote:

> Kimmo Koivisto schrieb:
>>
>> He was asking for it :) and route command affects only to one host, so
>> most of the LAN-party machines should be accessible :)

>
> BTW: I was just wondering how a host could have an IP of x.x.x.255
>


That would depend entirely on the subnet mask. for example, x.x.0.255/23 is
a valid host address, but x.x.0.255/24 would be a broadcast address.

--

(This space intentionally left blank)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0