Why should we care about the OSI Reference Model ?
What is the main purpose for creating this osi model?
why it is a layered model?
message’s can transfer from one place to other .and the message not demaged for other . so this model can be create . they have 7 layers r there
1. physical level
2.data level
3.tranport level
4.session level
5.application level
6.network level
7.presentation level
when osi model is nt created no to system of different manufracture can communicate because they all are having different protocols. and osi model give them standard protacols which are universal. hence system manufracture by different companies can easily communicate.
What is a different between switch and Hub?
HUb: limiteded port compare to switch.less speed compare to switch because
more collision.
Switch: To Avoid collision we use switch. In switch Each Port having own collision Domain.
HUB:Hub is a layer-1 device,in this data transmission in the form of bits.
SWITCH:Switch is a layer-2 device,in this data transmission in the form of frames.
If you are given the IP address can u tell how many computers can be connected?What do you look at?
Depending on the address given (Class A, Class B, or Class C) you can determine how many hosts are available. This is also subject to whether the address is classless or classful. If it is classful the a Class C address can have 254 valid hosts, a Class B can have 64,534 and a Class A can allow over 16 million hosts!
If the address is classless then more focus is on the subnet mask. To illustrate a quick example, if you had the subnet address 255.255.255.240, you know that it is a Class C address, but the last octet has been subnetted. Converting 240 into binary gives 11110000. This means that 4 bits were used for subnetting (1111) and four bits are left for network addresses (0000). If you did all the possible ranges in binary, starting with 0000 and working all the way til 1111 you see that you get 16 binary instances. Knowing that you cannot use the first and last address you are left with 14, and since the .240 address splits the octet down the middle, you get 14 subnets and 14 valid hosts.
What are the two types of transmission technology available
1 synchronous txn
2 asynchronous txn
What is RAID
RAID – Redundant Array of Independent / Inexpensive Disks. RAID has many different levels such as 0 1 2 3 4 5 10 01 etc.
We use RAID to protect our data from hardware failure (Hard disk). RAID 5 is used commonly for safeguarding our data.
What is the Network Time Protocol
The Network Time Protocol (NTP) is a protocol for synchronising the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP as its transport layer. It is designed particularly to resist the effects of variable latency.
Difference between the communication and transmission.
Transmission is a physical movement of information and concern issues like bit polarity, synchronisation, clock etc.
Communication means the meaning full exchange of information between two communication media.
Transmission means the transfer of data from the source to the destination.
Communication is the process of sending and recieving data by means of a dta cable that is connected externally.
transmission:transfer of data only in one direction.
communication:transfer of data from both side…
What is subnetting? why is it used?
A portion of a network that shares a common address component. On TCP/IP networks, subnets are defined as all devices whose IP Address have the same prefix. For example, all devices with IP addresses that start with 100.100.100. would be part of the same subnet. Dividing a network into subnets is useful for both security and performance reasons. IP networks are divided using a subnet mask
Supernetting is dividing the Subnet into different subnets each one of them has its particular required needs , such as Number of Networks and Number of Hosts
What is a VLAN?What does VLAN provide?
A technology called VLAN (Virtual LAN broadcast domains logically segmented on an Ethernet switch) trunking that was once primarily the domain of network switches has now trickled down to the rest of the Data Center to address these issues. Now it is possible for these multi-homing devices to be multi-homing in function without the need for multiple physical network adapters and the additional infrastructure associated with them. VLAN trunking allows a single network adapter to behave as “n” number of virtual network adapters, where ”n” has a theoretical upper limit of 4096 but is typically limited to 1000 VLAN network segments. In the case where a single gigabit Ethernet adapter is trunked in place of using multiple FastEthernet adapters, higher performance at a lower cost while increasing flexibility can be achieved. This really is the best of all worlds. In this article, I will give you an overview of VLAN trunking, how it works what it is used for.
VLAN is a technology by which we can administratively assign different ports of the same layer2 switch to different subnetworks. This is particularly useful when different departments of a company have offices in different floors of the same office. The different departments can be connected via a layer2 switch , which is having configuration for other subnetwork also. So practically the same switch acts as if it is more than one. Packets destined for the specific subnetwork are forwarded to those ports only. But the switch does not make any routing decisions. For interconnecting different subnetworks, routers are needed.
VLAN essentially provides segmentation between different subnetworks.
What is PING utility?
PING stands Packet Internet Gopher. This is a utility for ensuring connectivity between computers . ICMP protocol works behind this utility. Under it , sending node sends packets to destination node and reply is received if there is proper communication between two.
PING : Packet Internet Gropper
it’s a diagnostic utility , which diagnose devices connectivity.
it use ICMP: Internet Control Messaging protocol to send echo requests ( usually 4 packets) and receive echo replies (4 packets)
What is supernetting?why it is used
upernetting refers to increase host and reduce the subnet’s. It mean reduce the network bits and increase the host bits. We do use supernetting because when the PCs in the network increase where we need the more valid IP’s in the same network.
What is the difference between collision domain and broadcast domain
Broadcast Domain: A set of all devices that recieve broadcast frames originating from any device within the set. Broadcast domains are typically bounded by routers (or, in a switched network, by VLANs) because routers do not forward broadcast frames.
Collision Domain: In Ethernet, the network area within which frames that have collided are propagated. Repeaters and Hubs prpagate collisions, LAN switches and bridges do not.
What is the difference between physical address and logical address
A Physical address is a 48-bit flat address burned into the ROM of the NIC card which is a Layer1 device of the OSI model. This iis divided into 24-bit vendor code and 24-bit serial address. This is unique for each system and cannot be changed.
A Logical address is a 32- bit address assigned to each system in a network. This works in Layer-3 of OSI Model. This would be generally the IP address.
Simply we can say that Physical address is MAC address (Media Access Control) which inbuilt and Logical Address is the IP which is given manually.
How can we configure dhcp features in an switch?
DHCP is only available on newer IOS-based switches. For example, Catalyst 3550 and 3750 offer DHCP.
Let us take Cisco 2611 router running IOS12.2
To begin, connect the router’s Ethernet port to a switch, and connect the switch to a laptop, which will serve as the DHCP client.
To configure Cisco IOS DHCP, follow these steps, which include sample commands:
Configure an IP address on the router’s Ethernet port, and bring up the interface. (On an existing router, you would have already done this.)
Router(config)# interface ethernet0/0
Router(config-if)#ip address 1.1.1.1 255.0.0.0
Router(config-if)# no shutdown
Create a DHCP IP address pool for the IP addresses you want to use.
Router (config)# ip dhcp pool mypool
Specify the network and subnet for the addresses you want to use from the pool.
Router(dhcp-config)# network 1.1.1.0 /8
Specify the DNS domain name for the clients.
Router(dhcp-config)#domain-name mydomain.com
Specify the primary and secondary DNS servers.
Router(dhcp-config)#dns-server 1.1.1.10 1.1.1.11
Specify the default router (i.e., default gateway).
Router(dhcp-config)#default-router 1.1.1.1
Specify the lease duration for the addresses you’re using from the pool.
Router(dhcp-config)#lease 7
Exit Pool Configuration Mode.
Router(dhcp-config)#exit
This takes you back to the global configuration prompt. Next, exclude any addresses in the pool range that you don’t want to hand out.
For example, let’s say that you’ve decided that all IP addresses up to .100 will be for static IP devices such as servers and printers. All IP addresses above .100 will be available in the pool for DHCP clients.
Next, enter the ipconfig /renew command on the laptop to receive an IP address. After you have the IP address, enter the ipconfig /all command.
Can we use static and dynamic routing in one network?
we can use static and Dynamic Routing in one network. However Dyanmic Routing is used to have the best path no matter what the status of the physical links.All routing protocols have some sort of shortest-path or lowest-cost or best-choice algorithm to help you weigh all the options available.
Static routing can be used in a small network to reduce the work of the network administrator or to use a particular route only to forward the packet; we need static routing.
What is a Bridge? When is it used? How is a bridge configured? What are the software and hardware components of a bridge?
A bridge is an layer 2 device – it works based on mac address. bridge is s/w based.
It is usually used to bridge 2 networks (or even more in recent times)
Bridge is configured by having the the mac address of the switches connected directly to it.
What does CIDR stand for?
CIDR (Classless Inter-Domain Routing) is a way to allocate and specify the Internet addresses used in inter-domain routing
What difference between a directory and active directry
An Directory is the database that holds information about component locations, users, groups, passwords, security, and other COM information. Some of this information is currently stored in the Registry, but will eventually (with Windows 2000) be moved to the Active Directory.
The main difference between of Directory and AD is Directory is the repository of data stored but AD not only stores data but have the services by which stored data can be available to the users.
Describe a 3-way TCP/IP Handshake.
To establish a connection, TCP uses a 3-way handshake. Before a client attempts to connect with a server, the server must first bind to a port to open it up for connections: this is called a passive open. Once the passive open is established then a client may initiate an active open. To establish a connection, the 3-way (or 3-step) handshake occurs:
The active open is performed by sending a SYN to the server.
In response, the server replies with a SYN-ACK.
Finally the client sends an ACK back to the server.
At this point, both the client and server have received an acknowledgement of the connection.
when we want to connect to server for communication we need to establish a connection between server and client. The procedure used for this is called 3-way handshake…this is described as follows
1. Initillay the server is ready to accept the incoming connection by binding to local port. This is called passive open.
2. The client now can connect to server by sending SYN J segment to server. The server responds with SYN J+1 and ACK K
3. At the end the client sends ACK K+1 to server..
At this stage we say that client and server are connected
Under what situations a packet can go into infinite loop in a network ?
if there are more than one way for reaching a particular router from the same source router.
Name any field of IP header that can prevent a packet to loop infinitely ?
obviously it s time to live(TTL)
it fixes up a time to reach,if it s not reached within that stipulated time,it is being killed by the auto timer…
What is MTU of a link ?
Maximum Transmission Unit is the largest physical packet size, measured in bytes, that a network can transmit. Any messages larger than the MTU are divided into smaller packets before being sent.
Every network has a different MTU, which is set by the network administrator. On Windows 95, you can also set the MTU of your machine. This defines the maximum size of the packets sent from your computer onto the network. Ideally, you want the MTU to be the same as the smallest MTU of all the networks between your machine and a message’s final destination. Otherwise, if your messages are larger than one of the intervening MTUs, they will get broken up (fragmented), which slows down transmission speeds.
Trial and error is the only sure way of finding the optimal MTU, but there are some guidelines that can help. For example, the MTU of many PPP connections is 576, so if you connect to the Internet via PPP, you might want to set your machine’s MTU to 576 too. Most Ethernet networks, on the other hand, have an MTU of 1500, which is the default MTU setting for Windows 95.
What is fragmentation of a packet ?
Frames
Packet data unit(PDU)is called
segment at transport layer
packet at a network layer
frame at data link and
bit/bytes at physical layer
What is piggy backing?
Piggybacking is gaining access to restricted communication channel by using session that another user has already established. Piggybacking can be defeated by logging off before leaving a workstation or terminal or by initiating a protected mode, such as via a screensaver, that requires re-authentication before access can be resumed.
Which protocol is used for retrieving mails?
POP3 and IMAP4 are used to retrieve mails.
IMAP4 stores a copy of message on the server whereas POP3 does not.
Name three network tools used to determine where a network connectivity is lost between two sites A&B.
PING
TRACEROUTE
PATHPING
What is layer-3 switch?
routing depends on ip address : layer 3 s/w
routing depends on mac- address : layer 2 s/w
How can we create VPN to connect to branch office of the same office.what would be the priliminary requirment?
First of all what is VPN.” VPN ” stand for Virtual Private Network .Next how it works and where it is used . VPN works when the IP Conficts and IP is conflict because we dont use the PUBLIC IP means the IP we use is may be used by onther Company or Branch then we use VPN it works in the MAC address principal means it doesnot work on the IP it works Over the IP . And COMPUTER ,INTERNET or INTRANET, DHCP is required for the VPN .
We can connect to branch office of the same office thru a vpn by using backbone network provided by a service provider. ISP will provide till customer premises and customer at both sites shud use routers (CPE) to connect to the provider network. Packets are tranferred over the provider network as if it is a private network i.e packets from a specific customer are never forwarded to an interface of a router on the backbone network which is not configured for that VPN. Although data of many customers are forwarded on the backbone, the end user feels as if it is a private network.
The preliminary requirement is that u must order for a leased / dedicated line from ISP.
What are the Advantages and Disadvantages of DHCP?
Advantages
All the IP configuration information gets automatically configured for your client machine by the DHCP server.
If you move your client machine to a different subnet, the client will send out its discover message at boot time and work as usual. However, when you first boot up there you will not be able to get back the IP address you had at your previous location regardless of how little time has passed.
Disadvantage
Your machine name does not change when you get a new IP address. The DNS (Domain Name System) name is associated with your IP address and therefore does change. This only presents a problem if other clients try to access your machine by its DNS name.
What is point-to-point protocol?
A communications protocol used to connect computers to remote networking services including Internet service providers.
What are the types of Transmission media?
Signals are usually transmitted over some transmission media that are broadly classified in to two categories:-
Guided Media:
These are those that provide a conduit from one device to another that include twisted-pair, coaxial cable and fiber-optic cable. A signal traveling along any of these media is directed and is contained by the physical limits of the medium. Twisted-pair and coaxial cable use metallic that accept and transport signals in the form of electrical current. Optical fiber is a glass or plastic cable that accepts and transports signals in the form of light.
Unguided Media:
This is the wireless media that transport electromagnetic waves without using a physical conductor. Signals are broadcast either through air. This is done through radio communication, satellite communication and cellular telephony.
What is difference between baseband and broadband transmission?
In a baseband transmission, the entire bandwidth of the cable is consumed by a single signal. In broadband transmission, signals are sent on multiple frequencies, allowing multiple signals to be sent simultaneously.
What are the possible ways of data exchange?
Simplex, Half-duplex, Full-duplex.
What are the different type of networking / internetworking devices?
Repeater:
Also called a regenerator, it is an electronic device that operates only at physical layer. It receives the signal in the network before it becomes weak, regenerates the original bit pattern and puts the refreshed copy back in to the link.
Bridges:
These operate both in the physical and data link layers of LANs of same type. They divide a larger network in to smaller segments. They contain logic that allow them to keep the traffic for each segment separate and thus are repeaters that relay a frame only the side of the segment containing the intended recipent and control congestion.
Routers:
They relay packets among multiple interconnected networks (i.e. LANs of different type). They operate in the physical, data link and network layers. They contain software that enable them to determine which of the several possible paths is the best for a particular transmission.
Gateways:
They relay packets among networks that have different protocols (e.g. between a LAN and a WAN). They accept a packet formatted for one protocol and convert it to a packet formatted for another protocol before forwarding it. They operate in all seven layers of the OSI model.
How Gateway is different from Routers?
A gateway operates at the upper levels of the OSI model and translates information between two completely different network architectures or data formats.
What is frame relay, in which layer it comes?
Frame relay is a packet switching technology. It will operate in the data link layer.
Difference between bit rate and baud rate?
Bit rate is the number of bits transmitted during one second whereas baud rate refers to the number of signal units per second that are required to represent those bits.
baud rate = bit rate / N
where N is no-of-bits represented by each signal shift.
What is Bandwidth?
Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.
What is ICMP?
ICMP is Internet Control Message Protocol, a network layer protocol of the TCP/IP suite used by hosts and gateways to send notification of datagram problems back to the sender. It uses the echo test / reply to test whether a destination is reachable and responding. It also handles both control and error messages.
What is difference between ARP and RARP?
The address resolution protocol (ARP) is used to associate the 32 bit IP address with the 48 bit physical address, used by a host or a router to find the physical address of another host on its network by sending a ARP query packet that includes the IP address of the receiver.
The reverse address resolution protocol (RARP) allows a host to discover its Internet address when it knows only its physical address.
What is the difference between TFTP and FTP application layer protocols?
The Trivial File Transfer Protocol (TFTP) allows a local host to obtain files from a remote host but does not provide reliability or security. It uses the fundamental packet delivery services offered by UDP.
The File Transfer Protocol (FTP) is the standard mechanism provided by TCP / IP for copying a file from one host to another. It uses the services offered by TCP and so is reliable and secure. It establishes two connections (virtual circuits) between the hosts, one for data transfer and another for control information.
Explain 5-4-3 rule.
In a Ethernet network, between any two points on the network, there can be no more than five network segments or four repeaters, and of those five segments only three of segments can be populated.
What is the difference between routable and non- routable protocols?
Routable protocols can work with a router and can be used to build large networks. Non-Routable protocols are designed to work on small, local networks and cannot be used with a router.
What is logical link control?
One of two sublayers of the data link layer of OSI reference model, as defined by the IEEE 802 standard. This sublayer is responsible for maintaining the link between computers when they are sending data across the physical network connection.
What is virtual channel?
Virtual channel is normally a connection from one source to one destination, although multicast connections are also permitted. The other name for virtual channel is virtual circuit.
What is packet filter?
Packet filter is a standard router equipped with some extra functionality. The extra functionality allows every incoming or outgoing packet to be inspected. Packets meeting some criterion are forwarded normally. Those that fail the test are dropped.
What is traffic shaping?
One of the main causes of congestion is that traffic is often busy. If hosts could be made to transmit at a uniform rate, congestion would be less common. Another open loop method to help manage congestion is forcing the packet to be transmitted at a more predictable rate. This is called traffic shaping
What is multicast routing?
Sending a message to a group is called multicasting, and its routing algorithm is called multicast routing.
What is IGP (Interior Gateway Protocol)?
It is any routing protocol used within an autonomous system.
What is EGP (Exterior Gateway Protocol)?
It is the protocol the routers in neighboring autonomous systems use to identify the set of networks that can be reached within or via each autonomous system.
What is Gateway-to-Gateway protocol?
It is a protocol formerly used to exchange routing information between Internet core routers.
What is OSPF?
It is an Internet routing protocol that scales well, can route traffic along multiple paths, and uses knowledge of an Internet’s topology to make accurate routing decisions.
What is SLIP (Serial Line Interface Protocol)?
It is a very simple protocol used for transmission of IP datagrams across a serial line.
What is RIP (Routing Information Protocol)?
It is a simple protocol used to exchange information between the routers
What is source route?
It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header.
What are the advantages and disadvantages of the three types of routing tables?
The three types of routing tables are fixed, dynamic, and fixed central. The fixed table must be manually modified every time there is a change. A dynamic table changes its information based on network traffic, reducing the amount of manual maintenance. A fixed central table lets a manager modify only one table, which is then read by other devices. The fixed central table reduces the need to update each machine’s table, as with the fixed table. Usually a dynamic table causes the fewest problems for a network administrator, although the table’s contents can change without the administrator being aware of the change.
What is the HELLO protocol used for?
The HELLO protocol uses time instead of distance to determine optimal routing. It is an alternative to the Routing Information Protocol.
What is anonymous FTP and why would you use it?
Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user’s ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access.
Can we have 2 DHCP servers within 1 network ?
If No why ?
If yes IP address will conflict or not.
What is Trojan horse? how to save a system from that?
Trojan horse is a program that claims to rid your Computer of viruses but instead introduces viruses onto your computer. Trojan horses do not replicate themselves but they can be just as destructive.
In order to save the system :
1)Turn off and remove unneeded services.
2)Always keep the patch levels update.
3)Enforce a password policy.
4)Configure your email server to block or remove email that contains file attachments that are commonly used to spread viruses, such as .vbs, .bat, .exe, .pif and .scr files.
5)Isolate infected computers quickly to prevent further compromising your organization. Perform a forensic analysis and restore the computers using trusted media.
6)Do not to open attachments unless you are expecting them. Also, do not execute software that is downloaded from the Internet unless it has been scanned for viruses.
What is spanning tree? How it works in VLAN ?
Spanning tree protocols main taks is to stop network loops from occurring on your layer 2 network.
Network loops create broadcast storms and are responsible for additional overhead on the network
Why do we use Subnet mask? What are its uses?
The main purpose of subnetmasking is to reduce the broadcast domain or in other words to reduce to heavy network traffic.
What are all the technical steps behind when data transmission from server to server via a router and switch?
The communication is between two SERVERS. But to a server can communicate with a client only. so if both system are behaving as server then first of all on both system a client should run as well.
Now server on machine M1 will generate message. will be transfer to tcp layer where the source and destination port no will be added in header and if tcp protocol is being followed then other fields of tcp hearder like sequence no and flags will also be there. then the packet will be delivered to network layer of M1 with destination say M2 ip address.
Now network layer will add neccessay fields like source and destination IP address, TTL value etc. finally using its routing table and ARP protcol it will find out the ip address of the router. now packet will be delivered to data link layer of M1 with mac address of router.
Data link layer will then add its own trailer and header and forward packet through the services of physical layer.
now the packet will be recieved by router and will be transfer to network layer through its data link layer. network layer of router using its routing table and arp will find out the next hop mac address( in this case M2 itself). and will transfer packet to M2.
M2 will receive packet and deliver it the appropriate client process.
How is eigrp better than ospf?
I will give you the difference between then you can understand why it is
better
OSPF (Open Shortest Path First) it’s link state protocol which sending hello
packet to it’s neighbours
give best path 6 backup path
it a supports the subnating (classless)
administrative distance 110
using wildcard 0.0.0.0
autonomous 1-65535
using area
Hybrid protocol
eigrp enhance interior gateway protocol
90 administrative distance
supporting subnating
using area
autonomous 1-65535
using area
Key capabilities that distinguish Enhanced IGRP (EIGRP) from other routing
protocols include fast convergence, support for variable-length subnet mask,
support for partial updates, and support for multiple network layer protocols.
Router running EIGRP stores all its neighbors’ routing tables so that it can
quickly adapt to alternate routes. If no appropriate route exists, EIGRP queries
its neighbors to discover an alternate route. These queries propagate until an
alternate route is found.
The support of EIGRP for variable-length subnet masks permits routes to be
automatically summarized on a network number boundary. In addition, EIGRP can be
configured to summarize on any bit boundary at any interface.
In most cases, EIGRP only uses Delay and Bandwidth with Bandwidth taking
precedence. The metric for EIGRP is calculated by multiplying the IGRP metric by
256. So the formula used to calculate the metric is:
EIGRP Metric = 256*((K1*Bw) + (K2*Bw)/(256-Load) +
(K3*Delay)*(K5/(Reliability + K4)))
What is intra-vlan How does it work
Why do we use the router in between the two switch?
Where we make vlan if we enable one trunking on each side of switch then why do we uses the router
What is supernating?
what is the difference between packet switched, cell switched and circuit switched technology?
packet switch: here the packets send by the user takes differrent path each time it is send.
circuit switch : here the packets are send through a virtual connection is this every packet from a sender at a particular time is send through that dedicated path only
cell switch : in ATM jargon the packets are called are cells
What is the difference between BRI and PRI Port?
Both BRI (Basic Rate Interface) and PRI (Primary Rate Interface) provide multiple digital bearer channels over which temporary connections can be made and data can be sent.
Features:
ISDN BRI services 2 B channels (64 kbps) and one D channel (16 kbps). The total bandwidth is 144 kbps.
In North America ISDN PRI service is PRI T1 total bandwidth 1.544 Mbps ( 23 B channel with 64 kbps + 1 D channel with 64 Kbps)
In Europe ISDN PRI service is PRI E1 total bandwidth 2.048 Mbps (30 B channel with 64 kbps + 1 D channel with 64 Kbps)
If in a company with 80 computers with wireless network .All are using wireless internet.What is bandwidth per user?
Case:1
The bandwidth per user in a 80 computers in a wireless network depends on the connection speed and no. of the wireless accesspoints and no. of users connected to each access point if the network is a combination of cable and partial wireless. Say, 5 users are actively connected to a single wireless accesspoint which supports a connection speed of 10Mbps, then each user has 10/5 Mbps (2Mbps) connection speed or bandwidth logically.
The point here is to how many accesspoints these 80 computers are connected? So that we can calculate the actual bandwidth per user.
Case:2
One more case, if the wireless network is a bridge type, then the whole scenario changes. The bandwidth of each user in 80 computers network will be a dedicated speed same as the backplane speed of the network