NERUL, NAVI MUMBAI.
DEPARTMENT OF COMPUTER ENGINEERING
SEM: -V1
BRANCH:-CE
ADVANCE COMPUTER NETWORK
LIST OF PROGRAMS
PROGRAM NO. 1
STUDY OF NETWORK COMMANDS
PROGRAM NO. 2
IMPLEMENT CLIENT SERVER PROGRAM
USING SOCKET PROGRAMMING
PROGRAM NO. 3
INSTALLATION OF SQUID PROXY
SERVER
PROGRAM NO. 4
INSTALLATION OF POSTFIX MAIL
SERVER
PROGRAM NO. 5
INSTALLATION OF HTTPD WEB SERVER
PROGRAM NO. 6
INSTALLATION OF DNS SERVER
PROGRAM NO. 7
INSTALLATION OF DHCP SERVER
Software Required:
1. Operating System: Cent OS/ Linux OS
2. Languages: C/C++
PROGRAM NO. 1
AIM: - Study of Network Commands
THEORY:- Following network commands are studied and executed in Cent OS.
1. Ping: Ping sends an ICMP ECHO_REQUEST packet to the specified host. If the host responds, we will get an ICMP packet back. We can “ping” an IP address to see if a machine is alive.
2. Telnet (SSH): Telnet allows us to log in to a computer, just as if we were sitting at the terminal. Once our username and password are verified, we are given a shell prompt. From here, we can do anything requiring a text console. Compose email, read newsgroups, move files around, and so on. If we are running X and we telnet to another machine, you can run X programs on the remote computer and display them on yours.
3. Mail: this command is used to read mail, open a command console, log on using the account whose mail you want to read, and enter the command mail. A list of all messages in your mailbox will be displayed.
4. TCPDump: The tcpdump command prints the headers of packets on a network interface that match the Boolean expression. We can run the command with the -w flag to save the packet data in a file for further analysis. we can also run the command with the -r flag to read data from a saved packet file instead reading the packets from a network interface. In all cases, only packets that match expression is processed by the tcpdump command
5
Ifconfig: This command allows us to