Saturday, November 19, 2011

What is an IP address?

What is an IP address?
Every device connected to the public Internet is assigned a unique number known as an
Internet Protocol (IP) address. IP addresses consist of four numbers separated by periods (also
called a 'dotted-quad') and look something like 127.0.0.1.
In computer networking, an Internet Protocol (IP) address consists of a numerical
identification (logical address) that network management assigns to devices participating in a
computer network utilizing the Internet Protocol for communication between its nodes.
Although computers store IP addresses as binary numbers, they often display them in more
human-readable notations, such as 192.168.100.1 (for IPv4), and 2001:db8:0:1234:0:567:1:1
(for IPv6). The role of the IP address has been characterized as follows: "A name indicates
what we seek. An address indicates where it is. A route indicates how to get there." [2]
 


What is subnet Mask ?
A subnet (short for "subnetwork") is an identifiably separate part of an organization's
network. Typically, a subnet may represent all the machines at one geographic location, in
one building, or on the same local area network (LAN). Having an organization's network
divided into subnets allows it to be connected to the Internet with a single shared network
address. Without subnets, an organization could get multiple connections to the Internet, one
for each of its physically separate subnetworks, but this would require an unnecessary use of
the limited number of network numbers the Internet has to assign. It would also require that
Internet routing tables on gateways outside the organization would need to know about and
have to manage routing that could and should be handled within an organization.
 

What is ARP? What is ARP Cache Poisoning?
Address Resolution Protocol (ARP) is a protocol for mapping an Internet Protocol address (IP
address) to a physical machine address that is recognized in the local network. For example,
in IP Version 4, the most common level of IP in use today, an address is 32 bits long. In an
Ethernet local area network, however, addresses for attached devices are 48 bits long. (The
physical machine address is also known as a Media Access Control or MAC address.) A
table, usually called the ARP cache, is used to maintain a correlation between each MAC
address and its corresponding IP address. ARP provides the protocol rules for making this
correlation and providing address conversion in both directions.
 

How ARP Works
When an incoming packet destined for a host machine on a particular local area network
arrives at a gateway, the gateway asks the ARP program to find a physical host or MAC
address that matches the IP address. The ARP program looks in the ARP cache and, if it finds
the address, provides it so that the packet can be converted to the right packet length and
format and sent to the machine. If no entry is found for the IP address, ARP broadcasts a
request packet in a special format to all the machines on the LAN to see if one machine
knows that it has that IP address associated with it. A machine that recognizes the IP address
as its own returns a reply so indicating. ARP updates the ARP cache for future reference and
then sends the packet to the MAC address that replied.

windows server 2008 differences

1. Difference between NT & 2000 NT SAM database is a flat database. Where as in windows 2000 active directory database is a hierarchical
database.
In Windows NT only PDC is having writable copy of SAM database but the BDC is only read only
database. In case of Windows 2000 both DC and ADC is having write copy of the database
Windows NT will not support FAT32 file system. Windows 2000 supports FAT32
Default authentication protocol in NT is NTLM (NT LAN manager). In windows 2000 default
authentication protocol is Kerberos V5.
Windows 2000 depends and Integrated with DNS. NT user Netbios names
Active Directory can be backed up easily with System state data

2. Difference between 2000 & 2003
Application Server mode is introduced in windows 2003
Possible to configure stub zones in windows 2003 DNS
Volume shadow copy services is introduced
Windows 2003 gives an option to replicate DNS data b/w all DNS servers in forest or All DNS servers in
the domain.
Refer Question 1 for all Enhancements

4. Difference between PDC & BDC
PDC contains a write copy of SAM database where as BDC contains read only copy of SAM database. It is
not possible to reset a password or create objects with out PDC in Windows NT.

5. Difference between DC & ADC
There is no difference between in DC and ADC both contains write copy of AD. Both can also handles
FSMO roles (If transfers from DC to ADC). It is just for identification. Functionality wise there is no
difference.

6. What is DNS & WINS
DNS is a Domain Naming System, which resolves Host names to IP addresses. It uses fully qualified
domain names. DNS is a Internet standard used to resolve host names
WINS is a Windows Internet Name Service, which resolves Netbios names to IP Address. This is
proprietary for Windows

7. Types of DNS Servers
We can configure 7 types of DNS servers in windows.
Primary DNS
Secondary DNS
Active Directory Integrated DNS
Root DNS
Forwarder
Master
Caching only DNS

8. If DHCP is not available what happens to the client
Client will not get IP and it cannot be participated in network. If client already got the IP and having lease
duration it use the IP till the lease duration expires.

9. what are the different types of trust relationships
Implicit Trusts
Explicit Trusts—NT to Win2k or Forest to Forest


 10. what is the process of DHCP for getting the IP address to the client
There is a four way negotiation process b/w client and server
DHCP Discover (Initiated by client)
DHCP Offer (Initiated by server)
DHCP Select (Initiated by client)
DHCP Acknowledgement (Initiated by Server)
DHCP Negative Acknowledgement (Initiated by server if any issues after DHCP offer)

11. Difference between FAT,NTFS & NTFSVersion5
NTFS Version 5 features
Encryption is possible
We can enable Disk Quotas
File compression is possible
Sparse files
Indexing Service
NTFS change journal
In FAT file system we can apply only share level security. File level protection is not possible. In NTFS we
can apply both share level as well as file level security
NTFS supports large partition sizes than FAT file systems
NTFS supports long file names than FAT file systems

12. What are the port numbers for FTP, Telnet, HTTP, DNS
FTP-21, Telnet – 23, HTTP-80, DNS-53, Kerberos-88, LDAP-389,https:441,NNTP:119.

Tuesday, November 15, 2011

send message to friends via default messenger in windows

First you must put systems in same network as you know.

step1 : start --> run --> (type) services.msc --> (press) ok

step2 : find for 'messenger' services (you can press 'm' as well to find it)

step3 : double click it ! change status form disabled to automatic if it is 'disabled'.

step4 : press start button & finish the process. in both systems.

step5 : open your command prompt

step6 : type the following "net send ComputerNameHere some messages overhere"

step7 : Enter to send

Wednesday, November 9, 2011

how to change ip address in windows with comannd prompt

How to change ip address in windows with comannd prompt


The command is:
to change IP and default gateway:
netsh int ip set address "local area connection" static 192.168.0.101 255.255.255.0 192.168.0.254 1

to change DNS:
netsh int ip set dns "local area connection" static 192.168.0.254 primary

This is assuming 3 things.
1) The network adapter you're trying to change the IP for is "local area connection". It could also be "local area connection 2" or "wireless network connection". Look in your control panel for the correct name
2) The IP you want to set is 192.168.0.101, change this to whatever IP to want to use.
3) The default gateway and dns are the same IP. If you are using some kind of router they usually are. Change this to match your network config found with the command ipconfig /all

You will need to run both commands to change the IP.