Acn Writeups
Acn Writeups
Study of TCP/IP utilities and Connectivity commands arp:- Displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP). hostname:-It gives the host name of your system ipconfig:- It gives windows IP configuration. lpq:-It displays the state of a remote lpq queue. nbtstat:- It displays protocol statistics and current TCP/IP connections using NBT. netstat:- It displays the active connections of your system. Ping:- Ping is a computer network administration utility used to test whether a particular host is reachable across an Internet Protocol (IP) network and to measure the round-trip time for packets sent from the local host to a destination computer, including the local host's own interfaces. route:- It manipulates network routing table. tracert:- It is use to trace the root Connectivity command:finger:- Displays information about a user on a specified system running the Finger service. Output varies based on the remote system. ftp:- Used for file transfer, stands for file transfer protocol lpr:- Sends a print job to a network printer rcp:- Copies files to and from computer running the RCP service. rexec:- Runs commands on remote hosts running the REXEC service. Rexec authenticates the user name on the remote host before executing the specified command. rsh:-Runs the commands on remote hosts running the RSH service.
kirti.helpmscit@gmail.com
telnet:- It is used to access the Microsoft Telnet client command promt. tftp:- Transfers files to and from a remote computer running the TFTP service.
kirti.helpmscit@gmail.com
Practical no 2 Remote Machine Event Handling This program makes use of Robot Class This class is used to generate native system input events for the purposes of test automation, selfrunning demos, and other applications where control of the mouse and keyboard is needed. The primary purpose of Robot is to facilitate automated testing of Java platform implementations. Using the class to generate input events differs from posting events to the AWT event queue or AWT components in that the events are generated in the platform's native input queue. For example, Robot.mouseMove will actually move the mouse cursor instead of just generating mouse move events. Note that some platforms require special privileges or extensions to access low-level input control. If the current platform configuration does not allow input control, an AWTException will be thrown when trying to construct Robot objects. For example, X-Window systems will throw the exception if the XTEST 2.2 standard extension is not supported (or not enabled) by the X server. Applications that use Robot for purposes other than self-testing should handle these error conditions gracefully.
kirti.helpmscit@gmail.com
Practical no3 Implementation of SMTP Client This program uses the MimeMessage Class This class represents a MIME style email message. It implements the Message abstract class and the MimePart interface. Clients wanting to create new MIME style messages will instantiate an empty MimeMessage object and then fill it with appropriate attributes and content. Service providers that implement MIME compliant backend stores may want to subclass MimeMessage and override certain methods to provide specific implementations. The simplest case is probably a provider that generates a MIME style input stream and leaves the parsing of the stream to this class. MimeMessage uses the InternetHeaders class to parse and store the top level RFC 822 headers of a message. The mail.mime.address.strict session property controls the parsing of address headers. By default, strict parsing of address headers is done. If this property is set to "false", strict parsing is not done and many illegal addresses that sometimes occur in real messages are allowed. See the InternetAddress class for details.
kirti.helpmscit@gmail.com
Practical no 4 Implementation of POP3 This practical implements the POP3 services of Windows Server 2003. POP3 service The POP3 service is an e-mail service that retrieves e-mail. Administrators can use the POP3 service to store and manage e-mail accounts on the mail server. When the POP3 service is installed on the mail server, users can connect to the mail server and retrieve and download e-mail to their local computer using an e-mail client that supports the POP3 protocol (such as Microsoft Outlook). The POP3 service is used with the Simple Mail Transfer Protocol (SMTP) service, which sends outgoing e-mail.
kirti.helpmscit@gmail.com
Practical no 5 Implementation of FTP This practical makes use of the class URLConnection The abstract class URLConnection is the superclass of all classes that represent a communications link between the application and a URL. Instances of this class can be used both to read from and to write to the resource referenced by the URL. In general, creating a connection to a URL is a multistep process: a. openConnection():Manipulate parameters that affect the connection to the remote resource. b. connect():Interact with the resource; query header fields and contents.
1. The connection object is created by invoking the openConnection method on a URL.
2. The setup parameters and general request properties are manipulated. 3. The actual connection to the remote object is made, using the connect method. 4. The remote object becomes available. The header fields and the contents of the remote object can be accessed.
kirti.helpmscit@gmail.com
Practical no 6 Simple Instant Chat messenger This practical makes use of the classes Socket and ServerSocket Socket This class implements client sockets (also called just "sockets"). A socket is an endpoint for communication between two machines. The actual work of the socket is performed by an instance of the SocketImpl class. An application, by changing the socket factory that creates the socket implementation, can configure itself to create sockets appropriate to the local firewall. ServerSocket This class implements server sockets. A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester. The actual work of the server socket is performed by an instance of the SocketImpl class. An application can change the socket factory that creates the socket implementation to configure itself to create sockets appropriate to the local firewall.
kirti.helpmscit@gmail.com
Practical no 7 Simulating Routing Techniques Packet Tracer is a powerful network simulator created by Cisco Systems and provided for free distribution to faculty, students, and alumni who are or have participated in the Cisco Academy program. The purpose of Packet Tracer is to offer students and teachers a tool to learn the principles of networking as well as develop Cisco Technology specific skills. Packet Tracer supports an array of simulated Application layer protocols, as well as basic routing with RIP, OSPF, and EIGRP, to the extent required by the current CCNA curriculum. While Packet Tracer aims to provide a realistic simulation of functional networks, it should be noted that the application itself only utilizes a small number of features found within the actual hardware running a current Cisco IOS. Thus, Packet Tracer is unsuitable for modeling production networks, and at the time of this writing, unsuitable for any curriculum beyond CCNA.
kirti.helpmscit@gmail.com
Practical No 8
Study of Guided Transmission Medium In this practical we study how to wire UTP (unshielded twisted pair) cables UTP cables are most commonly used in communications especially in telephones and computer networks. In this practical we are using CAT6-E cables and RJ-45 Jacks which are connected using a device called CRIMPER UTP cables used in computer networks can be wired in 2 ways 1. Straight Through- used for connecting computers to devices like switches 2. Crossover used for directly connecting two computers Testing is done either by using a device called LINE TESTER or by connecting the wire to the network and then to ping any computer in the network, if we get a reply then the wire is successfully crimped else not
kirti.helpmscit@gmail.com