Pages

Sunday, 3 November 2013

A-Z Index of the Bash command line for Linux

5 comments

A
  alias    Create an alias •
  apropos  Search Help manual pages (man -k)
  apt-get  Search for and install software packages (Debian/Ubuntu)
  aptitude Search for and install software packages (Debian/Ubuntu)
  aspell   Spell Checker
  awk      Find and Replace text, database sort/validate/index


B
  basename Strip directory and suffix from filenames
  bash     GNU Bourne-Again SHell
  bc       Arbitrary precision calculator language
  bg       Send to background
  break    Exit from a loop •
  builtin  Run a shell builtin
  bzip2    Compress or decompress named file(s)


C
  cal      Display a calendar
  case     Conditionally perform a command
  cat      Concatenate and print (display) the content of files
  cd       Change Directory
  cfdisk   Partition table manipulator for Linux
  chgrp    Change group ownership
  chmod    Change access permissions
  chown    Change file owner and group
  chroot   Run a command with a different root directory
  chkconfig System services (runlevel)
  cksum    Print CRC checksum and byte counts
  clear    Clear terminal screen
  cmp      Compare two files
  comm     Compare two sorted files line by line
  command  Run a command - ignoring shell functions •
  continue Resume the next iteration of a loop •
  cp       Copy one or more files to another location
  cron     Daemon to execute scheduled commands
  crontab  Schedule a command to run at a later time
  csplit   Split a file into context-determined pieces
  cut      Divide a file into several parts


