Beruflich Dokumente
Kultur Dokumente
GRAPHISOFT
2009 (version 1.0)
Network Basics
BasicVocabulary ....................................................................................................................3 LocalAreaNetworks...............................................................................................................5 ExamplesofLocalAreaNetworks ........................................................................................5 Example1:LANoftwocomputerswithoutanyothernetworkdevices ...............................5 Example2:LANwithmorethan2computersandaconnectingdevice................................6 Example3:LANwithmorethan2computersandarouter.................................................6 Example4:LANwithmorethan2computers,arouterandaconnectingdevice ..................7 NetworkDeviceswithinaLocalAreaNetwork ......................................................................8 IPAddress..........................................................................................................................9 SubnetMask ....................................................................................................................10 LocalAreaNetworkwithSubnetworks ..............................................................................11 IPAddressinaLANwithsubnetworks...............................................................................11 SubnetMaskinaLANwithsubnetworks ...........................................................................12 Anexampleofanetworkbeforeandafterusingsubnetting.................................................12 DHCPserver.........................................................................................................................14 TypicalcharacteristicsofaSmallOfficeLAN ...........................................................................14 IPAddressontheInternet(PublicAddress) ............................................................................15 NetworkAddressTranslationNAT....................................................................................16 PortAddressTranslation(PAT) ..........................................................................................18 ACclientconnectingtoaBIMserverfromthesameLAN .....................................................18 ACclientconnectingtoaBIMserverfromoutsideoftheofficeLAN .....................................19
Network Basics
Basic Vocabulary
Computer network: is a group of interconnected computers. It allows computers to communicate with each other and to share resources and information. Server application: An application that receives requests from applications and offers services as responses to these requests. Server applications can be run both on server or client computers. Client application: An application that addresses requests to a server application and gets services from the server application based on these requests. Client applications can be run both on server or client computers. Server: offers services to multiple clients, each client in general will need to prove who it is ("authentication") and will need to have rights to the requested service ("authorization). Client: A computer that uses the services of a server. Host: Any computer within a network. LAN: Local Area Network, for example your offices network. IPAddress: A number that uniquely identifies every host on an IP network. A
o The Transmission Control Protocol (TCP) provides ordered delivery of packets of data (called datagrams) from a program on one computer to another program on another computer. The TCP protocol is used within Web browsers, email, and file transfer among other things. Typically its management tasks, include TCP datagram size, the rate at which datagrams are exchanged, and the regulation of network traffic to prevent congestion.
o The Internet Protocol (IP) is responsible for splitting up the TCP packets into smaller parts and forwarding these parts to the recipient.
Network Basics
Router: Responsible for finding an appropriate path through the network. Firewall: A program that blocks unwanted/unauthorized or dangerous network traffic from proceeding from one network to the other. Hub: Is used to connect machines and often used to enhance the strength of the signal to overcome the impedance of the cabling. Messages are not examined. Bridge,Switch: Are Intelligent Hubs, they are meant to examine traffic to
Network Basics
connected by either of the technologies can be regarded as part of the same LAN.
The computers are connected through a cross-over Ethernet cable. This is needed because there no Hub, Bridge, Switch or Router is used for this network. Regular Ethernet cable can be used between a computer and one of the four mentioned network devices. Connection of this LAN to another LAN can be made if one of the computers has another network card or WiFi card installed. Connection to the Internet can be made via a Modem connected to one of the computers.
Network Basics
Figure 2. Example 2 of LAN Computers are connected through a Hub, Bridge or Switch. Connection of one computer to another LAN at the same time can be made if one of the computers has another network card or WiFi card installed. Connection to the Internet can be made via a Modem connected to one of the computers.
Figure 3. Example 3 of LAN Computers are connected through a Router. Connection of this LAN to another LAN or to the Internet can be made through the appropriate interface of the router.
Network Basics
Example 4: LAN with more than 2 computers, a router and a connecting device
Figure 4. Example 4 of LAN The computers are connected through a Hub, Bridge or Switch. Connection to the Internet can be made via the Router itself connected to the Hub, Bridge or Switch.
Network Basics
Network Basics
IP Address
In a Network to every Network Card an IP Address has to be assigned. An IP address is a series of 0-s and 1-s grouped in 4 octets (octet means 8 digits). An example for this is: 11000000 10101000 10001000 00000010.
For making the IP address more human readable 8 digits are shown as their decimal equivalent. This way the previous IP address will be shown as 192.168.136.2.
For Private IP Addresses the following three ranges of addresses are recommended:
Figure 6. Private IP addresses (a) In a LAN only one of the three ranges can be used at once.
Figure 7. Private IP addresses (b) In a LAN the network ID part has to be the same for all the devices while the host ID part has to be different for all the devices.
Network Basics
Subnet Mask
The subnet Mask indicates which part of an IP address is regarded as a Network ID and which part is regarded as a Host ID. The length of the Host ID defines implicitly the maximum number of Hosts in a LAN. The Network ID is the part of the IP address that identifies the Network. The Host ID is the part of the IP address which identifies the particular host in the network Bits of a Network ID are represented by a 1 in the mask. Bits of a Host ID appear as a 0 in the mask.
10
Network Basics
Figure 9. Sub-networks
11
Network Basics
The network without subnetting has been assigned a network ID of Class B address 172.16.0.0. In the second network, the first four bits of the host ID are used to divide the network into two small networks, identified as subnets 16 and 32. Both networks still appear to be a single network identified as 172.16.0.0. For example, the out- side world considers the device at 172.16.16.22 to belong to the 172.16.0.0 network. A packet
Network Basics
sent to this device will be delivered to the router at 172.16.0.0. The router then considers the subnet portion of the host ID to decide whether to route the packet to subnet 16 or subnet 32.
Figure 13. Before and After Sub-netting (Network IDs and Masks)
13
Network Basics
DHCP server
Every host on a TCP/IP network must have a unique IP address. This is done by a DHCP server. When a new host comes online, it must be assigned an IP address within the correct range of addresses for the subnet. The DHCP server automatically configures the IP address for every host on a network, assuring that each host has a valid unique IP address. The request from the client for an IP address and the answer with the given IP address is transferred using the DHCP (Dynamic Host Configuration Protocol). The DHCP server automatically reconfigures IP addresses as hosts come and go.
14
Network Basics
15
Network Basics
16
Network Basics
It discovers that 192.168.1.100 is waiting for that reply, so it changes the destination address to 192.168.1.100 and sends the packet on
17
Network Basics
18
Network Basics
computer forwards the packet to the desired server application. In this case this is the BIM server application. The BIM server application reads the packet, it identifies the source IP address of the sender computer and the answering packet will be sent to this IP address.
19