NIC Bonding in Red Hat Linux
2. What is the difference between TCP and UDP protocol?
- TCP is a connection oriented protocol and contain the information of sender as well as receiver.
- Eg: HTTP.FTP, Telnet
- TCP is slower than UDP due to its error checking mechanism
- UDP protocols are connection less packets have no information to where they are going. These type of ports are generally used for broadcasting.
- For eg: DNS, DHCP
- UDP are faster
3. What are the benifits of NIC Teaming?
4. Mention all the network configuration files you would check to configure your ethernet card
5. What is the the use of /etc/resolv.conf?
6. What is the use of /etc/hosts file?
7. What is the command to check all the open ports of your machine?
Follow the below link for more details
How to get a list of open ports in Linux?
8. What is the command to check all the listening ports and services of your machine?
9. How can you make a service run automatically after boot?
10. What are the 6 run levels of linux? And how can you configure your script to run only when the system boots into GUI and not to any other runlevel
1 single user
2 multi user without network
3 multiuser with network
4 development purpose
chkconfig --level 5 service_name on
chkconfig --level 1234 service_name off
11. What is a 3 way handshake protocol? Give an example of it
SYN-ACK - remote sysstem receives the syn signal and sends ack signal
ACK - system again receives ack signal from remote system and connection is established
For Example: When you ping to a machine you are sending a SYN signal which is ACK by the remote machine then it sends a SYN ACK signal back to the host machine. Then the host machine receives SYN ACK and sends the ACK signal back to confirm the same.
12. What are the possible ways to check if your system is listening to port 67
# nmap localhost | grep 67
# netstat -ntlp | grep 67