PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Netmasks for dummies 3005


Your Ad Here

Your Ad Here

StupidScript

198.113.64.1 and 198.113.64.8 are NOT valid network boundaries for a29 subnet. 198.113.64.0-198.113.64.7 is a valid IP block for a29 subnet.

29 or 255.255.255.248 defines the subnet mask which buttigns a certain number of bits to the network and the remainder to the host.

29 has 29 bits allocated to the network and 3 bits allocated to the hosts. Therefore 2^3=8 which is the number of valid addresses on a29 subnet. Of that 8, 1 is a network address and 1 is a broadcast address.

In your case (example): 198.113.64.0 = network 198.113.64.1-198.113.64.6 = hosts-machines etc. 198.113.64.7 = broadcast

192.113.64.8 = the next29 network's address.... and so on.

replace .1 with .0 and you've got it.

Gah - see above. 198...0 - 198...15 is the address range. .0 is the network address, .15 is the broadcast, .1-.14 are valid host addresses.

replace .1 with .0

Godammit :P (See above).

s--.1--.0

On EVERY IP network, 2 addresses are 'wasted' because every IP networks requires a network address and a broadcast address. Therefore the smallest subnet possible is a30 (255.255.255.252) which leaves 30 allocated to the network and 2 bits to the address giving 4 addresses in total; 1 network, 2 hosts and 1 broadcast. I use these for connecting routers together on uor internal network. That way the only valid addresses are each end of the link ;)

Get hold of "ipsc" - IP Subnet Calculator. It's a command line utility that's been compiled for nearly every OS known to man (and woman) AFAIK.

Netmasks for dummies 3006
On 02-19-2005 12:18 AM, StupidScript Here is an ip calc: #!-usr-bin-ruby # icalc.rb IP calculator sub-super-net IMAX = 4294967295 def tob(dotted) if dotted...

James -- Your lucky number has been disconnected.



Your Ad Here

List | Previous | Next

Netmasks for dummies 3006

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Netmasks for dummies