Unix administration - Network mask 255.255.255.255

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > Network mask 255.255.255.255





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Network mask 255.255.255.255
Mishka

2004-01-23, 4:29 pm

Greetings!

Anybody knows what is a meaning of netmask 0xffffffff?
Is it have an any sense?

Lets assume we have configured some (and single) network interface:
IP - 192.168.1.1, netmask - 255.255.255.255.

So my questions are:
1) can I access any host via network interface configured in such manner?
2) can I create (and how) the route entry to, for examle, 172.16.1.0 LAN?
3) it is possible create any route entry VIA 172.16.0.1 host?
4) are all above will works in real life?

Any ideas would be appreciated.

--
TIA, Mishka.


P.S. Excuse me for possible offtopic and crossposts.

Rob MacGregor

2004-01-23, 4:29 pm

Mishka wrote:
quote:

> Greetings!



Hmmm, crossposted to half the universe. Sure you couldn't have found a
few more groups?
quote:

> Anybody knows what is a meaning of netmask 0xffffffff?
> Is it have an any sense?



Nope, it says that every bit is the network address and there is no host
address. The longest usable netmask is a /30, giving 2 IPs (plus the
network address and broadcast address).
quote:

> Lets assume we have configured some (and single) network interface:
> IP - 192.168.1.1, netmask - 255.255.255.255.



Then lets assume you don't have a network :-)
quote:

> So my questions are:
> 1) can I access any host via network interface configured in such manner?



I'd hope not, or you've got a broken OS (IMHO).
quote:

> 2) can I create (and how) the route entry to, for examle, 172.16.1.0 LAN?



Nope.
quote:

> 3) it is possible create any route entry VIA 172.16.0.1 host?



Nope.
quote:

> 4) are all above will works in real life?



Nope.

--
Rob MacGregor (BOFH) Oh my God! They killed init! You bastards!
The light at the end of the tunnel is an oncoming dragon.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com