- User(s) are complaining of delays when using the network. What would you do?- get the user(s) to demonstrate the problem
- determine how many other users are affected
- ensure desktop hardware and configuration is OK
- trace all connections (they may be on another subnet)
- commence some monitoring or diagnostics
- determine problem (if there is one)
- provide solution - Installing, Upgrading and Erase the software using RPM RPM (Redhat Package Manager)
RPM package manager is a tool which is use to install, upgrade and removes the rpm packages. RPM is develop by redhat and support many linux distirbutions like Fedora Project, Redhat Enterprise Linux, CentOs, Mendriva and othrs.
RPM only supports rpm file.
Using RPM command with many functions.
#rpm –q for query a packages
-a for query with all rpms
-V for query with varify the packge
#rpm –i for install a rpm package
-h for display with hash
-v for verbose
#rpm –u for upgrade the module
#rpm –e for erase the module
Some examples:-
#rpm –ivh dhcp-3.0.1-12_EL - What are some of the problems associated with operating a switched LAN?
Switched LAN (Local Area Network) may use a Gigabit Ethernet switch that includes different ports connected to PCs and to layer 3 routers. The routers connected to different switch ports can not immediately identify failures either of other routers or of the ports and links by which they are connected to the switch. The routers currently have to rely on slow timeout mechanisms, such as missed hello packets, to detect failures on other links connected to the switch.
Thus, the time required to detect failures can and often does dominate the time required for a routing algorithm to determine a new network topology around a detected failure (convergence time). - Name some of the ways of combining TCP/IP traffic and SNA traffic over the same link.-DLSw (Data Link Switching)(aka RFC1434)-RFC1490 (frame relay carrier)- Serial Tunnelling (STUN)- BAN or BNN (Boundary Access Node, Boundary Network Node)
- What sort of cabling is suitable for Fast Ethernet protocols?
Considering simple home/office use.. go for cat5e/cat6. - What is a Class D IP address?
Class D: 224-239 its Class D - Used for multicasts, Class D is slightly different from the first three classes. It has a first bit value of 1, second bit value of 1, third bit value of 1 and fourth bit value of 0. The other 28 bits are used to identify the group of computers the multicast message is intended fo - Why do I sometimes lose a server’s address when using more than one server?
Take a careful look at struct hostent. Notice that almost everything in it is a pointer? All these pointers will refer to statically allocated data.
For example, if you do:
struct hostent *host = gethostbyname(hostname);
then (as you should know) a subsequent call to gethostbyname() will overwrite the structure pointed to by 'host'.
But if you do:
struct hostent myhost;
struct hostent *hostptr = gethostbyname(hostname);
if (hostptr) myhost = *host;
to make a copy of the hostent before it gets overwritten, then it still gets clobbered by a subsequent call to gethostbyname(), since although myhost won't get overwritten, all the data it is pointing to will be.
You can get round this by doing a proper 'deep copy' of the hostent structure, but this is tedious. My recommendation would be to extract the needed fields of the hostent and store them in your own way.
- What is Firewall?
Firewall are the rules which are used for Passing traffic that is packets in network layer and frame is data link layer on a specific port. Firewalls are of two types: -Hardware Firewall -Software Firewall. Firewall in simple manner is basically the utility to provide the security over the network. These are the security measures that prevents the network’s in and out traffic to pass through the specific Security filters so that the unwanted and unsecured data can be stopped from entering into the network.. further… as a security measure it also depends on the network designer and implementer that how to use a Firewall mean to say the security measures like how to present the content filtering and Url filtering which type of firewall should be used and where to put it. - How do I monitor the activity of sockets?In any POSIX (UNIX like system ) you can monitor the ports and their state with netstat command. Try:
$netstat
and this will give you a list of all opened sockets to the associated ports for TCP/UDP/RAW protocols. - How would I put my socket in non-blocking mode?
If you choose to open a socket in UDP, the socket is asynchronous, thus non-blocking. - What are RAW sockets?
Those sockets bypass the transport layer and talk directly to network layer, in other words they cannot be categorized as UDP/TCP.
Normally, in RAW sockets e have to build our own IP header to override values that IP would place into certain header fields (use IP_HDRINCL socket option when opening socket descriptor).
Normally we use this kind of sockets for two reasons:
a. Implement custom transport protocol
b. Pass raw streaming through the network. - What is the role of TCP protocol and IP protocol.
Protocol is basically set of rules designed and developed for the internetwork or can say intranetwork Communications. the need of Tcp had been raised in early years when like.. IBM Mainframe were not able to Communicate with the Burroughs mainframe.. means if you wish to connect 2 or more computers they should be same with everything from manufacturer to designer and implementer…then TCP emerged as a solution-for-ever.. EARLIER it was NCP( Network Control Protocal) but later it refined into TCP( Transmission Control Protocol) and IP (Internet Protocol) on jan.1,1983.. Some General roles of TCP/IP are: 1. Independence from particular vendor or network. 2. very low data overhead 3. good failure recovery. and if the things are taken separately.. then TCP is basically responsible for proper data transmission by assuring data integrity it is a connection oriented protocol that follows the under scenario 1. Handshaking. 2. Packet Sequencing 3. Flow Control. 4. Error handling. IP : Since the data to be sent must be put somewhere the IP works here .. the required data is packaged in an IP packet. TCP (Transmission Control Protocol) is a set of rules (protocol) used along with the Internet Protocol (IP) to send data in the form of message units between computers over the Internet. While IP takes care of handling the actual delivery of the data, TCP takes care of keeping track of the individual units of data (called packets) that a message is divided into for efficient routing through the Internet.
TCP is a transport layer protocol sued for reliable delivery of segmented packets
IP is network layer protocol used for end to end delivery of two nodes not reliable.
- How should I choose a port number for my server?
UDP is a connectionless protocol that do not provide reliable transfer of information and is fast in nature as compare to TCP. This disadvantage on other hand is suitable for applications like video and voice. - Layers in TCP/IPTCP/IP has 4 layers
1.Applicatiotion
2.Transport
3.Internet
4.Netwok Access - How can I be sure that a UDP message is received?
You have to design your protocol to expect a confirmation back from the destination when a message is received. Of course is the confirmation is sent by UDP, then it too is unreliable and may not make it back to the sender. If the sender does not get confirmation back by a certain time, it will have to re-transmit the message, maybe more than once. Now the receiver has a problem because it may have already received the message, so some way of dropping duplicates is required. Most protocols use a message numbering scheme so that the receiver can tell that it has already processed this message and return another confirmation. Confirmations will also have to reference the message number so that the sender can tell which message is being confirmed. Confused? That's why I stick with TCP. - How to get IP header of a UDP message?
If you want to do it for monitoring, use Ethereal
If you want to do it within your code, use pcap (Packet Capturing Library) that comes with TCPDump distribution. - How many bytes in an IPX network address?
An IPX address is made up of 4 bytes of Network address and 6 bytes of node address and takes the form of ABABABAB.FFFF.FFFF.FFFF. The address is in hexidecimal. The network address is allocated by the network (usually the servers or routers) and the node address is the MAC address of the device. - What is the difference between MUTEX and Semaphore?
A MUTEX is a lock. You can place a MUTEX Lock on a resource among processes/threads in order to lock it. When MUTEX is released, the resource is also released. Semaphore is a signal raiser, or a token. When you wait for a MUTEX to be released, you might need to listen to a specific semaphore caused by the MUTEX release. - What is priority inversion?
Rearrange in opposite order the scheduler’s priority list. - What is DHCP?
DHCP stands for “Dynamic Host Configuration Protocol
DHCP’s purpose is to enable individual computers on an IP network to extract their configurations from a server (the ‘DHCP server’) or servers, in particular, servers that have no exact information about the individual computers until they request the information. The overall purpose of this is to reduce the work necessary to administer a large IP network. The most significant piece of information distributed in this manner is the IP address.
DHCP is a protocol which is design for Automatic Give the IP Address to DHCP client..
DHCP Assign the IP Address for few days Lease & capture the clients MAC address..
It is Updated version of BootP.
DHCP is used for MAC address to IP mapping its support both static and dynamic mapping. Static mapping are done just like bootstrap and for dynamic mapping it have database of MAC and IP when a packet with a MAC comes ask for ip its check that assign a dynamic IP fixed that for a specific time and then return that packet with that IP - How to install and configure the DHCP service for iSCSI startup?
1. Install the DHCP service on a computer on the local network where the iSCSI client computer will be starting. To do this, follow these steps:a. Click Start, point to Control Panel, and then click Add or Remove Programs.
b. In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
c. In the Windows Components Wizard, click Networking Services in the Components list, and then click Details.
d. In the Networking Services dialog box, click to select the Dynamic Host Configuration Protocol (DHCP) check box, and then click OK.
e. In the Windows Components Wizard, click Next to start the Setup program. Insert the Windows Server 2003 CD into the computer’s CD drive or DVD drive if you are prompted to do this. Setup copies the DHCP server and tool files to the computer.
f. When the Setup program is finished, click Finish. - Working of ping, telnet, gopher.
Ping is process which use ICMP protocol error message which is encapsulated in a IP packets its calculate the round trip delay time by sending the packet sending time and subtract it from arrival time. the error messages are 1.destination unreachable
2.hardware error.
etc
its also sets maximum hop value and after it becomes 0 the packets discardedTelnet is a application layer process of connection remote computer and local Area Network computer by specifying the ip address by a specific port,
- Can I connect two computers to internet using same line ?
There are different methods to share one internet connection on multipe numbers of computer.
1- ICS (Internet Connection Sharing)
In this method you can just enable Internet Connection Sharing check on your gateway.. The limitation of ICS is you must have 192.168.X.X IP addressing scheme on your network. another limitation of ICS is it can support upto 15 Computer(approx.. don't remember exact figure).
2-NAT
NAT or NATING basic function is to convert private IP to Public IP and vice versa.
It work same like ICS but have some enhanced features and can used for large number of client computers.
* NAT has also option of Firewall.
* No limitation of IP Scheme. it also provide dynamic IP addressing
* Also have a feature of Server Publishing
*Cannot cache
3- Proxy Servers (e.g Microsoft ISA Server)
Fully enhanced product which provide Internet sharing , Firewall (Fully featured )and Caching.
You can connect two computer using NAT which use port forwarding method and proxy server same time on the same line . - What is Active Directory?
Active Directory is a administrative tool which is use to manage and administer the domain users, computers, network clients centralize. older name of Active Directory called NTDS( NT Directory Service).
- How ISA Server Works ?ISA - Internet Security and Acceleration Server. ISA is Software Firewall & Internet Solution for small & large network. ISA server blocks Inbound traffic as well as Outbound traffic.
It is a multitasking firewall server it provides NAT (Network Address Translation)& Web Proxy etc..
ISA server provides Secure. VPN for connect Remote Clients or Remote Location. - What is a Domain Controller?Domain Controllers in a network can be of 2 sub types: PDC (Primary domain controller) and BDC (Backup Domain Controller).
PDC governs the other network clients and resource sharing/scheduling can be easily done. All BDCs can be configured and monitored using PDC. From BDC clients, using a proxy on PDC, one can access the internet facilities.
Domain is a Security boundary which is use to make secure or private network from inside to outside.
Domain provide better administration control over the network object.
Saturday, August 2, 2008
Network engineer interview questions
Posted by safibaig at 12:29 PM
Labels: FAQs, Interview Questions, Network Administrator, Network Developer, Network Engineer, Network Programming
Subscribe to:
Post Comments (Atom)
1 comments:
super........
Post a Comment