Black Box kv1161a, kv1081a manual Appendix 6 Addresses, masks and ports, IP addresses, Net masks

Page 80

Appendix 6 – Addresses, masks and ports

IP address, network masks and ports are all closely linked in the quest for one device to find another across disparate network links.

IP addresses

As a rough analogy, consider how you use the telephone system. The phone number for Black Box in the US is 1-724-746-5500. This number consists of four distinct parts:

1 connects from another country to the US,

724 connects into Pennsylvania,

746 selects the telephone exchange in Lawrence, and

5500 is the unique code for Black Box within Lawrence.

The important parts of the whole number depend on where you are. If you were based in the same local area as Black Box in the US, there would be no point

in dialling out of the US, or even out of the area. The only part of the whole number that you are interested in is the final part: 5500.

In a similar way to the various parts of the telephone number, the four sections (or Octets) of every IP address have different meanings or “weights”. Consider the following typical IP address:

192.168.142.154

192 is the most global part of the number (akin to the 1 of the phone number) and 154 is the most local (similar to the 5500 unique local code of the phone number).

When two network devices communicate with each other, they always “dial the whole number” regardless of their respective locations in a network. However, they still need to know whether the other device is local to them or not, and this is where the net mask comes into play.

Net masks

The net mask (or sub-net mask) informs a device as to its own position within a network. From this it can determine whether any other device is within the same local network or is situated further afield.

Taking the telephone number analogy given in the IP address section, in order to use the telephone system efficiently, it is vital for you to know your location relative to the person you are calling. In this way you avoid dialling unnecessary numbers.

When one network device needs to talk to another, the first thing that it will do is a quick calculation using its own IP address, the other device’s IP address and its own net mask. Suppose a device with address 192.168.142.154 and net mask 255.255.255.0 needed to communicate with a device at address 192.168.142.22. The sending device would perform several calculations:

1

Sending

Destination

 

 

192 168 142 154

device IP

device IP

192 168 142 22

 

address

address

 

 

 

Net mask

 

 

 

 

3

 

 

192 168 142 000

Result

 

192 168 142 000

 

2

 

 

 

192.168.142.000

= 192.168.142.000 ?

Answer: YES

 

 

 

4

Address

 

 

 

 

is local

1 The net mask is used to determine the local and global parts of the sender’s IP address. Where there is 255 in the mask, the corresponding address slips through, where there is a 0, it is blocked.

2 Where the net mask was 0, the corresponding part of the result is also zero - this section is now known to be the local part of the IP address.

3 The same process is carried out for the destination address, again using the sender’s net mask. Now the local parts of both addresses have been equalized to zero, because their values are not important in determining whether they are both in the same local network.

4 The results of the two net mask operations are now compared, if they match, the destination is local. If not, then the sender will still use the same full destination IP address but will also flag the message to go via the local network gateway and out into the wider world.

The reason for doing this? It makes the network, as a whole, much more efficient. If every message for every recipient was shoved straight out onto the Internet, the whole thing would grind to a halt within seconds. Net masks keep local traffic just that - local.

Want to know more?

®

   



79

