Adder Technology 5000 manual Appendix 6 Addresses, masks and ports, IP addresses, Net masks

Page 79

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 Adder Technology in the UK is 0044 (0)1954 780044. This number consists of three distinct parts:

0044 connects from another country to the UK

(0)1954 selects the main telephone exchange in the Bar Hill area of Cambridgeshire, and

780044 is the unique code for Adder Technology within Bar Hill.

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

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

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 0044 of the phone number) and 154 is the most local (similar to the 780044 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?

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



78

Image 79
Contents AdderView CATxIP Contents Further information Index Many computers CAM formatsCascade installations Creating larger installationsEnterprise installations AdderView CATxIP 5000 features front and rear What you may additionally need What’s in the box  Single unit rack brackets MountingDouble unit rack brackets    ConnectionsFrom video monitor From USB keyboard and mouse Local userTo connect the local user port AdderView CATxIP Rear panelTo connect the IP network port for global users Global users IP network portAdderView CATxIP Front panel To connect a computer system Computer system via CAMTo connect the power supply Power in connectionOutput lead from Power adapter To connect and address the switch boxes Power control portSwitch Multiple video head connections Host computer port/channel Remote switching controlCable from serial Control device Overall initial configuration ConfigurationInitial configuration Security Main menuMenu layout HotkeysRegistering users and host computers General security and configuration stepsTo enable general security To set an Admin passwordTo clear a password and restore factory default settings What to do if the Admin password has been forgottenWhat is IP access control? Clearing IP access controlTo clear IP access control To configure the unit from a global user location Full configuration by global userAdderView CATxIP 5000 encryption settings Encryption settingsViewer encryption settings Positioning AdderView CATxIP 5000 in the network Networking issuesFirewall/router address Port settingsPlacing AdderView CATxIP 5000 behind a router or firewall AddressingDNS addressing To discover a DHCP-allocated IP addressEnsuring sufficient security Placing AdderView CATxIP 5000 alongside the firewallPorts To control two or more ports simultaneously Power switching configurationPower control sequences To configure the power sequences for each host computerUpgrading AdderView CATxIP 5000 models Recovering from a failed upgradeTo upgrade AdderView CATxIP 5000 models To invoke backup/recovery modeFront panel indicators Accessing the AdderView CATxIPSelecting a computer Local user accessSelect Host menu here you can select computers by name To select a computer using the Select Host menuWhen choosing Standard hotkeysLogging in and out Show All UsersConfirmation status box To enable/disable the confirmation boxUser preferences and functions Orange dot indicators in the Select Host menu What will I see when I first login? Global user accessHow do multiple users coexist? Options button Global user access via VNC viewerTo access via the VNC viewer To download the VNC viewerTo access via your web browser Global user access via web browserWhen using the viewer window Using the viewer windowMenu bar To select a host ConfigureMouse pointers Host selectionRe-synchronise mouse Access mode shared/privatePower switching Auto calibrateControls Keyboard Control Enable Sun TranslationWhen entering codes Video SettingsScreen contains only host system information Using automatic configurationsIncreased by 50% when a slow link is detected Setting the Threshold manuallyReduced Blanking Advanced Video SettingsShow All Users Custom Video ModesVNC hotkey selection If you need to enter a port number Viewer encryption settingsSupported web browsers US +1 888 275 TroubleshootingWhen logging on using VNC viewer, I cannot enter a username Getting assistanceTo access the local setup menus Appendix 1 Local setup menusFunctions Power ControlRestore Standard Mouse Restore IntellimouseScreen Saver Settings Blank, Moving LogoSettings Disabled, Enabled User PreferencesOSD Dwell Time Mouse SwitchingUser Timeout Global PreferencesLogon Security Setup OptionsAuto Logout IP address, net mask, VNC port, etc ConfigurationIP admin password, encryption settings, etc Completely resets the AdderView CATxIP 5000 unitUnit Configuration Network Configuration Options Port Serial ConfigurationSettings Power Control, Sync Units Settings 1200, 2400, 4800, 9600, 19200, 38400, 57600To reset the AdderView CATxIP 5000 configuration Reset ConfigurationTo access the remote configuration pages Appendix 2 Configuration pages via viewerMain configuration Logged on users User accounts Unit configuration Advanced unit configuration Time & date configuration IP Gateway Network configurationIP Access Control IP Network MaskTo edit/remove access control entries Setting IP access controlTo define a new IP access control entry To reorder access control entriesOptions Port Use Serial port configurationBaud Rate Sort Host configurationErase Host Configuration Add entry for unrecognised hostFor further details To get here Logging and statusTo copy and paste the log Syslog Server IP AddressLdap configuration Preferred encoding Appendix 3 VNC viewer connection optionsColour/Encoding Auto selectCustomise Enable all inputsDisable all inputs view-only mode InputsMisc Custom Size ScalingNo Scaling Scale to Window SizeLoad / Save Defaults ReloadDefaults Save IdentitiesAppendix 4 VNC viewer window options Encoding and colour level Appendix 5 Browser viewer optionsSecurity IP addresses Appendix 6 Addresses, masks and portsNet masks Binary octet after Net masks the binary explanationOperation with net mask Binary equivalentAddress ranges Calculating the mask for IP access controlSingle locations All locationsPorts Security issues with portsSee also Appendix 7 Cascading multiple unitsCascade tree Tips for successful cascading Connecting units in cascadeTo connect units in cascade Addressing computers in a cascade Using cascaded computersMulti-head synchronisation cable Appendix 8 Cable and connector specificationsAdderView CATxIP 5000 to power switch cable Power switch to power switch daisy chain cablePermissible key presses Appendix 9 Hotkey sequence codesCreating macro sequences Appendix 10 Supported video modes Safety information WarrantyGeneral Public License Linux End user licence agreement Canadian Department of Communications RFI statement Radio Frequency EnergyEuropean EMC directive 89/336/EEC FCC Compliance Statement United StatesHoe Huat Industrial Building Index Options port Upgrade failure Connection Baud rate