configuration of dhcp & dns along with pat configuration

Upload: koushik-q-sarkar

Post on 04-Apr-2018

240 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    1/28

    NAME OF THE PROJECT:-IMPLEMENTATION OF DHCP &

    DNS ALONG WITH PAT CONFIGARETION

    NAME COLLEGE NAME REG.NO.

    1.Avradeep Chander- College of Engineering & Management, Kolaghat 9350

    2. Sampita Dutta- College of Engineering & Management, Kolaghat 9626

    3.Avisek Samanta- College of Engineering & Management, Kolaghat 9965

    4. Sutirtha Pramanik- College of Engineering & Management, Kolaghat 9748

    5. Rupam Das- Birbhum Institute of Engineering & Technology 9323

    6. Koushik Sarkar- Birbhum Institute of Engineering & Technology 9961

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    2/28

    Item Page

    No.Acknowledgement 1

    Requirement Specification 2-5

    Problem Definition &

    Description

    6-12

    About DHCP & DNS 13-15

    Hardware & Software

    Requirement

    16-

    Project Implementation &

    Screen Shots

    17-22

    Code Part 23-24

    Conclusion 25

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    3/28

    It is a great moment for us as we are going to present our vocational

    training (A summer training program) report. During our training in

    Globsyn, we have been assisted by many eminent persons in the

    respective department.

    It is impossible for us to refer all the persons who have helped us in

    various ways in bringing out this report. We may be excused for not

    naming their name individually. But we pay our full respect & thanks for

    the person who spared their valuable time for discussing the topics &

    various aspects of Globsyn from different angles.

    We would like to express our gratitude & offer our sincere thanksespecially to our respected Mr.Shushil Kr. Chowdhury

    ,faculty of Globsyn .

    Last but not the least we pay our sincere thanks,respect & love for all

    those great souls who have provided their helping hands for us & also

    for our group throughout the month with sweet smile & necessary

    information. The friendly atmosphere of Globsyn draw a good impact

    on our mind & all of them present with a respectable place in our heart

    forever.

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    4/28

    Packet Tracer Software:

    It is a Cisco router simulator that can be utilized in training and education, but

    also in research for simple computer network simulations.

    The current version of Packet Tracer supports an array of

    simulatedApplication Layer protocols, as well as basic routing withRIP,OSPF

    andEIGRP, to the extent required by the currentCCNAcurriculum. While Packet

    Tracer aims to provide a realistic simulation of functional networks, the application itself

    utilizes only a small number of features found within the actual hardware running a

    currentCisco IOSversion. Thus, Packet Tracer is unsuitable for modelling production

    networks. With the introduction of version 5.3, several new features were added

    includingBGP. BGP is not part of the CCNA curriculum, but part of theCCNP

    curriculum.

    Router:

    A router is a device that forwards data packets between computer

    networks, creating an overlay internetwork. A router is connected to two or more data

    lines from different networks. When a data packet comes in on one of the lines, the

    router reads the address information in the packet to determine its ultimate destination.

    Then, using information in its routing table or routing policy, it directs the packet to the

    next network on its journey.

    http://en.wikipedia.org/wiki/Application_Layerhttp://en.wikipedia.org/wiki/Application_Layerhttp://en.wikipedia.org/wiki/Application_Layerhttp://en.wikipedia.org/wiki/Routing_Information_Protocolhttp://en.wikipedia.org/wiki/Routing_Information_Protocolhttp://en.wikipedia.org/wiki/OSPFhttp://en.wikipedia.org/wiki/OSPFhttp://en.wikipedia.org/wiki/OSPFhttp://en.wikipedia.org/wiki/EIGRPhttp://en.wikipedia.org/wiki/EIGRPhttp://en.wikipedia.org/wiki/EIGRPhttp://en.wikipedia.org/wiki/CCNAhttp://en.wikipedia.org/wiki/CCNAhttp://en.wikipedia.org/wiki/CCNAhttp://en.wikipedia.org/wiki/Cisco_IOShttp://en.wikipedia.org/wiki/Cisco_IOShttp://en.wikipedia.org/wiki/Cisco_IOShttp://en.wikipedia.org/wiki/BGPhttp://en.wikipedia.org/wiki/BGPhttp://en.wikipedia.org/wiki/BGPhttp://en.wikipedia.org/wiki/CCNPhttp://en.wikipedia.org/wiki/CCNPhttp://en.wikipedia.org/wiki/CCNPhttp://en.wikipedia.org/wiki/BGPhttp://en.wikipedia.org/wiki/Cisco_IOShttp://en.wikipedia.org/wiki/CCNAhttp://en.wikipedia.org/wiki/EIGRPhttp://en.wikipedia.org/wiki/OSPFhttp://en.wikipedia.org/wiki/Routing_Information_Protocolhttp://en.wikipedia.org/wiki/Application_Layer
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    5/28

    Definition: A network switch is a small hardware device that joins multiple computers together within onelocal

    area network (LAN). Technically, network switches operate at layer two (Data Link Layer) of theOSI model.

    Network switches appear nearly identical tonetwork hubs, but a switch generally contains more intelligence (and a

    slightly higher price tag) than a hub. Unlike hubs, network switches are capable of inspecting datapacketsas they are

    received, determining the source and destination device of each packet, and forwarding them appropriately. By

    delivering messages only to the connected device intended, a network switch conservesnetwork bandwidthand offers

    generally better performance than a hub.

    As with hubs,Ethernetimplementations of network switches are the most common. Mainstream Ethernet network

    switches support either 10/100MbpsFast Ethernet orGigabit Ethernet(10/100/1000) standards.

    Different models of network switches support differing numbers of connected devices. Most consumer-grade network

    switches provide either four or eight connections for Ethernet devices. Switches can be connected to each other, a so-

    called daisy chaining method to add progressively larger number of devices to a LAN.

    http://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htmhttp://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htmhttp://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htmhttp://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htmhttp://compnetworking.about.com/cs/designosimodel/g/bldef_osi.htmhttp://compnetworking.about.com/cs/designosimodel/g/bldef_osi.htmhttp://compnetworking.about.com/cs/designosimodel/g/bldef_osi.htmhttp://compnetworking.about.com/cs/internetworking/g/bldef_hub.htmhttp://compnetworking.about.com/cs/internetworking/g/bldef_hub.htmhttp://compnetworking.about.com/cs/internetworking/g/bldef_hub.htmhttp://compnetworking.about.com/library/glossary/bldef-packet.htmhttp://compnetworking.about.com/library/glossary/bldef-packet.htmhttp://compnetworking.about.com/library/glossary/bldef-packet.htmhttp://compnetworking.about.com/library/glossary/bldef-bandwidth.htmhttp://compnetworking.about.com/library/glossary/bldef-bandwidth.htmhttp://compnetworking.about.com/library/glossary/bldef-bandwidth.htmhttp://compnetworking.about.com/cs/ethernet1/g/bldef_ethernet.htmhttp://compnetworking.about.com/cs/ethernet1/g/bldef_ethernet.htmhttp://compnetworking.about.com/cs/ethernet1/g/bldef_ethernet.htmhttp://compnetworking.about.com/library/glossary/bldef-kbps.htmhttp://compnetworking.about.com/library/glossary/bldef-kbps.htmhttp://compnetworking.about.com/cs/gigabitethernet/g/bldef_gigaenet.htmhttp://compnetworking.about.com/cs/gigabitethernet/g/bldef_gigaenet.htmhttp://compnetworking.about.com/cs/gigabitethernet/g/bldef_gigaenet.htmhttp://compnetworking.about.com/cs/gigabitethernet/g/bldef_gigaenet.htmhttp://compnetworking.about.com/library/glossary/bldef-kbps.htmhttp://compnetworking.about.com/cs/ethernet1/g/bldef_ethernet.htmhttp://compnetworking.about.com/library/glossary/bldef-bandwidth.htmhttp://compnetworking.about.com/library/glossary/bldef-packet.htmhttp://compnetworking.about.com/cs/internetworking/g/bldef_hub.htmhttp://compnetworking.about.com/cs/designosimodel/g/bldef_osi.htmhttp://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htmhttp://compnetworking.about.com/cs/lanvlanwan/g/bldef_lan.htm
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    6/28

    A personal computer (PC) is any general-purposecomputerwhose size

    capabilities, and original sales price make it useful for individuals, and which is

    intended to be operated directly by anend-userwith no intervening computer operator

    This contrasted with the batch processing ortime-sharingmodels which allowed larger

    more expensiveminicomputerandmainframesystems to be used by many people,

    usually at the same time. Large data processing systems require a full-time staff to

    operate efficiently.

    http://en.wikipedia.org/wiki/Computerhttp://en.wikipedia.org/wiki/Computerhttp://en.wikipedia.org/wiki/Computerhttp://en.wikipedia.org/wiki/End-userhttp://en.wikipedia.org/wiki/End-userhttp://en.wikipedia.org/wiki/End-userhttp://en.wikipedia.org/wiki/Time-sharing_systemhttp://en.wikipedia.org/wiki/Time-sharing_systemhttp://en.wikipedia.org/wiki/Time-sharing_systemhttp://en.wikipedia.org/wiki/Minicomputerhttp://en.wikipedia.org/wiki/Minicomputerhttp://en.wikipedia.org/wiki/Minicomputerhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/Mainframe_computerhttp://en.wikipedia.org/wiki/Minicomputerhttp://en.wikipedia.org/wiki/Time-sharing_systemhttp://en.wikipedia.org/wiki/End-userhttp://en.wikipedia.org/wiki/Computer
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    7/28

    Used to connect different type of devices.Example- Router and Switch.

    Cross cable:

    Used to connect same type of devices.

    Example-Router to Router

    RJ 45.

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    8/28

    hen communicating to devices in a public network, our device needs to use a source address that is a

    blic address. NAT device enables private IPv4 to connect to the Internet. NAT enable us to changeIP address in a packet to a different address. Usually, NAT connects two networks and translates

    e private (inside local) addresses into public addresses (inside global) before packets are forwarded

    another network. In other word Address translation allows us to translate your internal private

    dresses to public addresses before these packets leave your network. It is a way to conserve ipdress

    Hide a number of hosts behind a single IP addressUse:

    10.0.0.0-10.255.255.255, 172.16.0.0-172.32.255.255 or 192.168.0.0-192.168.255.255 for local networks

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    9/28

    Our ISP didnt provide us sufficient public IP address.

    Our company is going to merge in a company which uses same address space.

    Where we want to hide your internal IP address space from outside.

    We want to assign the same IP address to multiple machines.

    Static

    Dynamic

    PAT

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    10/28

    STATIC

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    11/28

    DYNAMIC

    PAT

    NAT Network address Translation Static Dynamic and PAT Over NAT

    When communicating to devices in a public network, your device needs to use a source address that is a publicaddress. NAT device enables private IPv4 to connect to the Internet. NAT enable you to change an IP address in

    a packet to a different address. Usually, NAT connects two networks and translates the private (inside local)

    addresses into public addresses (inside global) before packets are forwarded to another network. In other wordAddress translation allows you to translate your internal private addresses to public addresses before these

    packets leave your network.

    Situation where you should use NAT

    http://e/New%20floder/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco_files/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco.htmhttp://e/New%20floder/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco_files/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco.htmhttp://e/New%20floder/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco_files/NAT%20Network%20address%20Translation%20Static%20Dynamic%20and%20PAT%20Over%20NAT%20%20%20WAN%20protocols%20HDLC%20PPP%20Frame%20Really%20NAT%20PAT%20%20%20Study%20Guide%20640%20-%20802%20%20%20CCNA%20%20%20Cisco.htm
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    12/28

    Your ISP didnt provide you sufficient public IP address

    Your company is going to merge in a company which use same address space

    Where you want to hide your internal IP address space from outside

    You want to assign the same IP address to multiple machines

    There are three types of NAT

    Static

    Dynamic

    PAT

    STATIC NAT

    In static NAT manual translation is performed by an address translation device, translating one IP address to adifferent one. If you have 100 devices, you need to create 100 static entries in the address translation table.Typically, static translation is done for inside resources that outside people want to access.

    Dynamic NAT

    Dynamic NAT is mostly used when inside users needs to access outside resources. The global address assigned

    to the internal user isn't important, since outside devices don't directly connect to your internal users they just

    return traffic to them that the inside user requested.

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    13/28

    Dynamic NAT is used when inside use wants to access external resource. When an inside user sends trafficthrough the address translation device, say a router, it examines the source IP address and compares it to the

    internal local address pool. If it finds a match, then it determines which inside global address pool it should use

    for the translation. It then dynamically picks an address in the global address pool that is not currently assigned

    to an inside device. The router adds this entry in its address translation table, the packet is translated, and thepacket is then sent to the outside world. If no matching entry is found in the local address pool, the address is

    not translated and is forwarded to the outside world in its original state.

    When returning traffic comes back into your network, the address translation device examines the destination IPaddresses and checks them against the address translation table. Upon finding a matching entry, it converts the

    global inside address to the local inside address in the destination IP address field of the packet header and

    forwards the packet to the inside network

    PAT

    With PAT, all devices that go through the address translation device have the same global IP address assigned

    to them, so the source TCP or UDP port numbers are used to differentiate the different connections. If two

    devices have the same source port number, the translation device changes one of them to ensure uniqueness.

    Major difference between NAT and PAT is In NAT Only IP addresses are translated (not port numbers).

    Disadvantages of Address Translation

    Three main disadvantage with address translation are:

    Each connection has an added delay.

    Troubleshooting is more difficult.

    Not all applications work with address translation.

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    14/28

    Address Translation Terms and Types

    Term Explanation

    Inside Addresses located on the inside of your network

    Outside Addresses located outside of your network

    Local The IP address physically assigned to a device

    Global The public IP address physically or logically assigned to a device

    Inside local IP address The IPv4 address that is assigned to a host on the inside network

    Inside global IP addressA legitimate IPv4 address assigned by the ISP that represents one or mor

    inside local IPv4 addresses to the outside world

    Outside global IP address An outside device with a registered public IP address

    Outside local IP address An outside device with an assigned private IP address

    Static NATA manual address translation is performed between two addresses and

    possibly port numbers.

    Dynamic NATAn address translation device automatically performs address translation

    between two addresses and possibly port numbers.

    Port Address Translation(PAT)

    Many inside IP addresses are translated to a single IP address, where eacinside address is given a different TCP or UDP port number for

    uniqueness.

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    15/28

    What is DHCP?

    The Internet is a vast source of information that is continuously updated and accessed via computers and otherdevices. For a device (also referred to as a host) to connect to the Internet, it is necessary that among other

    configurations, it must have an Internet Protocol (IP) address. TheIP addressis the computer's address on the

    Internet. A common comparison of an IP address is an individual's telephone number, which is an identifier for

    people to communicate with the individual. Up until the late 1980s, configuring a computer to connect to theInternet was a manual process. The protocol Bootstrap Protocol (BOOTP) was the first Transmission Control

    Protocol/Internet Protocol (TCP/IP) network configuration tool used to prevent the task of having to manually

    assign IP addresses by automating the process.

    While the introduction of the BOOTP network protocol was a welcome innovation for network administrators

    tasked with managing large numbers of computers on a network, it was the first attempt and a new andimproved TCP/IP network protocol soon followed. This protocol is called Dynamic Host Configuration

    Protocol (DHCP). DHCP was not designed as a replacement for BOOTP, but an extension of its functionality.

    How DHCP Works?

    As its name indicates, DHCP provides dynamic IP address assignment. What this means is that instead ofhaving to rely on a specific IP address, a computer will be assigned one that is available from a subnet or "pool"

    that is assigned to the network. DHCP also extends BOOTP functionality to provide IP addresses that expire.

    BOOTP indirectly uses a form of leasing that never expired, but the term wasn't actually used until theintroduction of DHCP. When DHCP assigns an IP address, it actually leases the identifier to the host computerfor a specific amount of time. The default lease is five days, but a network administrator should evaluate their

    own particular circumstances to determine an appropriate lease.

    In basic terms, the DHCP lease process works as follows:

    1. A network device attempts to connect to the Internet.

    2. The network requests an IP address.

    3. The DHCP server allocates (leases) the network device an IP address, which is forwarded to the network by a

    router.

    4. DHCP updates the appropriate network servers with the IP address and other configuration information.5. The network device accepts the IP address.

    6. The IP address lease expires.

    7. DHCP either reallocates the IP address or leases one that is available.

    8. The network device is no longer connected to the Internet.

    9. The IP address becomes an available address in the network pool of IP addresses.

    To set up DHCP, you basically need a DHCP-supported client (at least one) and router, and a DHCP server. Theclient is a computer or other device on a network that requires an IP address and or other network configuration

    information. The router functions as a forwarding (or routing) agent of IP address requests from the DHCP

    http://whatismyipaddress.com/ip-addresshttp://whatismyipaddress.com/ip-addresshttp://whatismyipaddress.com/ip-addresshttp://whatismyipaddress.com/ip-address
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    16/28

    server. The DHCP server is key to the entire operation. It is responsible for allocating, leasing, reallocating, andrenewing IP addresses. Windows and Linux both support DHCP software.

    The Internet, and many larger privateInternet Protocol (IP)networks, rely on theDomain Name System (DNS)to help

    direct traffic. The DNS maintains a distributed database of network names and addresses, and it provides methods for

    computers to remotely query the database. Some people call DNS the "phone book of the Internet."

    DNS and the World Wide Web

    All public Web sites run on servers connected to the Internet withpublic IP addresses. The Web servers at About.com,

    for example, have addresses like 207.241.148.80. Although people can type address information like

    http://207.241.148.80/ into their Web browser to visit sites, being able to use proper names like

    http://www.about.com/ is much more practical.

    The Internet utilizes DNS as a worldwide name resolution service for public Web sites. When someone types asite's name into their browser, DNS looks up the corresponding IP address for that site, the data required to

    make the desired network connections between Web browsers and Web servers.

    DNS Servers and Name Hierarchy

    DNS uses aclient/server networkarchitecture. DNS servers are the computers designated to store DNS database records

    (names and addresses), while clients of the DNS include PCs, phones and other devices of end users. DNS servers also

    interface with each other, acting as clients to each other when needed.

    The DNS organizes its servers into a hierarchy. For the Internet, so-called root name servers reside at the top of

    the DNS hierarchy. The Internet root name servers manage DNS server information for the Web's top-leveldomains (TLD)(like ".com" and ".uk"), specifically the names and IP addresses of the original (called

    authoritative) DNS servers responsible for answering queries about each TLD individually. Servers at the next

    lower level of the DNS hierarchy track second-level domain names and addresses (like "about.com") , andadditional levels manage Web domains (like "compnetworking.about.com").

    DNS servers are installed and maintained by private businesses and Internet governing bodies around the world.For the Internet, 13 root name servers (actually redundant pools of machines around the world) support the

    hundreds of Internet top-level domains, while About.com provides authoritative DNS server information for the

    sites within its network. Organizations can similarly deploy DNS on their private networks separately, on the

    smaller scale.

    Configuring Networks for DNS

    DNS clients (called resolvers) wanting to use DNS must have it configured on their network. Resolvers query the DNS

    using fixed (static) IP addresses of one or more DNS servers. On a home network, DNS server addresses can be

    configured once on abroadband routerand automatically picked up by client devices, or the addresses can be

    configured on each client individually. Home network administrators can get valid DNS server addresses from either

    their Internet service provider or third-party Internet DNS providers likeGoogle Public DNSandOpenDNS.

    http://compnetworking.about.com/od/networkprotocolsip/g/ip_protocol.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/ip_protocol.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/ip_protocol.htmhttp://compnetworking.about.com/cs/domainnamesystem/g/bldef_dns.htmhttp://compnetworking.about.com/cs/domainnamesystem/g/bldef_dns.htmhttp://compnetworking.about.com/cs/domainnamesystem/g/bldef_dns.htmhttp://compnetworking.about.com/od/workingwithipaddresses/f/what-is-a-public-ip-address.htmhttp://compnetworking.about.com/od/workingwithipaddresses/f/what-is-a-public-ip-address.htmhttp://compnetworking.about.com/od/workingwithipaddresses/f/what-is-a-public-ip-address.htmhttp://compnetworking.about.com/od/basicnetworkingfaqs/a/client-server.htmhttp://compnetworking.about.com/od/basicnetworkingfaqs/a/client-server.htmhttp://compnetworking.about.com/od/basicnetworkingfaqs/a/client-server.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/cs/dslcablerouters/g/bldef_bbrouter.htmhttp://compnetworking.about.com/cs/dslcablerouters/g/bldef_bbrouter.htmhttp://compnetworking.about.com/cs/dslcablerouters/g/bldef_bbrouter.htmhttp://compnetworking.about.com/b/2010/02/05/google-dns-vs-opendns.htmhttp://compnetworking.about.com/b/2010/02/05/google-dns-vs-opendns.htmhttp://compnetworking.about.com/b/2010/02/05/google-dns-vs-opendns.htmhttp://compnetworking.about.com/b/2008/09/16/what-is-opendns.htmhttp://compnetworking.about.com/b/2008/09/16/what-is-opendns.htmhttp://compnetworking.about.com/b/2008/09/16/what-is-opendns.htmhttp://compnetworking.about.com/b/2008/09/16/what-is-opendns.htmhttp://compnetworking.about.com/b/2010/02/05/google-dns-vs-opendns.htmhttp://compnetworking.about.com/cs/dslcablerouters/g/bldef_bbrouter.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/od/dns_domainnamesystem/a/domain-name-tld.htmhttp://compnetworking.about.com/od/basicnetworkingfaqs/a/client-server.htmhttp://compnetworking.about.com/od/workingwithipaddresses/f/what-is-a-public-ip-address.htmhttp://compnetworking.about.com/cs/domainnamesystem/g/bldef_dns.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/ip_protocol.htm
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    17/28

    Types of DNS Lookups

    DNS is most commonly used by Web browsers automatically converting Internet domain names to IP addresses. Beside

    theseforward lookups, the DNS also is used for:

    finding the correct servers to deliver Internet email

    reverse lookups that convert an IP address back to a domain name

    The network requests supporting DNS lookups run overTCPandUDP, port 53 by default.

    DNS Caches

    To better process high volumes of requests, the DNS utilizes caching. DNS caches store local copies of recently-accessed

    DNS records while the originals continue to be maintained on their designated servers. Having local copies of DNS

    records avoids having to generate network traffic up and through the DNS server hierarchy. However, if a DNS cache

    becomes outdated, network connectivity issues can result. DNS caches have also been prone to attack by network

    hackers. Network administrators can flush a DNS cache if needed usingipconfigand similar utilities.

    Dynamic DNS

    Standard DNS requires all IP address information stored in the database to be fixed. This works fine for supporting

    typical Web sites but not for devices using dynamic IP addresses such as Internet Web cams or home Web servers.

    Dynamic DNS (DDNS) addsnetwork protocolextensions to DNS to enable name resolution service for dynamic clients.

    Various third-party providers offer dynamic DNS packages designed for those wanting to remotely access theirhome network via the Internet. Setting up an Internet DDNS environment requires signing up with the chosen

    provider and installing additional software on the local network. The DDNS provider remotely monitors

    subscribed devices and makes the required DNS name server updates.

    Alternatives to DNS

    The MicrosoftWindows Internet Naming Service (WINS)supports name resolution similar to DNS but works only on

    Windows computers and using a different name space. WINS is used on some private networks of Windows PCs.

    Dot-BITis an open source project based based onBitCoin technology that is working to add support for a ".bit"top-level domain to the Internet DNS.

    http://compnetworking.about.com/cs/basictcpip/g/bldef_tcpip.htmhttp://compnetworking.about.com/cs/basictcpip/g/bldef_tcpip.htmhttp://compnetworking.about.com/cs/basictcpip/g/bldef_tcpip.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/udp-user-datagram-protocol.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/udp-user-datagram-protocol.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/udp-user-datagram-protocol.htmhttp://compnetworking.about.com/od/workingwithipaddresses/a/ipconfig.htmhttp://compnetworking.about.com/od/workingwithipaddresses/a/ipconfig.htmhttp://compnetworking.about.com/od/workingwithipaddresses/a/ipconfig.htmhttp://compnetworking.about.com/od/networkprotocols/g/protocols.htmhttp://compnetworking.about.com/od/networkprotocols/g/protocols.htmhttp://compnetworking.about.com/od/networkprotocols/g/protocols.htmhttp://compnetworking.about.com/cs/windowsnetworkin1/g/bldef_wins.htmhttp://compnetworking.about.com/cs/windowsnetworkin1/g/bldef_wins.htmhttp://compnetworking.about.com/cs/windowsnetworkin1/g/bldef_wins.htmhttp://compnetworking.about.com/cs/windowsnetworkin1/g/bldef_wins.htmhttp://compnetworking.about.com/od/networkprotocols/g/protocols.htmhttp://compnetworking.about.com/od/workingwithipaddresses/a/ipconfig.htmhttp://compnetworking.about.com/od/networkprotocolsip/g/udp-user-datagram-protocol.htmhttp://compnetworking.about.com/cs/basictcpip/g/bldef_tcpip.htm
  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    18/28

    Software & Hardware Requirement:

    Monitor: Laptop & Desktop

    Processor : Intel Core i3Ram : 2G.B

    Keyboard & Mouse

    Straight Cable & Cross Cable

    Operating System : Windows XP & 2007

    Microsoft Office Package

    Packet Tracer 5.3.3

    Internet

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    19/28

    IMPLEMENTATION OF DHCP & DNS ALONG WITH

    PAT CONFIGARETION

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    20/28

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    21/28

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    22/28

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    23/28

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    24/28

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    25/28

    CODE

    DHCP for ROUTER 0-

    Dhcp and pat ..CONFIGURATION

    Router R0 configuration

    Router>enable

    Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.

    Router(config)#hostname pat

    R1(config)#interface fastEthernet 0/1

    R1(config-if)#ip address 192.168.10.1 255.255.255.0

    R1(config-if)#no shutdown

    R1(config-if)#exit

    R1(config)#interface serial 0/1

    R1(config-if)#ip address 192.168.20.1 255.255.255.0

    R1(config-if)#clock rate 64000

    R1(config-if)#no shutdown

    R1(config-if)#exit

    R1(config)#ip route 0.0.0.0 0.0.0.0 serial 0/1

    R1(config)#access-list 1 permit 192.168.10.0 0.0.0.255

    R1(config)#ip nat pool test 200.200.200.10 200.200.200.10 netmask 255.255.255.0

    R1(config)#ip nat inside source list 1 pool test overload

    R1(config)#interface fastEthernet 0/0

    R1(config-if)#ip nat inside

    R1(config-if)#exit

    R1(config)#interface serial 0/1

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    26/28

    R1(config-if)#ip nat outside

    R1(config-if)#exit

    R1(config)#

    FOR ROUTER 1:

    Router>enable

    Router#configure terminal

    Router(config)#interface serial 0/1

    Router(config-if)#ip address 192.168.20.2 255.255.255.0

    Router(config-if)#no shutdown

    Router(config-if)#exit

    Router(config)#interface fastEthernet 0/0

    Router(config-if)#ip address 192.168.30.1 255.255.255.0Router(config-if)#no shutdown

    Router(config-if)#exit

    Router(config)#hostname internet

    R2(config)#ip route 0.0.0.0 0.0.0.0 serial 0/1

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    27/28

    NAT is a technology that allows organizations to map valid external addresses to private or unregistered

    internal addresses

    Organizations can use NAT to allow many more people to access the Internet by sharing one or more

    valid public addresses

    Static NAT involves mapping each internal IP address to a separately defined outside IP address

    Dynamic NAT involves the mapping of inside addresses to a smaller pool of outside addresses

    PAT allows an organization to map more than one internal private IP address to a single outside IP

    address by using port numbers to identify the separate connections

    The Domain Name Service (DNS) is used to provide an IP address-to-name mapping so that users can

    refer to hosts by name rather than address

    The Dynamic Host Configuration Protocol provides IP configuration information such as address,

    subnet mask, default-gateway, DNS and WINS server location, and domain name to hosts on the

    network

    SDM is a Web-enabled Cisco product that allows advanced router configuration without using the

    command-line interface

  • 7/30/2019 Configuration of DHCP & DNS Along With PAT Configuration

    28/28