Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Subnet mask settings....
  • From: Togan Muftuoglu <toganm@xxxxxxxxxxxx>
  • Date: Fri, 12 Apr 2002 17:54:11 +0300
  • Message-id: <20020412175411.A1418@xxxxxxxxxxxx>
* Michael Garabedian; <mikejr@xxxxxxxxxxxxxxx> on 12 Apr, 2002 wrote:
I have two networks, I am trying to copy one network to look like the
other.
1st network 10.0.0.0
Subnet mask 255.255.255.0

/24 adress

------------------------------------------------
TCP/IP NETWORK INFORMATION
------------------------------------------------
IP Entered = ..................: 10.0.0.0
CIDR = ........................: /24
Netmask = .....................: 255.255.255.0
Wildcard Bits = ...............: 0.0.0.255
------------------------------------------------
Network Address = .............: 10.0.0.0
Broadcast Address = ...........: 10.0.0.255
Usable IP Addresses = .........: 254
First Usable IP Address = .....: 10.0.0.1
Last Usable IP Address = ......: 10.0.0.254


Firewall translates 10.0.0.0.to 66.13.54.x with subnet 255.255.255.224

/27 so from 10.0.0.0 to 10.0.0.31 with first usable IP 10.0.0.1 and
broadcast 10.0.0.31 or I did not get this part




The second network I want to make 10.10.0.0
What would the subnet mask be. 255.254.255.0
255.254.255.0 is wrong

If you need an eay solution in figuring out what mask is the correct one
than consider the program Whatmask


Whatmask v1.1
=====================================

By: Joe Laffey <joe@xxxxxxxxxxxxxxxxxx>
Updates: http://www.laffeycomputer.com/software.html


========
Whatmask
========

Whatmask is a small C program that will help you with network settings.

Whatmask can work in two modes. The first mode (which is how prior versions
worked) is to invoke Whatmask with only a subnet mask as the argument. In this mode Whatmask will echo back the subnet mask in three formats, plus
the number of useable addresses in the range.

O'Reilly and Associates:
TCP/IP Network Administration, 2nd Edition
By Craig Hunt
2nd Edition December 1997
1-56592-322-7
http://www.ora.com/

Cisco - IP Addressing and Subnetting for New Users
http://www.cisco.com/warp/public/701/3.html

More info on Wilcard bits and Cisco routers.
http://www.delmar.edu/Courses/ITSC1391/Sem3/6ACLs.htm


--
Togan Muftuoglu
Unofficial SuSE FAQ Maintainer
http://dinamizm.ath.cx



< Previous Next >
References