Image 80 Contents
ServSwitch CX Uno IP Contents Further information Index SAM formats Global usersMany computers ServSwitch CX Uno IP features front and rear What’s in the box What you may additionally needDouble unit rack brackets MountingSingle unit rack brackets Connections SAMFrom video monitor From USB keyboard and mouse Local userTo connect the local user port ServSwitch CX Uno IP Front panel Global user IP network portTo connect the Global user IP network port IP network linkComputer system via SAM To connect a computer systemPower in connection To connect the power supplyOutput lead from Power adapter Exceeds 40 degrees CentigradePower control port To connect and address the switch boxesCascade tree Cascading multiple unitsSee also To connect units in cascade Connecting units in cascadeTips for successful cascading Using cascaded computers Addressing computers in a cascadeUSB-type and that it is plugged Multiple video head connectionsIt is recommended that Second SAM in each pair is a Cable from serial Control device Rear panel Remote switching controlHost computer port/channel Video off Configuration Overall initial configurationInitial configuration To access the main menu Hotkeys Main menuMenu layout SecurityGeneral security and configuration steps To enable general securityTo set an Admin password Registering users and host computersWhat to do if the Admin password has been forgotten To clear a password and restore factory default settingsTo clear IP access control Clearing IP access controlWhat is IP access control? Full configuration by global user To configure the unit from a global user locationViewer encryption settings Encryption settingsServSwitch CX Uno IP encryption settings Networking issues Positioning ServSwitch CX Uno IP in the networkPlacing ServSwitch CX Uno IP behind a router or firewall Port settingsAddressing Firewall/router addressTo discover a DHCP-allocated IP address DNS addressingPorts Placing ServSwitch CX Uno IP alongside the firewallEnsuring sufficient security Power switching configuration Power control sequencesTo configure the power sequences for each host computer To control two or more ports simultaneouslyUpgrading ServSwitch CX Uno IP models Recovering from a failed upgradeTo upgrade ServSwitch CX Uno IP models To invoke backup/recovery modeAccessing the ServSwitch CX Uno IP Front panel indicatorsLocal user access Selecting a computerTo select a computer using the Select Host menu When choosingStandard hotkeys Select Host menu here you can select computers by nameTo select a computer using mouse buttons To select a computer using mouse buttons Advanced methodLogging in and out To logTo enable/disable the confirmation box To change banner colors or disable the bannerConfirmation box Reminder bannerOrange dot indicators in the Select Host menu User preferences and functionsGlobal user access Global UserGlobal user access via VNC viewer To access via the VNC viewerEnter the ServSwitch CX Uno IP address here and click OK To download the VNC viewerGlobal user access via web browser To access via your web browserMenu bar Using the viewer windowWhen using the viewer window Configure Mouse pointersHost selection To select a hostAccess mode shared/private Power switchingAuto calibrate Re-synchronize mouseControls Enable Sun Translation When entering codesVideo Settings Keyboard ControlSetting the Threshold manually Using automatic configurationsIncreased by 50% when a slow link is detected Overlap Capture Advanced SettingsCustom Video Modes Supported web browsers Viewer encryption settingsIf you need to enter a port number Troubleshooting When logging on using VNC viewer, I cannot enter a usernameGetting assistance Techhelp@blackbox.co.ukAppendix 1 Local setup menus To access the local setup menusPower Control Restore Standard MouseRestore Intellimouse FunctionsUser Preferences Reminder BannerReminder Color Screen SaverMouse Switching Settings Disabled 2, 5, 10,15 or 20 MinutesUser Timeout Settings 1, 2, 5, 10, 30 Seconds, 1, 5, 10 MinutesSetup Options Settings Disabled, EnabledConfiguration IP admin password, encryption settings, etcCompletely resets the ServSwitch CX Uno IP unit IP address, net mask, VNC port, etcUnit Configuration Network Configuration Serial Configuration Settings Power Control, Sync UnitsSettings 1200, 2400, 4800, 9600, 19200, 38400, 57600 Options PortReset Configuration To reset the ServSwitch CX Uno IP configurationMain configuration Logged on users Appendix 2 Configuration pages via viewerTo access the remote configuration pages User accounts Unit configuration Advanced unit configuration Time & date configuration Network configuration IP Access ControlIP Network Mask IP GatewaySetting IP access control To define a new IP access control entryTo reorder access control entries To edit/remove access control entriesBaud Rate Serial port configurationOptions Port Use Host configuration Erase Host ConfigurationAdd entry for unrecognized host To create a new host entryLogging and status To copy and paste the logSyslog Server IP Address For further details To get hereLdap configuration Appendix 3 VNC viewer connection options Color/EncodingAuto select Preferred encodingEnable all inputs Disable all inputs view-only modeInputs CustomizeMisc Scaling No Scaling Scale to Window Size Custom SizeDefaults Reload Defaults SaveIdentities Load / SaveAppendix 4 VNC viewer window options Security Appendix 5 Browser viewer optionsEncoding and color level Net masks Appendix 6 Addresses, masks and portsIP addresses Net masks the binary explanation Operation with net maskBinary equivalent Binary octet afterCalculating the mask for IP access control Single locationsAll locations Address rangesSecurity issues with ports PortsAppendix 7 Cable and connector specifications Power switch to power switch daisy chain cable9pin D-type female 4pin RJ9 SLAVE2 end 9pin D-type femaleCreating macro sequences Appendix 8 Hotkey sequence codesPermissible key presses Appendix 9 Supported video modes Safety information General Public License LinuxEnd user licence agreement Radio Frequency Energy European EMC directive 89/336/EECFCC Compliance Statement United States Canadian Department of Communications RFI statementCertification notice for equipment used in Canada Normas Oficiales Mexicanas NOM electrical safety statement Instrucciones de seguridad Index Server Access Module connection BlackBox subsidiary contact details Country Web Site/Email Phone Fax