Home » Cisco CCNA Training » Networking How To’s

Networking How To’s

    How To Configure Ip Address on PC In Packet Tracer

    How to apply ip address,Subnet Mask ,Default Gateway in Packet Tracer




    Steps:

    Step 1:Double Click the PC Icon Move to config tab and configure default gateway

    Step 3:Then Click on FastEthernet and apply  ip address and subnetmask

    Thats it!!...

    Read more

    How to Assign Password for privileged Mode,line vtyand line console

    How to assign password for privileged mode,console and telnet.





    Setting Password for Privileged mode.Go to global configuration mode and enter this command

    Previleged mode Password



    Router(config)#enable password cisco
    Router(config)#enable secret cisco1

    In this password is clearly visible to all if we give command show running-config.But enable secret will encrypt those passwords.

    We can see both passwords in running configuration because,Old routers doesn't support this new command
    enable secret.

    Some people will save running configuration to a notepad and they will copy and paste  those configuration to other routers in global configuraion mode.Old routers doesn't support enable secret that time atleast enable password will be accepted by the router.

    Line Console Password



    Router#config t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#line con 0
    Router(config-line)#password cisco
    Router(config-line)#login
    Router(config-line)#exit

    Telnet Password Virtual Terminal

    Router(config)#line vty 0 4
    Router(config-line)#password cisco
    Router(config-line)#login
    Router(config-line)#exit
    Router(config)#

    Auxilary Port Password

    Router(config)#line aux 0
    Router(config-line)#password cisco
    Router(config-line)#login
    Router(config-line)#exit

    Read more

    What is an Ip Address and its Classes Public and Private

    Ip address classes, Class A,B,C,D,E.Ip address is 32-bit binary address dotted decimal 4 Octets  8-bit each

    32-bit (4-bytes)

    8-bit(1-byte)




    Binary to Decimal

    (Equivalent decimal values for each bit)

    128         64           32           16           8          4          2          1     

      0            0             0             0            0          0          0          0  =  0

      0            0             0             0            0          0          0          1  =  1

      0            0             0             0            0          0          1          0  =  2

      0            0             0             0            0          0          1          1  =  3

      0            0             0             0            0          1          0          0  =  4  

      0            0             0             0            0          1          0          1  =  5   (Total Decimal values )

      0            0             0             0            0          1          1          0  =  6

      0            0             0             0            0          1          1          1  =  7

      0            0             0             0            1          0          0          0  =  8

      0            0             0             0            1          0          0          1  =  9

      0            0             0             0            1          0          1          0  =  10

      0            0             0             0            1          0          1          1  =  11

      0            0             0             0            1          1          0          0  =  12

      0            0             0             0            1          1          0          1  =  13

      0            0             0             0            1          1          1          0  =  14

      0            0             0             0            1          1          1          1  =  15

    Here we see some examples

    Add equivalent decimal values of the bits that is 1.

    128         64           32           16           8          4          2          1     

      0            1             0             1           0          0          0          0     =80     (64+16)    

      1            0             1             0            0          0          0          0  = 160    (128+32)  

      1            1             0             0            0          0          0          0  = 192    (128+64)   

      1            0             0             1            0          1          0          0  = 148    (128+16+4)

      0            1             1             1            0          0          0          0  = 112     (64+32+16)

      0            1             0             1            1          1          0          0  =  92     (64+16+8+4)


    Example Ip address   -   176.16.30.8 

    In binary and its equivalent decimal values

    10110000-176
    00010000-16
    00011110-30
    00001000-8

    Class C Ip address

    192.168.1.52-11000000.10101000.00000001.00110100

    Class A Ip

    10.20.54.2-00001010.00010100.00110110.00000010

    Ip Address Range

     
    Class A 0.0.0.0-126.255.255.255    (0-126)
     
    127.0.0.0-127.255.255.255 is loop back address   (127)
     
    Class B 128.0.0.0-191.255.255.255    (128-191)
     
    Class C 192.0.0.0-223.255.255.255     (192-223)
     
    Class D 224.0.0.0-239.255.255.255 (Multicast Address)  (224-239)
     

    Class E 240.0.0.0 Reserved for Research

    Ip address Per Network

    In Class A -1,67,77216
    In Class B -65536
    In Class C -256

    Private Address,this ip address assigned for the host in side LAN.This cannot be used in public network,
    this ip address can't communicate directly with the public network(Internet).If we want to make this host communicate with public network we need NAT.

    Any one can use this private ip address for company,home,office depends on the ip address requirement we can choose a ip address class

    Private Address Range

    In Class  A    10.0.0.0-10.255.255.255

    In Class  B    176.16.0.0-176.31.255.255

    In Class  C     192.168.0.0-192.168.255.255

    In Class A- 1,67,77,216
    In Class B- 1048576
    In Class C- 65536

    Subnet Mask

    Subnet mask has been using to identify which part of the ip address is network bit and host bit.1's represents  network bit and 0's represents host or node

    Class A   Network    Host           Host          Host

    Class B   Network     Network    Host          Host

    Class C   Network     Network    Network   Host

    Class A IP and its Subnet Mask

    10.0.0.0/8    /8-shows that 8-bits are belongs to network id rest of the bits are belogs to Nodes
    255.0.0.0 

    00001010.00000000.00000000.00000000 Ip Address in Binary
    11111111.00000000.00000000.00000000 Subnet Mask In Binary

    First ip address in a network is network address.Last ip address in a network is broadcast address, we can't
    assign this ip address to a host

    10.0.0.0-Network Address
    10.255.255.255-Broadcast Address
    Valid host id in this network is 1,67,77,216-2=1,67,77,214

    Class B IP and its Subnet Mask

    176.16.0.0/16     /16     16-bits for network id and 16-bits for host id
    255.255.0.0

    11010000.00010000.00000000.00000000 Ip address in binary
    11111111.11111111.00000000.00000000 Subnet mask in binary

    176.16.0.0-Network Address
    176.16.255.255-Broadcast Address
    Valid host id in this network is 65536-2=65534

    Class C IP and its Subnet Mask

    192.168.1.0/24    /24    24-bits for network id and 8-bits for host id
    255.255.255.0

    11000000.10011110.00000001.00000000 Ip address in binary
    11111111.11111111.11111111.00000000 Subnet mask in binary

    192.168.1.0-Network Address
    192.168.1.255-Broadcast Address
    Valid host id in this network is 256-2=254

    Read more

    How to configure an ip address in Qemu Microcore GNS 3

    Here we are going to see how to configure ip address ,default gateway ,,hostname, checking routing table ,and checking ip address on ethernet qemu microcore linux image





    Steps:

    Step 1: Create topology like this

    Step 2: Configure ip address to router interfaces by entering the command

    In R1 Router


    R1(config)#interface fastEthernet 1/0
    R1(config-if)#ip address 10.0.0.1 255.0.0.0
    R1(config-if)#no shutdown
    R1(config-if)#exit


    R1(config)#interface fastEthernet 1/1
    R1(config-if)#ip address 20.0.0.1 255.0.0.0
    R1(config-if)#no shutdown
    R1(config-if)#exit

    Step 3:Now go to one of the qemu host and configure ip address,default gateway using this command

    In Qemu 1,to add ip address and default gateway give this command

    tc@box:~$
    tc@box:~$ sudo su
    root@box:~#ifconfig eth0 10.0.0.10 netmask 255.0.0.0 up
    root@box:~#route add ip default gw 10.0.0.1
    root@box:~#route add default gw 10.0.0.1

    To check ip address in an ethernet,give this command

    root@box:~#ifconfig eth0

    To check routing table of Qemu enter this command

    root@box:~#route

    Configuring Hostname

    root@box:~#hostname PC1
    root@PC1:~#
    root@PC1:~#

    Do this also in Qemu 2


    Step 4:Now check the connectivity between your host and router by pinging default gateway that is your router interface ip address

    root@PC1:~#ping 10.0.0.1

    Then ping host in other network

    root@PC1:~#ping 20.0.0.10

    Stop  by pressing Ctrl+C


    Read more

    How to Configure Qemu Host with linux Microcore Image to Work with Gns 3 Topology

    Here we see how to configure qemu host with linux microcore image to work with a gns 3 topologies.First download linux microcore image

    Download GNS3-0.8.3.1-all-in-one.exe (48.9 MB)

    Link 1: Click to Download

    Link 2: Click to Download

    Download Linux Microcore 3.8.2 Qemu image(New)

    Link 1: Click to Download

    Available features:
    8021q vlan tagging
    console to serial port (Microcore image only)
    ipv6
    ssh server
    Hi guys,

    List of main extensions:
    openssh.tcz - 5.8p1
    openssl.tcz - 0.9.8r
    iproute2.tcz - 2.6.29-1
    iptables.tcz - 1.4.10
    tcpdump.tcz - 3.9.8
    iperf.tcz - 2.0.3
    d-itg.tcz - 2.0.7-Beta2
    slocate.tcz - 3.1
    ipv6-2.6.33.3-tinycore.tcz
    mtr.tcz - 0.80

    Superuser "root" passoword is: root
    Password for user "tc" is not set.

    Step1:Open GNS 3 go to -->Edit-->Preferences and Select Qemu.In General settings you have to choose a pat to qemuwrapper.exe,click on browse go to gns 3 installated folder,then qemuwrapper folder and choose qemuwrapper.exe

     

     

     

     

    Step 2:Next Click Browse to select qemu.exe go to gns3 installed folder and select qemu.exe

    Step 3:Click Browse to select qemu-img.exe on gns 3 installed folder

    In My case

    C:\Program Files\GNS3 VirtualBox Edition\qemuwrapper\qemuwrapper.exe
    C:\Program Files\GNS3 VirtualBox Edition\qemu.exe
    C:\Program Files\GNS3 VirtualBox Edition\qemu-img.exe

    Step 4:Now click on test button you will get like this

    Step 4:Now click on Qemu Guest next to General settings.Give something in Identifier Name,Click browse button to choose image file i.e. linux microcore image.Go to the folder where you have microcore image and select image file

    Step 5:Now click on Save ->Apply->ok.

    Thats it

    See How to configue ip address default gateway in Qemu linux microcore image

    Read more

Social Media Auto Publish Powered By : XYZScripts.com