D
  date     Display or change the date & time
  dc       Desk Calculator
  dd       Convert and copy a file, write disk headers, boot records
  ddrescue Data recovery tool
  declare  Declare variables and give them attributes •
  df       Display free disk space
  diff     Display the differences between two files
  diff3    Show differences among three files
  dig      DNS lookup
  dir      Briefly list directory contents
  dircolors Colour setup for `ls'
  dirname  Convert a full pathname to just a path
  dirs     Display list of remembered directories
  dmesg    Print kernel & driver messages
  du       Estimate file space usage


E
  echo     Display message on screen •
  egrep    Search file(s) for lines that match an extended expression
  eject    Eject removable media
  enable   Enable and disable builtin shell commands •
  env      Environment variables
  ethtool  Ethernet card settings
  eval     Evaluate several commands/arguments
  exec     Execute a command
  exit     Exit the shell
  expect   Automate arbitrary applications accessed over a terminal
  expand   Convert tabs to spaces
  export   Set an environment variable
  expr     Evaluate expressions


F
  false    Do nothing, unsuccessfully
  fdformat Low-level format a floppy disk
  fdisk    Partition table manipulator for Linux
  fg       Send job to foreground
  fgrep    Search file(s) for lines that match a fixed string
  file     Determine file type
  find     Search for files that meet a desired criteria
  fmt      Reformat paragraph text
  fold     Wrap text to fit a specified width.
  for      Expand words, and execute commands
  format   Format disks or tapes
  free     Display memory usage
  fsck     File system consistency check and repair
  ftp      File Transfer Protocol
  function Define Function Macros
  fuser    Identify/kill the process that is accessing a file


G
  gawk     Find and Replace text within file(s)
  getopts  Parse positional parameters
  grep     Search file(s) for lines that match a given pattern
  groupadd Add a user security group
  groupdel Delete a group
  groupmod Modify a group
  groups   Print group names a user is in
  gzip     Compress or decompress named file(s)


H
  hash     Remember the full pathname of a name argument
  head     Output the first part of file(s)
  help     Display help for a built-in command •
  history  Command History
  hostname Print or set system name

I
  iconv    Convert the character set of a file
  id       Print user and group id's
  if       Conditionally perform a command
  ifconfig Configure a network interface
  ifdown   Stop a network interface
  ifup     Start a network interface up
  import   Capture an X server screen and save the image to file
  install  Copy files and set attributes


J
  jobs     List active jobs •
  join     Join lines on a common field


K
  kill     Stop a process from running
  killall  Kill processes by name


I
  less     Display output one screen at a time
  let      Perform arithmetic on shell variables •
  link     Create a link to a file
  ln       Create a symbolic link to a file
  local    Create variables •
  locate   Find files
  logname  Print current login name
  logout   Exit a login shell •
  look     Display lines beginning with a given string
  lpc      Line printer control program
  lpr      Off line print
  lprint   Print a file
  lprintd  Abort a print job
  lprintq  List the print queue
  lprm     Remove jobs from the print queue
  ls       List information about file(s)
  lsof     List open files


M
  make     Recompile a group of programs
  man      Help manual
  mkdir    Create new folder(s)
  mkfifo   Make FIFOs (named pipes)
  mkisofs  Create an hybrid ISO9660/JOLIET/HFS filesystem
  mknod    Make block or character special files
  more     Display output one screen at a time
  mount    Mount a file system
  mtools   Manipulate MS-DOS files
  mtr      Network diagnostics (traceroute/ping)
  mv       Move or rename files or directories
  mmv      Mass Move and rename (files)


N
  netstat  Networking information
  nice     Set the priority of a command or job
  nl       Number lines and write files
  nohup    Run a command immune to hangups
  notify-send  Send desktop notifications
  nslookup Query Internet name servers interactively


O
  open     Open a file in its default application
  op       Operator access


P
  passwd   Modify a user password
  paste    Merge lines of files
  pathchk  Check file name portability
  ping     Test a network connection
  pkill    Stop processes from running
  popd     Restore the previous value of the current directory
  pr       Prepare files for printing
  printcap Printer capability database
  printenv Print environment variables
  printf   Format and print data •
  ps       Process status
  pushd    Save and then change the current directory
  pwd      Print Working Directory


Q
  quota    Display disk usage and limits
  quotacheck Scan a file system for disk usage
  quotactl Set disk quotas


R
  ram      ram disk device
  rcp      Copy files between two machines
  read     Read a line from standard input •
  readarray Read from stdin into an array variable •
  readonly Mark variables/functions as readonly
  reboot   Reboot the system
  rename   Rename files
  renice   Alter priority of running processes
  remsync  Synchronize remote files via email
  return   Exit a shell function
  rev      Reverse lines of a file
  rm       Remove files
  rmdir    Remove folder(s)
  rsync    Remote file copy (Synchronize file trees)


S
  screen   Multiplex terminal, run remote shells via ssh
  scp      Secure copy (remote file copy)
  sdiff    Merge two files interactively
  sed      Stream Editor
  select   Accept keyboard input
  seq      Print numeric sequences
  set      Manipulate shell variables and functions
  sftp     Secure File Transfer Program
  shift    Shift positional parameters
  shopt    Shell Options
  shutdown Shutdown or restart linux
  sleep    Delay for a specified time
  slocate  Find files
  sort     Sort text files
  source   Run commands from a file '.'
  split    Split a file into fixed-size pieces
  ssh      Secure Shell client (remote login program)
  strace   Trace system calls and signals
  su       Substitute user identity
  sudo     Execute a command as another user
  sum      Print a checksum for a file
  suspend  Suspend execution of this shell •
  sync     Synchronize data on disk with memory


T
  tail     Output the last part of file
  tar      Tape ARchiver
  tee      Redirect output to multiple files
  test     Evaluate a conditional expression
  time     Measure Program running time
  timeout  Run a command with a time limit
  times    User and system times
  touch    Change file timestamps
  top      List processes running on the system
  traceroute Trace Route to Host
  trap     Run a command when a signal is set(bourne)
  tr       Translate, squeeze, and/or delete characters
  true     Do nothing, successfully
  tsort    Topological sort
  tty      Print filename of terminal on stdin
  type     Describe a command •


U
  ulimit   Limit user resources •
  umask    Users file creation mask
  umount   Unmount a device
  unalias  Remove an alias •
  uname    Print system information
  unexpand Convert spaces to tabs
  uniq     Uniquify files
  units    Convert units from one scale to another
  unset    Remove variable or function names
  unshar   Unpack shell archive scripts
  until    Execute commands (until error)
  uptime   Show uptime
  useradd  Create new user account
  userdel  Delete a user account
  usermod  Modify user account
  users    List users currently logged in
  uuencode Encode a binary file
  uudecode Decode a file created by uuencode


V
  v        Verbosely list directory contents (`ls -l -b')
  vdir     Verbosely list directory contents (`ls -l -b')
  vi       Text Editor
  vmstat   Report virtual memory statistics


W
  wait     Wait for a process to complete •
  watch    Execute/display a program periodically
  wc       Print byte, word, and line counts
  whereis  Search the user's $path, man pages and source files for a program
  which    Search the user's $path for a program file
  while    Execute commands
  who      Print all usernames currently logged in
  whoami   Print the current user id and name (`id -un')
  wget     Retrieve web pages or files via HTTP, HTTPS or FTP
  write    Send a message to another user

  
X
  xargs    Execute utility, passing constructed argument list(s)
  xdg-open Open a file or URL in the user's preferred application.
  yes      Print a string until interrupted
  .        Run a command script in the current shell
  !!       Run the last command again
  ###      Comment / Remark

Saturday, 2 November 2013

How To Get 200+ Likes On Your Facebook Page Or Earn Money Online Daily?

10 comments
First You Need To Signup At PaidCoin

What is Paidcoin??
Paidcoin is free social exchange network which helps you grow your social presence.
>>> After login into your account. You have to earn free points by liking other
        pages,posts, photos or by sharing.

>>> you will get 8 points for each like.

>>> When you have enough points say 500 points. Then select Add site/page
        at the top left corner.
>>> Fill the form according to your requirements.

>>> At the end of the form there is an option CPC(cost per click). The minimum
        value is 2. So set it to 2.

>>> Select Save changes.

That's it. You will get likes as long as you have points in your account. When your coins will finish. just simply earn more free points.
 


The main benefit of this is that you can get 4 likes on your page for each of your like on other pages. As you earn 8 points for liking other pages and spend 2 points to get a like on your page.


Note : You Can Also Change Your Points to Money (1000 points = 1$) Enjoy
           Earning :D

Friday, 25 October 2013

How to Make Bootable Pendrive Without any Software?

4 comments

Have you ever wanted to install an Operating System(OS), but didn't have the time or didn't know how? Here's an easy and fast way of doing so. When installing an OS, use a USB. It is a much faster way than using a CD/DVD. Follow given below steps:

STEPS:

1. Insert your USB into your computer. When your computer finally recognizes
    it, open the command prompt(Run as Administrator).

2. Once inside the command prompt, type: diskpart , then press Enter.

     After that, You will something like this one:

3. Now, type: list disk , All active drives will be displayed to the command
    prompt:
  • After that, you will want to select your USB. Typically, it's always the   smallest one in size, so you will always be able to tell which one your USB. Now, type: select disk 1
  • After that, Clean your USB. Be sure to back up all data stored on the USB you are using, because you will lose all your data in this step. Type: clean

 
4. Now, you will create a partition for the USB. Type: create partition primary



5. Type: select partition 1 . This will select the partition you have just created.

  • Now, type: active . This will make the partition active on the USB.
     
6.  Now, Type: format fs=ntfs . This command will format your USB in NTFS file
     system. This could take awhile time depending on the size of the drive and
     the processing power of your computer. It could take time from a few
     seconds to 15 minutes.
  • Once completed, type: assign .
7. Congratulations, now you have a bootable USB. Type: exit


8. Now, Insert your Windows DVD or mount ISO image in the optical drive and
    note down the drive letter of the optical drive and USB media. Here I'm using
    "H" as my optical (DVD) drive letter and "J" as my USB drive letter.
  • Go back to command prompt and type following commands: H: and hit enter. Where "H" is your DVD drive letter.
  • Now, type: cd boot and hit enter.
  • After that type BOOTSECT.EXE/NT60 J: and hit enter. (Where "J" is your USB drive letter.
9. Once you have done that, Open the DVD from windows explorer
   (My Computer). You might have to right-click on it, then click on "Open".
   select all that you see and transfer to your USB.


10. That's all. Now, you have a bootable Pendrive with Win 8 or any.

If you have any queries or suggestions related to this post on 'How to Make
Bootable Pendrive Without any Software?', you're most welcome in comments..! :)  

Thursday, 24 October 2013

How to Make a System Hidden Folders or Files in Windows Without any Software?

0 comments


Almost anyone knows how to make a “hidden” folder in Windows, but then again almost anyone knows how to make explorer show hidden folders. Let’s take a look at how to make a system hidden folder, only you will know its there.
Anyone that has used Windows for a while knows that they can right-click on a file or folder and edit its properties, more so its attributes to make it a so called "hidden" file or folder. The problem is that just as many people know you can show files and folders that have the "hidden" attribute by simply changing a radio button under the folder view options. The easiest way to make a real hidden file or folder is to mark it as an important operating system file, that way Windows won't display it even if explorer is set to display hidden files and folders.
To do this just follow given steps:
1. First, we need to launch a command prompt, so press the Win + R key
    combination and type cmd then hit the enter button.

2. Now we are going to use the attrib command, so go ahead and type:

  • To make a system hidden folder: attrib +s +h "<address of folder>"
    For example i want to hide a folder "System Folder", and address of this
    folder is C:\System Folder then see below picture:

  • To make a system hidden file: attrib "<address of file>" +s +h
    For example i want to hide a file "System File.txt", and address of this
    file is C:\System Folder\System File.txt then see below picture:

3. Now if I go look for the "System Folder or System File" in my C:\ Drive it is
    gone, even with explorer set to show hidden files and folders.

4. To make visibale hidden file or folder, you can run the same attib command,
    except this time use "-" instead of the "+" signs. see below pictures:
 
To make visible hidden folder
To make visible hidden file
  Like magic, my folder or file appeared again.

If you have any queries or suggestions related to this post on 'How to Make a System Hidden Folders or Files in Windows Without any Software?', you're most welcome in comments..! :) 

Tuesday, 22 October 2013

How To Fix a Blue Screen of Death (BSOD)?

0 comments


A Blue Screen of Death, also called a STOP Error, will appear when an issue is so serious that Windows must stop completely. A Blue Screen of Death is usually hardware or driver related. Most BSODs show a STOP code that can be used to help figure out the root cause of the Blue Screen of Death.

Important: Below are general Blue Screen of Death troubleshooting steps. 

Note: Some of these steps may require you to start Windows in Safe Mode. If that's not possible then skip those steps.
Difficulty: Average
Time Required: It might take you several hours to fix a Blue Screen of Death, depending on the STOP Code.

Here's How:

    1. The most important Blue Screen of Death troubleshooting step you can take
        is to ask yourself what you just did. 
        Did you just install a new program or a piece of hardware, update a driver,
        install an update, etc.? If so, there's a very good chance that the change you
        made caused the BSOD. 
        Undo the change you made and test again for the STOP Error. Depending on
        what change you made, some solutions might include:
    • Startup using Last Known Good Configuration to undo recent registry and driver changes.
    • Use System Restore to undo recent system changes.
    • Roll Back device driver to version prior to your driver update.
    2. Verify that a minimum amount of free space is available on your Windows
        partition. Blue Screens of Death and other serious issues, like data
        corruption, can occur if there's not enough free space on your primary
        partition used for the Windows operating system.
        Note: Microsoft recommends that you maintain at least 100MB of free space
        but I regularly see problems with free space that low. I usually advise
        Windows users to keep at least 15% of a drive's capacity free at all times.
    3. Scan your computer for viruses. Some viruses can cause a Blue Screen of
        Death, especially ones that infect the master boot record (MBR) or boot
        sector.

          Important: Make sure your virus scanning software is completely up to date
        and that it's configured to scan the MBR and boot sector.
    4. Apply all available Windows service packs and other updates. Microsoft
        regularly releases patches and service packs for their operating systems that
        may contain fixes for the cause of your BSOD.
    5. Update drivers for your hardware. Most Blue Screens of Death are hardware
        or driver related so updated drivers could fix the cause of the STOP error.
    6. Check the System and Application logs in Event Viewer (8/ 7/ Vista / XP) for
        errors or warnings that might provide more clues on the cause of the BSOD.
    7. Return hardware settings to default in Device Manager. Unless you have a
        specific reason to do so, the system resources that an individual piece of
        hardware is configured to use in Device Manager should be set to default.
        Non-default hardware settings have been known to cause a Blue Screen of
        Death.
    8. Return BIOS settings to their default levels. An overclocked or misconfigured
        BIOS can cause all sorts of random issues, including BSODs. 
        Note: If you've made several customizations to your BIOS settings and don't
        wish to load the default ones then at least try returning clock speed, voltage
        settings, and BIOS memory options to their default settings and see if that
        fixes the STOP error.
    9. Make sure all internal cables, cards, and other components are installed and
        seated properly. Hardware that's not firmly in place can cause a Blue Screen
        of Death so try reseating the following and then test for the STOP message 
        again:
    • Reseat all internal data and power cables
    • Reseat the memory modules
    • Reseat any expansion cards
    10. Perform diagnostic tests on all hardware you're able to test. It's highly likely
          that the root cause of any given Blue Screen of Death is a failing piece of
          hardware:
    • Test your system memory
    • Test your hard disk drive
              If a test fails, replace the memory or replace the hard drive as soon as
           possible.
    11. Update your BIOS. In some situations, and outdated BIOS could cause a
          Blue Screen of Death due to certain incompatibilities.
    12. Start your PC with essential hardware only. A useful troubleshooting step in
          many situations, including BSOD issues, is to start your computer with the
          minimum hardware necessary to run the operating system. If your
          computer starts successfully it proves that one of the removed hardware
          devices was the cause of the STOP message.

    Tip: Typically, the only necessary hardware for starting your PC through to the operating system includes the motherboard, CPU, RAM, primary hard drive, keyboard, video card, and monitor.

    Tips:

    1. Find that hardware is the cause of your Blue Screen of Death? Try this:

    • Replace the hardware.
    • Update the hardware's firmware.
    • Make sure the hardware is on the Hardware Compatibility List.
    • Check with the manufacturer for support information.

    2. Find that a software program is the cause of your Blue Screen of Death? Try  this:

    • Reinstall the software.
    • Check for and install any available program updates.
    • Check with the developer for support information.
    • Try a competing program.
    If you have any queries or suggestions related to this post on 'How To Fix a Blue Screen of Death (BSOD)?', you're most welcome in comments..! :)

    How to Change your IP Address (Windows)?

    4 comments

    Have you been banned from a forum for speaking your mind? Maybe you’ve been caught experimenting with some video game hacks, and now you can’t play. IP bans can be annoying, especially when they get in the way of our daily internet activities. Follow this guide to get your IP changed and you can get back to doing what you want online. You can also change the IP address of your PC on the network, which is useful for troubleshooting network issues. This guide will show you how to do this. Here I'll show you following two methods:

    1. Changing Your Public IP
    2. Changing Your Private IP 

    Also see: What is the difference between public and private IP addresses?

    Method 1 Of 2 -> Changing Your Public IP :

     1. Unplug Your Modem: Most service providers assign dynamic IPs, which change from time to time. By disconnecting your modem for a long period of time, you are likely to get a new address assigned to you when you turn it back on.
     2. Wait for Five Minutes: Some ISPs (Internet Service Provider) will assign a new IP address in as little as five minutes. Reconnect your modem and check your public IP. If it hasn’t changed unplug your modem again and wait overnight (or at least 8 hours).

    3 Connect With a Different Device: IP addresses may be assigned based on the first device that’s connected to the modem. This first device is typically the router. To get a new address, try connecting your computer directly to your modem:

    • Shut everything down: In order to clear the old settings from your modem, you will need to make sure that everything on your network is powered down entirely, and that your modem is disconnected from the router. There should be no lights showing on the modem. Make sure that your computer is shut down as well.
    • Your computer will be connected directly to the internet without the added protection of a router, if only for a few minutes. Make sure that your antivirus is up to date before powering down your computer and continuing the process.
    • Connect the modem to your computer via Ethernet. Plug the Internet port in the modem directly into your computer’s Ethernet port.
    • Turn on the modem first. Let it power all the way on. This can take up to one minute.
    • Turn on the computer: Let it boot all the way up and connect to the internet. As soon as you have a connection shut it down.
    • Reconnect the router. Once your computer has been shut down, plug the internet port of the modem into the WAN port of the router. Your network settings should not be changed, but you may have a new public IP now.
    4. Contact Your ISP: In some rare cases, you may have a static IP address assigned by your internet service provider. In order to get this changed, you will need to contact their technical support directly. Oftentimes, this can only be changed once. 

    5. Mask your IP address with a proxy: Using a Proxy or VPN (Virtual Private Network) will display a different IP address for your connection, often from a different part of the country or world. Reliable proxies and VPNs often require monthly subscriptions.

    Method 2 of 2 -> Changing Your Private IP: 

    1. Renew Your IP Address in The Command Prompt: To open the command prompt, enter “cmd” into the Search field in the Start menu. In Windows 8, type “cmd” when on the Start screen.

    • Once the command prompt it open type: "ipconfig /release"
    • After the message is displayed, type: "ipconfig /flushdns"
    • After the message is displayed, type: "ipconfig /renew"
    • You will see your new IP address and other connection settings displayed.
    2. Change Your IP address Through The Router: Routers assign every device on the network a private IP address. You can change the IP address of each device by opening the configuration page of your router.
    • Open the LAN Setup section. The wording for the section will vary depending on the router brand. Look for the Address Reservation section. Here you can assign permanent private IPs to specific devices. Create a new entry.
    • Select the device from the list of connected devices. If you don’t see it, you will need to manually enter the device’s MAC address and name.
    • Choose an IP address. Typically you can leave the first three sections of the address the same (usually 192.168.1). The last section is the number that you should change. On most routers you can enter any number between 1 and 100, although some let you go as high as 254.
    • Make sure that the address you pick is not currently in use by another device on the network. This will cause a conflict, and one device will lose its connection
    3. Change Your IP Address Through Windows Network Connections: Open Network Connections. Click the Start button, then right-click on Network. Select Properties from the menu. This will open the Network and Sharing Center. Select Manage/View network connections from the left frame.
    • Windows 8 users can start typing “network and sharing center” while on the Start screen and select it from the list.
    • Windows XP users can right-click on My Network Places in the Start menu and select Properties to see the list of their connections.

    4. Right-click the connection that you want to change. Click Properties. If you are prompted for an administrator password or confirmation, type the password or provide confirmation
    5. Click the Networking tab. Under This connection uses the following items: click on Internet Protocol Version 4 (TCP/IPv4) and then click the Properties button.

    • To specify your IP address for IPv4, click Use the following IP address, and then, in the IP address, Subnet mask, and Default gateway boxes, type the IP address settings.
       
    • A typical IPv4 address looks like 172.27.103.190; a typical subnet mask would be 255.255.255.0. The Default Gateway is generally the address of your router. For example, the numbers for our system are as follows:           
    • Click OK and close all open windows. that's it :)


    Warnings:

    • As mentioned earlier, these steps will only work if both your computer and the network use DHCP. If you are using a router, and DHCP is enabled, the steps above will only affect the IP address your computer is using on the Local Area Network (LAN) between your computer and the first router "en route" to the Internet. To change the public IP you are using to connect to your service provider, you must instead change the IP address used by last IP address using (OSI Layer 3) device separating the Internet from your computer.
    • Manually assigning your IP address is also possible, but you run a very high risk of your ISP (Internet Service Provider) banning you from connecting to the internet. To manually change your IP, follow the steps above for Network Connections. Enter an IP similar to the one displayed in the command prompt window. For example, if the IP displayed in the command prompt window is 75.1.2.3, change yours to 75.1.2.4. You’ll also need to manually enter the Subnet, Gateway and DNS Server IP addresses as well. If the new IP you give your computer doesn’t work, chances are someone else on the ISP network has already been assigned that IP. You’ll need to move on to the next one and keep trying until you find an open one. However, some ISPs match up your MAC or modem data to the IP that’s been assigned. If those 2 things don’t match up, you won’t be able to connect no matter what. If your router gets the IP and not your computer, you’ll need to http in to your routers interface and manually assign the IP there. It’s pretty much the same method as assigning the IP to your computer. The method that varies is how you reach your router's interface. You can get those instructions from your manufacturer’s website.

    If you have any queries or suggestions related to this post on 'How to Change your IP Address (Windows)?
    ', you're most welcome in comments..! :)

    What is the difference between public and private IP addresses?

    0 comments
    If your intranet is not connected to the Internet, any IP addressing can be deployed. If direct (routed) or indirect (proxy or translator) connectivity to the Internet is desired, there are two types of addresses employed on the Internet, public addresses and private addresses .
     
    Public Addresses:

    Public addresses are assigned by InterNIC and consist of class-based network IDs or blocks of CIDR-based addresses (called CIDR blocks) that are guaranteed to be globally unique to the Internet.
    When the public addresses are assigned, routes are programmed into the routers of the Internet so that traffic to the assigned public addresses can reach their locations. Traffic to destination public addresses are reachable on the Internet.

    For example, when an organization is assigned a CIDR block in the form of a network ID and subnet mask, that [network ID, subnet mask] pair also exists as a route in the routers of the Internet. IP packets destined to an address within the CIDR block are routed to the proper destination.

    Illegal Addresses:

    Private intranets that have no intent on connecting to the Internet can choose any addresses they want, even public addresses that have been assigned by the InterNIC. If an organization later decides to connect to the Internet, its current address scheme might include addresses already assigned by the InterNIC to other organizations. These addresses would be duplicate or conflicting addresses and are known as illegal addresses . Connectivity from illegal addresses to Internet locations is not possible.

    For example, a private organization chooses to use 207.46.130.0/24 as its intranet address space. The public address 207.46.130.0/24 has been assigned to the Microsoft corporation and routes exist on the Internet routers to route all packets destined to IP addresses on 207.46.130.0/24 to Microsoft routers. As long as the private organization does not connect to the Internet, there is no problem because the two address spaces are on separate IP internetworks. If the private organization then connected directly to the Internet and continued to use 207.46.130.0/24 as its address space, then any Internet response traffic to locations on the 207.46.130.0/24 network would be routed to Microsoft routers, not to the routers of the private organization.

    Private Addresses:

    Each IP node requires an IP address that is globally unique to the IP internetwork. In the case of the Internet, each IP node on a network connected to the Internet requires an IP address that is globally unique to the Internet. As the Internet grew, organizations connecting to the Internet required a public address for each node on their intranets. This requirement placed a huge demand on the pool of available public addresses.

    When analyzing the addressing needs of organizations, the designers of the Internet noted that for many organizations, most of the hosts on the organization's intranet did not require direct connectivity to Internet hosts. Those hosts that did require a specific set of Internet services, such as the World Wide Web access and e-mail, typically access the Internet services through Application layer gateways such as proxy servers and e-mail servers. The result is that most organizations only required a small amount of public addresses for those nodes (such as proxies, routers, firewalls, and translators) that were directly connected to the Internet.

    For the hosts within the organization that do not require direct access to the Internet, IP addresses that do not duplicate already-assigned public addresses are required. To solve this addressing problem, the Internet designers reserved a portion of the IP address space and named this space the private address space . An IP address in the private address space is never assigned as a public address. IP addresses within the private address space are known as private addresses . Because the public and private address spaces do not overlap, private addresses never duplicate public addresses.

    The private address space specified in RFC 1918 is defined by the following three address blocks:
     
    1. 10.0.0.0/8: The 10.0.0.0/8 private network is a class A network ID that allows the following range of valid IP addresses: 10.0.0.1 to 10.255.255.254. The 10.0.0.0/8 private network has 24 host bits that can be used for any subnetting scheme within the private organization.
     
    2. 172.16.0.0/12: The 172.16.0.0/12 private network can be interpreted either as a block of 16 class B network IDs or as a 20-bit assignable address space (20 host bits) that can be used for any subnetting scheme within the private organization. The 172.16.0.0/12 private network allows the following range of valid IP addresses: 172.16.0.1 to 172.31.255.254.

    3. 192.168.0.0/16: The 192.168.0.0/16 private network can be interpreted either as a block of 256 class C network IDs or as a 16-bit assignable address space (16 host bits) that can be used for any subnetting scheme within the private organization. The 192.168.0.0/16 private network allows the following range of valid IP addresses: 192.168.0.1 to 192.168.255.254.

    The result of many organizations using private addresses is that the private address space is re-used, helping to prevent the depletion of public addresses.
    Because the IP addresses in the private address space will never be assigned by the InterNIC as public addresses, there will never exist routes in the Internet routers for private addresses. Private addresses are not reachable on the Internet. Therefore, Internet traffic from a host that has a private address must either send its requests to an Application layer gateway (such as a proxy server), which has a valid public address, or have its private address translated into a valid public address by a network address translator (NAT) before it is sent on the Internet.
     
    © 2013 Hacker'S Den | Designed by Making Different | Provided by Hacker'S Den | Powered by Hacker'S Den