./images/Connecting.jpg

CCNA Semester 4 Connecting Networks

Page navigation

  1. NAT/PAT
  2. DHCP
  3. PPP
  4. DDR (Dialer Routing)
  5. Frame Relay
  6. NTP
  7. Top of page

    Network Address Translation/Port Address Translation


    Static NAT

    Setting the inside and outside IP address' ip nat inside source
    static 192.168.1.1 209.165.49.27
    Setting an interface as the inside for NAT interface fa0/1
    ip nat inside
    Setting an interface as the outside for NAT interface s0/0/0
    ip nat outside

    Dynamic NAT

    Setting up a pool of address for use in NAT ip nat pool POOL1 192.168.1.1 192.168.1.128 netmask 255.255.255.0
    Assigning an ACL to a NAT pool access-list 1 permit 10.0.0.0 0.0.255.255 pool POOL1
    Assigning NAT to the pool ip nat inside source list 1 pool POOL1
    Setting an interface as the inside for NAT interface fa0/1
    ip nat inside
    Setting an interface as the outside for NAT interface s0/0/0
    ip nat outside

    NAT Overload/PAT

    Assigning an ACL to a NAT pool list 1 permit 10.0.0.0 0.0.255.255
    Assigning the ACL to an interface to use in NAT/PAT ip nat inside source list 1 interface s0/0/1 overload
    Assigning the NAT pool to use in NAT/PAT ip nat pool POOL2 172.16.1.1 netmask 255.255.2555.250
    Assigning the ACL to a pool to use in NAT/PAT ip nat inside source list 1 pool POOL2 overload
    Setting an interface as the inside for NAT interface fa0/1
    ip nat inside
    Setting an interface as the outside for NAT interface s0/0/0
    ip nat outside

    Show and debug commands for NAT/PAT

    Clear NAT translations clear ip nat translation
    Clear NAT translations for a specific IP range clear ip nat translation inside 209.165.49.27 192.168.1.1 outside 192.168.1.20 209.165.43.87 overload
    View the processed NAT translations show ip nat translations
    View NAT statistics show ip nat statistics
    Debug for NAT debug ip nat
    Detailed debug for NAT debug ip nat detailed



    Dynamic Host Configuration Protocol


    Configuring DHCP

    Setting a DHCP pool name ip dhcp pool POOL1
    Specifies the subnet and mask of the DHCP address pool network 10.1.1.0 /24
    Set the default gateway of the DHCP Clients default-router 10.1.1.1
    Configure a Domain Name Server (DNS) dns-server 10.1.1.1
    Configure a domain-name domain-name lewismchandler.co.uk
    The IP range the DHCP should not assign to clients ip dhcp excluded-address 10.1.1.1 10.1.1.10



    Point-to-Point Protocol


    Configuring HDLC and PPP

    Enable HDLC on an interface encapsulation hdlc
    Enable HDLC on an interface encapsulation ppp
    Set how much of the link PPP can use ppp quality 15
    Set up a new user for PPP username Bob password 12345
    Set up PPP authentication ppp authentication chap | chap pap | pap chap | pap
    Set up CHAP hostname ppp chap hostname ISP
    Set up CHAP password ppp chap password secret
    Debug for PPP authentication debug ppp authentication
    Turn off debug undebug all
    Setup debug for PPP debug ppp packet | negotiation |error | chap


    Dial-on-Demand Routing


    Configuring DDR Dialer Information

    Set up a new dialer group dialer-group 1 password 12345
    Assign the dialer group to a dialer ACL dialer-list 1 protocol ip permit | deny | list 1
    Set a dialer map? dialer map ip 129.30.255.253 name Gent 5551000
    Configure a timeout for the dialer in seconds dialer idle-timeout 60
    Assign a remote name to an interface dialer remote-name DIALER-POOL
    Assign a Dialer pool to an interface dialer pool 1
    Assign a dialer group to an interface dialer group 1
    View dialer show dialer interface fa0/1
    Enable PPP debug debug ppp authentication
    Enable PPP authentication debug debug ppp negotiation
    Show PPP errors in debug debug ppp error

    Frame Relay


    Basic Frame Relay Configuration

    Setting an interface to use frame relay encapsulation frame-relay cisco | ietf
    Sets the LMI type for frame relay frame-relay lmi-type ansi | cisco | q933i

    Network Time Protocol


    Basic NTP Configuration

    Setting the clock clock set 09:00:00 25 august 2013
    Configure a router as an NTP master server Ntp master 5
    Configure a router to use an NTP server Ntp server 10.10.10.130

Page navigation

  1. NAT/PAT
  2. DHCP
  3. PPP
  4. DDR (Dialer Routing)
  5. Frame Relay
  6. NTP
  7. Top of page