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

Page 64

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 three 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, 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 equalised 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?

®

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



63

Image 64
Contents ServSwitch Wizard IP Plus Contents Index Introduction Wizard IP Plus features front and rear VNC links. Check with Black Box for availabilityWhat’s in the box What you may additionally need CD-ROMSingle unit rack brackets MountingDouble unit rack brackets Connections Host computer links Keyboard and mouseSingle host computer or many? To make a keyboard and mouse linksHost computer links Video To make a video linkDigital video link Analogue video linkHost computer links Audio Host computer links Virtual MediaTo make an audio link To make an Virtual Media linkLocal console connections Keyboard and mouse To connect a local keyboard and mouseLocal console. Why? PS/2 style keyboard and mouse connectionsTo connnect a local video monitor Local console connections VideoAnalogue video link Digital video link Local console connections Audio IP network portTo connect local speakers To connect the IP network portPower supply connection To connect the power supplyModem/ISDN port To connect a modem or Isdn portPower control port To connect and address the switch boxesInitial configuration Part 1 Local configurationPart 1 Local configuration Part 2 Remote configurationTo perform the initial local configuration Admin passwordTime and Date EncryptionEncryption settings Wizard IP Plus encryption settingsViewer encryption settings EncryptionWhich restore setting do I use? To restore mouse operation when hot pluggingHot plugging and mouse restoration Recognising an IntelliMouse-style mouseResetting the configuration Wizard IP Plus asks for an unknown admin passwordTo invoke a configuration reset by switch Wizard IP Plus does not display the configuration sequencePart 2 Remote configuration To perform the remote configurationNetworking issues Port settingsPositioning Wizard IP Plus in the network Placing Wizard IP Plus behind a router or firewallAddressing To discover a DHCP-allocated IP addressDNS addressing Firewall/router addressEnsuring sufficient security Placing Wizard IP Plus alongside the firewallPorts Power switching configuration Power control sequencesTo configure the power sequences for each host computer To control two or more ports simultaneouslyKvmadmin utility Kvmadmin command ip address parametersKvmadmin -getconfig kvm1.cfg Kvmadmin -setusers users.csvPerforming a flash upgrade To perform a flash upgradeConfigure network option Important Wait until the upgrade is completeConnecting to the Wizard IP Plus Then please contact the system administrator for detailsLocal connection To make a local connectionRemote connections To avoid the ‘hall of mirrors’ effectTo connect using the VNC viewer To connect using your Web browserRemote connection by VNC viewer Remote connection by Web browserWhen using the viewer window Using the viewer windowMenu bar Configure Mouse pointersHost selection To select a hostAccess mode shared/private Power controlAuto calibrate Re-synchronise mouseSingle Mouse Mode ControlsResync Mouse Refresh ScreenWhen entering codes Video SettingsKeyboard Control InfoWhen the screen contains only host system information Increased by 50% when a slow link is detectedSetting the Threshold manually PhaseVirtual Media To remotely transfer files to a host computerDownloading VNC viewer from the Wizard IP Plus Connecting via dial up modem or Isdn linkIf you need to enter a port number Viewer encryption settings Supported web browsersWindows LinuxTroubleshooting When logging on using VNC viewer, I cannot enter a usernameGetting assistance UK +44 0118 965Appendix 1 Local configuration menus To access the local configuration menusUnit configuration Network configuration Modem configuration Reset configuration To reset the Wizard IP Plus configurationWhat is IP access control? Clear IP access controlTo clear IP access control Appendix 2 VNC viewer connection options Colour/EncodingAuto select Preferred encodingEnable all inputs Disable all inputs view-only modeInputs CustomiseScaling MiscDefaults Reload Defaults SaveIdentities Load / SaveAppendix 3 VNC viewer window options Encoding and colour level Appendix 4 Browser viewer optionsSecurity To access the remote configuration menus Appendix 5 Remote configuration menusMain configuration menu Logged on users User accounts Screensaver Timeout Hardware VersionFirmware Version Host Keyboard LayoutAdvanced unit configuration Time & date configuration IP Network Mask IP Access ControlIP Gateway Setting IP access control To define a new IP access control entryTo reorder access control entries To edit/remove access control entriesPower control port Serial port configurationModem port Host configuration To create a new host entryPort/host addressing using Port Direct Hotkey sequences and Port DirectHotkey sequences Port DirectTo copy and paste the log Logging and statusSyslog Server IP Address IP addresses Appendix 6 Addresses, masks and portsNet masks 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 Wizard IP Plus to power switch cablePower switch to power switch daisy chain cable 9pin D-type femalePermissible key presses Appendix 8 Hotkey sequence codesCreating macro sequences 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 statementFCC requirements for telephone-line equipment Certification notice for equipment used in CanadaNormas Oficiales Mexicanas NOM electrical safety statement Instrucciones de seguridad Index Connections BlackBox subsidiary contact details Country Web Site/Email Phone Fax