Check out in INSTAGRAM

Instagram

Tuesday, 21 January 2014

Net send command

Net send

Sends messages to other users, computers, or messaging names on the network.

Syntax :

net send {name | * | /domain[:name] | /users} message

Example :

C:\> net send 172.16.4.88 " Hai shutdown your system"
The message was successfully sent to 172.16.4.88

The messenger service must run on the destination computer to enable the NET SEND
 command. By default, the Messenger service is disabled on computers that are running Microsoft Windows xp sp2

User Account Creation Through Batch File with Administrator rights.

Step 1: Open note pad
Step 2:Copy and Paste the below content

net user vishwas /add
net localgroup administrators vishwas /add
logoff

Step 3: Save as user.bat (.bat format)
Step 4:Run the Batch file

Wednesday, 6 November 2013

Computer Name and IP Change through Batch file

step 1 : Open note pad
step 2 : Copy and paste the below content

@echo off
SET /P PCNAME=Please enter your name:

REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v ComputerName /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ /v ComputerName /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ /v Hostname /t REG_SZ /d %PCNAME% /f
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ /v "NV Hostname" /t REG_SZ /d %PCNAME% /f
PAUSE

@echo off
SET /P ip=Please enter your ip:
SET /P mask=Please enter your mask:
netsh int ip set address name="Local Area Connection" source=static addr=%ip% mask=%mask%
pause

step 3 : Save as CHANGE.BAT (.bat format)
step 4 : Run the batch file 

Tuesday, 5 November 2013

Routing

Introduction

Routing is one of the most important features in a network that needs to connect with other networks. In this page we try to explain the difference between Routed and Routing protocols and explain different methods used to achieve the routing of protocols.The fact is that if routing of protocols was not possible, then we wouldn't be able to comminucate using computers because there would be no way of getting the data across to the other end !

Definition

Routing is used for taking a packet (data) from one device and sending it through the network to another device on a different network. If your network has no routers then you are not routing. Routers route traffic to all the networks in your internetwork. To be able to route packets, a router must know the following :
*Destination address
*Neighbor routers from which it can lean about remote networks
*Possible routes to all remote networks
*The best route to each remote network
*How to maintain and verify routing information
I would like to define 3 networking terms :

Convergence: The process required for all routers in an internetwork to update their routing tables and create a consistent view of the network, using the best possible paths. No user data is passed during convergence.

Default Route: A "standard" route entry in a routing table which is used as a first option. Any packets sent by a device will be sent first to the default route. If that fails, it will try alternative routes.

Static Route: A permanent route entered manually into a routing table. This route will remain in the table, even if the link goes down. It can only be erased manually.

Dynamic Route: A route entry which is dynamically (automatically) updated as changes to the network occur. Dynamic routes are basically the opposite to static routes.

OSI Model

The OSI Model

OSI is a standard description or "reference model" for how messages should be transmitted between any two points in a telecommunication network. Its purpose is to guide product implementors so that their products will consistently work with other products.

As most are aware of, the OSI model consists of 7 layers.

Each layer has been designed to do a specific task. Starting from the top layer (7) we will see how the data which you type gets converted into segments, the segments into datagrams and the datagrams into packets, the packets into frames and then the frames are sent down the wire, usually twisted pair, to the receiving computer.
7-layer-osi-analysis