Black Box ServSwitchTM manual Net masks the binary explanation, Operation with net mask

Page 65

Net masks - the binary explanation

To really understand the operation of a net mask it is necessary to delve deeper into the life blood of computers – binary; this is native digital, where everything is either a 1 (one) or 0 (zero), on or off, yes or no.

The net mask operation described on the previous page is known as a ‘bit-wise AND function’. The example of 255.255.255.0 is handy because the last octet is completely zero and is “clean” for illustrative purposes. However, actual net mask calculations are carried out, not on whole decimal numbers, but bit by bit on binary numbers, hence the term ‘bit-wise’. In a real local network, a net mask might be 255.255.255.240. Such an example would no longer be quite so clear, until you look at the net mask in its binary form:

11111111.11111111.11111111.11110000

In this case, the four zeroes at the end of the net mask indicate that the local part of the address is formed by only the last four bits. If you use the diagram from the previous example and insert the new net mask, it will have the following effect on the final result:

®

 

192 168 142 154

192 168 142 144

Inside a bit-wise AND function When you “open up” the last octet of the net mask and look at the binary inside, you can see the last four zero bits preventing any 1’s in the address from falling through.

154

Decimal octet prior to AND

 

 

operation with net mask

10011010 Binary equivalent of 154

1111 0 0 0 0

10010000

Binary octet after AND

 

operation with net mask

144

Decimal equivalent of 10010000

 

 

Thus, when 154 is bit-wise ANDed with 240, the result is 144. Likewise, any local address from 192.168.142.144 through to 192.168.142.159 would produce exactly the same result when combined with this net mask, hence they would all be local addresses. However, any difference in the upper three octets or the upper four bits of the last octet would slip through the mask and the address would be flagged as not being local.



64

Image 65
Contents ServSwitch Wizard IP Plus Contents Index Introduction VNC links. Check with Black Box for availability Wizard IP Plus features front and rearCD-ROM What’s in the box What you may additionally needDouble unit rack brackets MountingSingle unit rack brackets Host computer links Keyboard and mouse ConnectionsSingle host computer or many? To make a keyboard and mouse linksTo make a video link Host computer links VideoDigital video link Analogue video linkHost computer links Virtual Media Host computer links AudioTo make an audio link To make an Virtual Media linkTo connect a local keyboard and mouse Local console connections Keyboard and mouseLocal console. Why? PS/2 style keyboard and mouse connectionsAnalogue video link Digital video link Local console connections VideoTo connnect a local video monitor IP network port Local console connections AudioTo connect local speakers To connect the IP network portTo connect the power supply Power supply connectionModem/ISDN port To connect a modem or Isdn portTo connect and address the switch boxes Power control portPart 1 Local configuration Initial configurationPart 1 Local configuration Part 2 Remote configurationAdmin password To perform the initial local configurationTime and Date EncryptionWizard IP Plus encryption settings Encryption settingsViewer encryption settings EncryptionTo restore mouse operation when hot plugging Which restore setting do I use?Hot plugging and mouse restoration Recognising an IntelliMouse-style mouseWizard IP Plus asks for an unknown admin password Resetting the configurationTo invoke a configuration reset by switch Wizard IP Plus does not display the configuration sequenceTo perform the remote configuration Part 2 Remote configurationPort settings Networking issuesPositioning Wizard IP Plus in the network Placing Wizard IP Plus behind a router or firewallTo discover a DHCP-allocated IP address AddressingDNS addressing Firewall/router addressPorts Placing Wizard IP Plus alongside the firewallEnsuring sufficient security Power control sequences Power switching configurationTo configure the power sequences for each host computer To control two or more ports simultaneouslyKvmadmin command ip address parameters Kvmadmin utilityKvmadmin -getconfig kvm1.cfg Kvmadmin -setusers users.csvTo perform a flash upgrade Performing a flash upgradeConfigure network option Important Wait until the upgrade is completeThen please contact the system administrator for details Connecting to the Wizard IP PlusLocal connection To make a local connectionTo avoid the ‘hall of mirrors’ effect Remote connectionsTo connect using your Web browser To connect using the VNC viewerRemote connection by VNC viewer Remote connection by Web browserMenu bar Using the viewer windowWhen using the viewer window Mouse pointers ConfigureHost selection To select a hostPower control Access mode shared/privateAuto calibrate Re-synchronise mouseControls Single Mouse ModeResync Mouse Refresh ScreenVideo Settings When entering codesKeyboard Control InfoIncreased by 50% when a slow link is detected When the screen contains only host system informationSetting the Threshold manually PhaseTo remotely transfer files to a host computer Virtual MediaIf you need to enter a port number Connecting via dial up modem or Isdn linkDownloading VNC viewer from the Wizard IP Plus Supported web browsers Viewer encryption settingsWindows LinuxWhen logging on using VNC viewer, I cannot enter a username TroubleshootingGetting assistance UK +44 0118 965To access the local configuration menus Appendix 1 Local configuration menusUnit configuration Network configuration Modem configuration To reset the Wizard IP Plus configuration Reset configurationTo clear IP access control Clear IP access controlWhat is IP access control? Colour/Encoding Appendix 2 VNC viewer connection optionsAuto select Preferred encodingDisable all inputs view-only mode Enable all inputsInputs CustomiseMisc ScalingDefaults Save Defaults ReloadIdentities Load / SaveAppendix 3 VNC viewer window options Security Appendix 4 Browser viewer optionsEncoding and colour level Main configuration menu Logged on users Appendix 5 Remote configuration menusTo access the remote configuration menus User accounts Hardware Version Screensaver TimeoutFirmware Version Host Keyboard LayoutAdvanced unit configuration Time & date configuration IP Gateway IP Access ControlIP Network Mask To define a new IP access control entry Setting IP access controlTo reorder access control entries To edit/remove access control entriesModem port Serial port configurationPower control port To create a new host entry Host configurationHotkey sequences and Port Direct Port/host addressing using Port DirectHotkey sequences Port DirectSyslog Server IP Address Logging and statusTo copy and paste the log Net masks Appendix 6 Addresses, masks and portsIP addresses Operation with net mask Net masks the binary explanationBinary equivalent Binary octet afterSingle locations Calculating the mask for IP access controlAll locations Address rangesPorts Security issues with portsWizard IP Plus to power switch cable Appendix 7 Cable and connector specificationsPower switch to power switch daisy chain cable 9pin D-type femaleCreating macro sequences Appendix 8 Hotkey sequence codesPermissible key presses Appendix 9 Supported video modes General Public License Linux Safety informationEnd user licence agreement European EMC directive 89/336/EEC Radio Frequency EnergyFCC Compliance Statement United States Canadian Department of Communications RFI statementCertification notice for equipment used in Canada FCC requirements for telephone-line equipmentInstrucciones de seguridad Normas Oficiales Mexicanas NOM electrical safety statement Index Connections Country Web Site/Email Phone Fax BlackBox subsidiary contact details