Black Box KV0424A-R2, KV1424A-R2, KV1416A-R2, KV0416A-R2 manual 154, Net masks the binary explanation

Page 98

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 servers – 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.



97

Image 98
Contents ServSwitch CX Contents Further information Index Introduction ServSwitch CX features front and rear Front panel buttonsServSwitch CX ServSwitch CX with IP What’s in the box What you may additionally needConnections MountingRack brackets Connections Local user To connect the local user portTo connect a remote user Remote user via CX Remote extenderCable lengths for remote user locations Global user IP network port To connect the Global user IP network portServer system via SAM To connect a server systemModem/ISDN port To connect a modem or Isdn adapterPower in connection To connect the power supplyPower control port To connect and address the switch boxesCascading multiple units See alsoHow cascade connections operate Addressing servers in a cascade 43 41Tips for successful cascading Connecting ServSwitch CX units in cascadeNumbering diagram To connect units in cascadeTo test a specific link Using cascaded serversTesting specific links to cascaded servers Slave ServSwitch CX Multiple video head connectionsOverall initial configuration To access the configuration menu global users Configuration menusTo access the configuration menu local and remote users HotkeysTo enable general security General security and configuration stepsConfiguration menus layout To set an Admin passwordRegistering users edit user list Admin userAccess to all servers Press Access to no servers Press To create/edit user accountsTo create/edit server entries Tips when creating/editing server entriesRegistering servers edit computer list See Remote user skew adjustment for details Video compensationVertical edges of images Server video compensationTo apply server video compensation To apply remote user video compensation Remote user video compensationTo display a suitable high contrast image If the image controls cannot provide a crisp imageUsing the supplied skew pattern Remote user skew adjustmentTo use skew adjustment Creating a skew test patternNum Lock for Red, Caps Lock for Green To select an autoscan period To select an autoscan modeAutoscanning To define an autoscan listSaving and restoring configuration settings Preparations for configuration save/loadTo reset the ServSwitch CX with IP models What to do if the Admin password has been forgottenTo reset ServSwitch CX models Configuration screensHot plugging and mouse restoration Which restore setting do I use?To restore mouse operation when hot plugging Recognising an IntelliMouse-style mouseTo configure IP-specific settings Initial IP configurationTo use the initial IP-configuration sequence User Accounts IP configuration by global userTo configure IP details from a global user location Viewer encryption settings Encryption settingsServSwitch CX with IP encryption settings Networking issues Positioning ServSwitch CX with IP in the networkAddressing Placing ServSwitch CX with IP behind a router or firewallPort settings To discover a DHCP-allocated IP address DNS addressingEnsuring sufficient security Placing ServSwitch CX with IP alongside the firewallBy configuration page via viewer PortsTo configure the power sequences for each host server Power switching configurationPower control sequences To control two or more ports simultaneouslyKvmadmin -getconfig kvm1.cfg Kvmadmin utilityKvmadmin command ip address parameters Kvmadmin -setusers users.csvItems required to use the upgrade utility Performing upgradesUpgrading ServSwitch CX models and SAMs To use the KVM Firmware Uploader utilityWhere Vxxx is the upgrade file version number Select the items to be upgradedSelect the upgrade file to be used Commence the upgradePerform upgrade button Upgrading ServSwitch CX with IP modelsTo upgrade ServSwitch CX with IP models Computer button and numeric indicator ServSwitch CX modelsServSwitch CX with IP models User button and numeric indicatorTo select a server using the front panel controls Local and remote user accessTo gain access as a local or remote user Selecting a serverKeep Pressed down until all other Numbers have been entered To select a server using hotkeysStandard hotkeys To select a server using mouse buttons Advanced method To select a server using the on-screen menuTo select a server using mouse buttons Confirmation box Logging in and outSelecting cascaded servers Reminder banner To change banner colours or disable the bannerTo use the Routing status feature Routing statusUser preferences and functions Power switching via configuration menuTo switch a server on or off Global user access To download the VNC viewer Global user access via VNC viewerTo access via the VNC viewer Global user access via web browser To access via your web browserMenu bar Using the viewer windowWhen using the viewer window To select a host ConfigureMouse pointers Auto calibrate Access mode shared/privatePower switching via viewer Re-synchronise mouseMouse Control Single Mouse ModeControls Resync MouseVideo Settings KVM switch menuWhen entering codes Keyboard Control InfoSetting the Threshold manually Using automatic configurationsIncreased by 50% when a slow link is detected Host system informationTo initiate a dial up link Access via dial up modem or Isdn linkIf you need to enter a port number To enter a port number in a Web browserWindows Viewer encryption settingsSupported web browsers LinuxGetting assistance TroubleshootingWhen logging on using VNC viewer, I cannot enter a username Techhelp@blackbox.co.ukConfigure IP port Appendix 1 Configuration menusTo access the configuration menus Functions Reminder Banner User PreferencesOSD Colour Reminder ColourGlobal Preferences Mouse SwitchingAutoscan Mode Screen SaverRS232 Mouse Type User TimeoutOSD Dwell Time Mouse TypeLanguage Setup OptionsKeypads Controls Exclusive UseAutomatic Logout Advanced Options DDC OptionsConfigure IP port Unit ConfigurationNetwork Configuration Modem Configuration Reset ConfigurationTo clear IP access control Clearing IP access controlWhat is IP access control? Appendix 2 Configuration pages via viewer To access the remote configuration pagesUser accounts Hardware Version Unit configurationAdmin Password Firmware VersionAdvanced unit configuration Time & date configuration MAC address Network configurationIP Access Control IP Network MaskTo reorder access control entries Setting IP access controlTo define a new IP access control entry To edit/remove access control entriesModem port Serial port configurationPower control port Add entry for unrecognised host Host configurationErase Host Configuration To create a new host entryExamples Port/host addressing using Port DirectPort Direct Syslog Server IP Address Logging and statusTo copy and paste the log For further details To get hereAuto select Appendix 3 VNC viewer connection optionsColour/Encoding Preferred encodingInputs Enable all inputsDisable all inputs view-only mode CustomiseScaling MiscIdentities Defaults ReloadDefaults Save Load / SaveAppendix 4 VNC viewer window options Security Appendix 5 Browser viewer optionsEncoding and colour level Net masks Appendix 6 Addresses, masks and portsIP addresses Want to know more?154 Net masks the binary explanationAll locations Calculating the mask for IP access controlSingle locations Address rangesSecurity issues with ports PortsRS232 serial flash upgrade cable Appendix 7 Cable and connector specificationsPower switch to power switch daisy chain cable Multi-head synchronisation cable Creating macro sequences Appendix 8 Hotkey sequence codesPermissible key presses Appendix 9 Supported video modes Safety information General Public License LinuxEnd user licence agreement FCC Compliance Statement United States Radio Frequency EnergyEuropean EMC directive 89/336/EEC Canadian Department of Communications RFI statementFCC requirements for telephone-line equipment Certification notice for equipment used in CanadaNormas Oficiales Mexicanas NOM electrical safety statement Instrucciones de seguridad109 Index 111 112 BlackBox subsidiary contact details Country Web Site/Email Phone Fax