Basically, I'm wondering if there is an easier way, and if so, what is it? I
want to calculate the subnet mask needed for two devices to connect to each
other.
The first device has IP address 10.175.139.134, subnet mask 255.255.255.0.
The second has 192.168.0.1, subnet 255.255.255.0. So, to figure a subnet
mask that would allow these two addresses to connect to each other:
10.175.139.134 00001010.10101111.10001011.10000110
192.168.0.1 11000000.10101000.00000000.00000001
derived subnet: 00110101.11111000.01110100.00000000
or 53.248.116.0 (to preserve the class C-ness of the original subnet).
Is this mathematically correct? Is there a simpler, faster, or better way to
figure this out, besides converting octets to binary, figuring it out by
hand, and converting it back?
Is it correct reasoning; will these two addresses with this subnet mask be
able to connect (assuming everything else has been done correctly)?
To provide more background: I have a Compaq wireless USB adapter whose
reason for being is to provide network connectivity to another wireless
device, via the W2K Pro workstation to which the USB adapter connects. This
other wireless device should be able to see the workstation, and everything
else the workstation sees. 192 addresses are allowed on this network, and
routing issues should be resolvable. Having talked to both network admins, I
realize I am largely on my own to make this work within provided parameters
(don't break anything else in the process). I would much rather use the
Windows 2000 native capabilities for connection sharing and routing, than
install, puzzle over, and configure that WinGate Lite software, provided "as
is".
Greg Stigers
http://www.cgiusa.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|