Bus Topology Bus Topology have the following characteristic : 1.Nodes connective serially alongside cable, and at both tip of cable closed over with terminator 2.Very simple in installation, also very economic in the case of expense 3.Packages data is sending each other at one cable of coaxial (cable the example of RG 58) so that if node which in circuit plenty of, network performance will go down cause often happened collision 4.Do not be needed by hub at network like this, which needed many is T-Connector in each card Ethernet 5.Problem which often happened is if one of the damage card Ethernet, or impedance at cable far above or under 50 ohm (for the cable of RG 58), hence entirety network earn down, so that all node cannot communicate in network
Ring Topology Ring Topology have the following characteristic : 1.Nodes connective serially alongside cable, with network form like circle 2.Very simple in layout 3.Packages data emit a stream of in one way so that collision can be obviated 4.Problem faced is equal to bus topology
Star Topology Star Topology have the following characteristic : 1.Each node communicate direct with concentrator, become data traffic emit a stream of from node to concentrator, then the data in broadcast to all node which in circuit to concentrator 2.Because each data package which step into concentrator then in broadcast to all node which in circuit to concentrator, hence if node which in circuit plenty of (for example wearing hub owning 32 port, and all port loaded), collision will often happened so that downhill network performance. But this matter do not happened if hub changed with hub switch, because switch have ability to chosen one band of is target of data, do not in broadcast to all port 3.Very easy developed by because every node only in circuit directly to concentrator 4.If one of the damage card Ethernet, or one of the broken cable, hence overall of network still communicate, do not happened down at entirety network 5.Type used cable usually cable have type to of UTP
Ethernet Card Is first time developed by Xerox of Corp year 70-an and popular in the year 80-an which is accepted as by family of IEEE802.3. Work pursuant to network broadcast where each node receive delivery data by other node. maximum Data length till 1,5 Kbytes. Owning address designed by factory as identity every Ethernet. Speed had now have reached 100 Mbps - 1 Gbps and have the character of Plug Play and, its meaning automatically can detect by operating system of Linux and of Windows when attached in computer. The Way of job : node will deliver data package seen beforehand workload of network (network). If business will await silent until, then node deliver its package. If happened collision (data collision) both of node deliver signal into network, then node will desist to deliver data, and after network have do not stir hence at random is trying each other to return.
Hub / Switch Hub / Functioning Switch as connective concentrator some computer in one network also to connect some cable segment so that can reach broader distance. Hub / Switch do not have microprocessor. Way of its activity is to strengthen signal. UTP Cable (Unshielded Twisted Pair) UTP Cable generally use 24 AWG. Required by RJ-45 connector and of Crimp tool to pair cable to its it and there no cross between feet of connector. Consist of strand of metal couple of Rx (Receive) and of Tx (Transmit). Its Characteristic is : a couple of cable which is turned around so that can lessen noise and interference, can only handle one data canal, can transfer maximal data until 100 Mbps and its contrary Polarity 180° so that noise will is negating each other moment reach its back part.
In general the so called as computer network is some computer able to interact and conduct communications one another by using peripheral of network like card Ethernet, bridge, modem and others. Between peripheral of the network connected to pass/ media, can wireless (microwave) and also with cable media like UTP, STP and also of fiber optic. Advantage use computer network for example :
Can conduct transfer of file or data
Usage of printer together by all computer unit which in circuit
Communications between employees in an departmental environment become more effective with existence of Email program and Chatting
Data access between computer can limit from undesirable consumer pass installation of password in every computer
If one of the computer unit in circuit with Internet pass or modem of LAN, hence all or some of unit computer at network earn also access internet with method of sharing connection
Type Computer Network If seen from scope side and its reach, network can be divided to become some type, that is :
LAN (Local Area Network). Only there are one or two server and also some client and its extent only there are in one location, building or room
WAN (Wide Area of Network). Representing alliance of LAN, which is just its scope earn one location, for example story building or earn spread over in some location in all the world. Network this type of requiring to minimize one server to every LAN, and require to minimize two server having different location to forming it
Internet. Representing a group of spread over network in all the world which each other in circuit form one big network of computer. In this network some service which is often used by FTP, Enamel, Chat, Telnet, Conference, News Group and of Mailing List. Usually this network use protocol TCP / IP
Intranet. this Type Network represent alliance of LAN / WAN with Internet. If seen from its extent, hence this network is type of LAN / WAN giving service like service of Internet to its terminal of him. Difference of Intranet and Internet is Intranet only serving one just certain organization
Taking example computer of Linux you is him must be continued to network, but why do not walked. How to look for wrong soybean cake of him, at the same time correct ?
First, please conceive that if you send package of network, medley the way shall be as follows :
Application
Protocol TCP / IP
Driver Kernel
Card Network
Cable of Network
Other Computer (Gateway)
Internet
In a word, algorithm of trouble shooting is :
TEST of DEVICE. If correctness hop to TEST of TCP / IP. If wrong SET last DEVICE try again. If still wrong also, check CARD and of DRIVER kernel of Linux your
TEST of TCP / IP. If correctness hop to TEST of PING, if wrong to SETTING TCP / last IP try again
TEST PING-GATEWAY. If correctness hop to TEST of PING, if wrong CHECK CABLE
TEST PING-INTERNET. If correctness yes have, finished. If is wrong, set last routing try again. Extension of Internet your surely is breaking
To noting visitor by using Address IP. As usual for first step which we make is to make name database at Mysql which we later will us as storage media. Table Scrip at database shall be as follows.
CREATE TABLE `ipcounter` (
`id` int(21) NOT NULL auto_increment,
`ip` varchar(250) default NULL,
`hits` int(250) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM ;
After success making IP counter, step hereinafter is to make connection database used to connect web with database, so that application which we make can update finely. Following is PHP connection scrip with Mysql. (keep by the name of config.php)
$hostname = “hostname”;
$username = “username”;
$password = “password”;
$database = “name database”;
$connect = mysql_connect ($hostname, $username, $password) or die
(“connection database wrong”);
mysql_select_db ($database, $connect) or die (“database not found”);
?>
After making connection scrip with database of Mysql do step here in after is making index page. This page is we us as appearance of IP and visit from the visitor. For example your IP is 127.0.01 have visited this site web counted 17 times. Following scrip used to present data of IP and visit amount. (keep by the name of index.php)
Multicast is one of the result of idea of innovative able to assisting many in make-up of service of communications especially in the case of network of Network. In this handing out will a little a few to regarding Multicast this, where which in a word also he represent alliance from nature of had by communications of Unicast and communications of Broadcast. Excess and risk communications of Multicast this earn us know from comparisons which we conduct with methods other communications, where which later lacking of from communications of Multicast this represent new challenge is we which must overcome in the future.
Multicast IP represent IP datagram as within reason other datagram. the differentiating of it is, field of destination address at IP multicast datagram will contain wrongly one IP address which including class of multicast address. By using multicast address as address of is target of, we earn to conduct address at a group of host at the same time with only delivering one just datagram. In this handing out will study bases communications of multipoint, address multicast, needed to extension and condition is delivery and acceptance of multicast datagram, network design of multicast and various aspect which relate to network of multicast like routing multicast.
Traditional application at network of TCP / IP generally only entangling communications between two host. In its growth of consumer of network start to feel requirement to conducting communications entangling more than two side concurrently. some application at computer network start to require communications of multipoint, among others application of chat with, video and audio of broadcast to make radio broadcast and of TV at computer network, and also video application of conference having the character of multimedia, and real-time of interactive.
If evaluated from way of acceptance of datagram by host at network of TCP / IP, there is some ways able to be gone through for the designing of network application having the character of multipoint that is :
1 Unicast
Very classic Point-To-Point communication use IP datagram with mode unicast. At mode of unicast each every datagram have address of is target of unique (property of host certain). communications of Multipoint can be realized by making some relation at the same time at some host, what is each delivering unicast datagram. Coat application will deliver one coffee to each every host becoming communications member this multipoint. This technique very simple for implementation, because its principle only pursuant to ability of multitasking from an host to serve various application from some host at the same time.
But that way the way of this have limitation, especially if amount of host in concerned in communications of multipoint this plenty. Corresponding Host of multipoint have to make communications relation counted host in concerned. Besides improving work load each host in concerned, traffic generated by this communications will be collapsible duplicate counted host in concerned. This matter will generate the problem of usage of Bandwidth. Paying attention picture 1 for this illustration :
Picture 1 Replication datagram by host in mode of unicast.
From picture, seen that host of is source of performing a relation with A host, host B, Host C (third of located him in network which is equal to host of is source of, namely network 1) and D host (lay in network 2). In this case application the run is application multimedia (video, audio, and conference text), where host of is source of sending information which is same to entire / all host related to him. At host of is source of, happened replication datagram counted amount of host performing a relation with him. Important to remember that content each every this is same datagram precisely only differing just target address (at field of destination address).
Several things able to highlight from mode scenario of multi-unicast this is :
This technique is the way of simplest, because do not need changes at network side or module of IP in each host.
For the communications of point-to-multipoint, work load of host source will mount proportionallywith amount of host related to him.
Usage of bandwidth by source host will mount because source host have to deliver is same information counted amount of host related to him, although the hosts reside in at one media shared like Ethernet. In example in of, host of is source of using bandwidth equal to 4 times needed to bandwidth delivering information to an host.
Let us see how the land lies if there are 30 host related to host of is source of. If to deliver peripatetic picture or video live with quality is needing bandwidth equal to 100 kbps, hence generated by bandwidth aggregate is host of is source of to serving 30 host become equal to 3 Mbps. conceiving also if half (15) is host exist in network 2, while network 1 and 2 attributed to channel of WAN which enough quickly like T1 (1,54 Mbps . pertained Channel is the speed high direct collapse effect of traffic which is very mount is the. From breakdown of above, we earn concluding weakness of this method namely :
work load of Host will mount.
very big Bandwidth need for the communications of multi-point entangling amount big host.
While advantage of this method is to :
Representing simplest design for implementation.
Do not give burden at host which not such a target of datagram.
2 Broadcast
Way of other to submit is same information to entire host is with method of broadcast. Conception Broadcast at computer network (Specially at network layer in protocol family of TCP / IP) and have been explained by at previous chapter. To delivering information to entire/all host exist in is same network, host enough delivering one addressed datagram to pertinent network address broadcast. Because entire / all host which is on one network have is same address broadcast, hence entire / all host will accept the datagram mentioned as information which must be accepted. Paying attention picture 2 for the illustration of this broadcast :
Picture 2 Delivery of datagram to address broadcast.
In this way, bandwidth generated by video relation of conference in an network do not base on the amount of host in concerned. And so it is with burden of host consignor, because only enough send one datagram able to be accepted by all host at network. However, host which do not want to belong at video of conference this also accept the datagram, because using is same broadcast. This matter will add activity of host which keep off because have to process the datagram before is finally disregarded. Besides, each every network have address broadcast which different each other. If this datagram is continued by router to each every address broadcast of network which in circuit with him, hence mentioned datagram can will spread over to various network which do not wish to accept the datagram.
3 Multicast
Way of third to make communications of multipoint is by joining both excellence is way of above in the case of delivery of datagram, namely :
Delivery only delivering one datagram to reach entire / all host representing member of group
Datagram only accepted by a number of referred as by certain host of group host.
Way of this referred as by mode of multicast, namely by mentioning one address multicast as address destination of sent datagram. As which have been explained, address multicast do not wear for address an host, is but addressed to address a number of host merging into one group running is same application. Paying attention picture 3 as illustration in delivery of datagram at communications of multipoint.
Picture 3 Delivery of datagram to an address multicast
At picture above, a number of host conduct communications of multipoint to run an application with. Host in concerned in communications of multipoint this some of is on network 1, some of again at network2. Between network 1 and network 2 connected to through router. One of the host (at picture referred as by host source) delivering datagram to an address multicast (taking example 224.22.33.44). To be more facilitate, this address multicast we is Identification with group 1, caused by possibility of usage of other address multicast as group 2, group 3 , etc. this Host Source only delivering 1 datagram to network. At network 1 using media shared, entire / all host in fact hear this datagram. Special to hosts in concerned and express itself as group 1 (owning address multicast 224.22.33.44 , datagram will be processed furthermore by coat in of IP, whereas to host which keep off (host C), datagram will be disregarded as other datagram which have address of is target of not to it.
At network 1 using media shared, entire / all host in fact hear this datagram. Special to host-host in concerned and express itself as group 1 (owning address multicast 224.22.33.44, datagram will be processed furthermore by coat in of IP, whereas to host which keep off (host C), datagram will be disregarded as other datagram which have address of is target of not to it. Constructively router which have owned ability of multicast, this datagram is distribute to network 2 caused by member of group 1 which reside in at network 2 any is amount of host at network 2 this. Decision to continue or do not continue multicast datagram to other network arranged in an protocol mechanism. With this protocol, multicast router can know at particular network there are member
an group. Its conclusion, usage of mode of multicast in form of communication of multipoint this have excellence some that is :
work load of Host light consignor enough, because needn't conduct datagram replication.
requirement of bandwidth for the transition of datagram do not base on the amount of host which involve. One or one hundred host in concerned at one network, bandwidth which is need being equal. And so do if at network 2 there are tens of host as member of group, router only require to continue one datagram, just to reach entire / all host.
While weakness (can be read as consequence) this method is to :
Needing new standard at protocol of IP and data protocol of link layer (for example Ethernet) to be able to send and accept multicast datagram.
Needing new protocol mechanism to arrange allocation of multicast address as certain group, membership of host at one particular group in an network, datagram routing multicast, etc.
In communications between network required a interface between program connective application of communications some protocol ( program applications interface, API). In this case API represent interface which look to all programmer. In consequence, used API types very depend on system language and operation of programming used. API to be studied to work for network in system operate for UNIX by using language of programming C. In fact for the scope of this is there are more than one API type, but to be included here is Barkeley Socket Interface. To the transfer of having the character of connection-oriented process that happened is : first time server put into effect, then followed by client which later; then will conduct connection to server. As for its illustration shall be as follows :
Socket Address
System Call related to networking at BSD always addressing its, it to a structure of address of socket ( address socket). structure defined in file. header .
System Call Socket
Some elementary call system which used to conduct programming network :
a. socket system call
b. bind system call
c. connect system call
d. listen system call
e. accept system call
Definition Protocol
Server run at port 1500 and listen at port 1500, later then client run for connection to port 1500. After connection formed by client deliver and address place port of listen – its to server. Later then after server accept the information the of client hence server make connection to client pursuant to information port and address of listen client. After connection formed by hence server deliver ack to client and from side of client accept ack delivered by server.
Hereinafter side of client ask and user name of password. After and user name of password, hence client deliver request to server to conduct file upload. Later then server pass in client to the transfer of file. After client accepting the permission hence client the transfer of file to server. Later then after is altogether sent, hence client deliver ack that transfer of file which is the conducting of have.