Showing posts with label Lab's. Show all posts
Showing posts with label Lab's. Show all posts

Thursday, 11 August 2011

Sh run of- "Cisco Dhcp Router Configuration"

Sh run-Cisco Dhcp Router Configuration
    

  Cisco_Router (config)# configure terminal                                           // Go to Router's Enable mode

  Cisco_Router (config)# ip dhcp pool  Ajay                                          // Assigning pool Name

  Cisco_Router (dhcp-config)# network 10.10.10.0 255.255.255.0      // Assigning Dhcp Nw Range

  Cisco_Router (dhcp-config)# default-router 10.10.10.1                     // Assigning Default Router Gateway

 Cisco_Router (dhcp-config)# domain-name Ajay                              //Assigning a Domain

  Cisco_Router (config)# ip dhcp excluded-address 10.10.10.1 10.10.10.3  //Excluding IP


Basic DHCP Configuration Step For Router

  In Dhcp Router Configuration ,here we take one Cisco Router& we assume that router is initially configured,
 for Dhcp Config first go to router's Enable mode .Then after for Dhcp Service enable in Cisco Router by comman "ip dhcp pool".After Enabled Dhcp Service Assign Dhcp Pool to Router . After that give Network Range what you want to give here we  have given "10.10.10.0 255.255.255.0"After Given a Dhcp network range give a default gate way of router.Then after give 'ip dhcp excluded-address ' for ip manually assign



 

   Cisco_Router (config)# configure terminal                                           // Go to Router's Enable mode
  Cisco_Router (config)# ip dhcp pool  Ajay                                          // Assigning pool Name
  Cisco_Router (dhcp-config)# network 10.10.10.0 255.255.255.0      // Assigning Dhcp Nw Range
  Cisco_Router (dhcp-config)# default-router 10.10.10.1                     // Assigning Default Router Gateway
  Cisco_Router (dhcp-config)# domain-name Ajay                              //Assigning a Domain
  Cisco_Router (config)# ip dhcp excluded-address 10.10.10.1 10.10.10.3  //Excluding IP
 

Monday, 8 August 2011

EIGRP-Routing











For EIGRP Configuration We take two router Serise Cisco 2800.

and We Assume that the both router are initially configured.

now login in Router with Hyperterminal from PC.

now Create Consol Terminal with command

  Router_1(Conf-t)#Line consol 0

  Router_1(Conf-t)#Password Cisco

  Router_1(Conf-t)#Login

Now Create  Telnet for Virtual Enter in Router Or remoter logging.woth command

   Router_1(Conf-t)# Line vty 0 4

   Router_1(Conf-t)#Password Cisco

   Router_1(Conf-t)#Login



Now Go to the Ethernet port with command

    Router_1(Conf-t)#int Fa0/0

Give ip address with command

    Router_1(Conf-t)#ip Address "10.10.11.1 255.255.255.0 "

For Interface Up give command


  Router_1(Conf-t)#no shut

Now Go to the SErial port with command

    Router_1(Conf-t)#Serial 0/0

Give ip address with command

    Router_1(Conf-t)#ip Address "10.10.12.1 255.255.255.0 "

For Interface Up give command


  Router_1(Conf-t)#no shut

  Router_1(Conf-t)#Exit // Exit from interface

Ok,Now it's time to Enable  Protocol.

    Router_1(Conf-t)#Router eigrp 10

    Router_1(Conf-t)#network 10.10.11.1

    Router_1(Conf-t)#network 10.10.12.1

  Then save Configuration with command 'wr' Or Copy Runing_config to star_config


Do same Configuration in Router_2,But Give ip to these Seriese

  Router_2 Fast ethernet Ip:10.10.13.1/24

  Router_2 Fast Serial Ip:10.10.12.2/24


 Ok,Now it's time to Enable RIP Protocol.

   Router_1(Conf-t)#Router eigrp 10

   Router_1(Conf-t)#network 10.10.13.1

   Router_1(Conf-t)#network 10.10.12.1

RIP Routing


Router Information Protocol









When We Want to Connect more than one lan or create Wan Network.so we want a router which can route our traffic(Packets) in whole network.routing is that how traffice will route across the Network
For Rip Configuration We take two router Serise Cisco 2800.
and We Assume that the both router are initially configured.
now login in Router with Hyperterminal from PC.
now Create Consol Terminal with command
  Router_1(Conf-t)#Line consol 0
  Router_1(Conf-t)#Password Cisco
  Router_1(Conf-t)#Login
Now Create  Telnet for Virtual Enter in Router Or remoter logging.woth command
   Router_1(Conf-t)# Line vty 0 4
   Router_1(Conf-t)#Password Cisco
   Router_1(Conf-t)#Login

Now Go to the Ethernet port with command
    Router_1(Conf-t)#int Fa0/0
Give ip address with command
    Router_1(Conf-t)#ip Address "10.10.11.1 255.255.255.0 "
For Interface Up give command

  Router_1(Conf-t)#no shut
Now Go to the SErial port with command
    Router_1(Conf-t)#Serial 0/0
Give ip address with command
    Router_1(Conf-t)#ip Address "10.10.12.1 255.255.255.0 "
For Interface Up give command

  Router_1(Conf-t)#no shut
  Router_1(Conf-t)#Exit // Exit from interface
Ok,Now it's time to Enable RIP Protocol.
    Router_1(Conf-t)#Router rip
    Router_1(Conf-t)#network 10.10.11.1
    Router_1(Conf-t)#network 10.10.12.1

  Then save Configuration with command 'wr' Or Copy Runing_config to star_config

Do same Configuration in Router_2,But Give ip to these Seriese
  Router_2 Fast ethernet Ip:10.10.13.1/24
  Router_2 Fast Serial Ip:10.10.12.2/24

 Ok,Now it's time to Enable RIP Protocol.
   Router_1(Conf-t)#Router rip
   Router_1(Conf-t)#network 10.10.13.1
   Router_1(Conf-t)#network 10.10.12.1

Saturday, 6 August 2011

RIP Routing

RIP Routings
In Rip routing we take one router as hostname mehsana and router 2 as hostname Gandhinagar.
 Host Mehsana  is set  IP address of 10.11.12.1 /24 and a default gateway of 10.11.12.1. and Host Gandhinagar is set with an IP address of  10.11.12.2 /24 and a default gateway of 10.11.12.2. The Ethernet interface of  Router Mehsana should use an IP address of 10.11.13.1 /24 and the Serial interface of Router Mehsana should use an IP address of 10.11.12.1 /24. The Ethernet interface of Ghandhinagar should use an IP address of 192.168.100.1 /24 and the Serial interface of Router2 should use an IP address of 10.11.12.14 /24. Your  DCE cable connected to Router Mehsana. The serial link should have speed of 64K. Configure the routers with RIP V1

 hostname router1
!
interface Ethernet0/0
 ip address 10.11.13.1 255.255.255.0
 no shut
!
interface Serial0/0
 ip address 10.11.12.1  255.255.255.0
clock rate 64000
 no shut
!
router rip
network 192.168.1.0
network 192.168.101.0
R2:
hostname router2
!
interface Ethernet0/0
 ip address 192.168.100.1 255.255.255.0
 no shut
!
interface Serial0/0
 ip address 192.168.1.2 255.255.255.0
 no shut
!
router rip
network 192.168.1.0
network 192.168.100.0
Host A:
Ipconfig /IP 192.168.101.2 255.255.255.0
Ipconfig /DG 192.168.101.1
Host B:
Ipconfig /IP 192.168.100.2 255.255.255.0
Ipconfig /DG 192.168.100.1

Friday, 5 August 2011

Router Serial Interface


To setup a serial Port connection. For Serial Port connections are configured It Require  more Information than simple ethernet ,Giga ethernet  connections . For Setting up Serial it require clock rate command. The clock rate command Create a common rate at which the sending and receiving routers will send data to  Gandhinagar Serial 0. To verify your connection is established or not use the command show cdp neighbors or sh interface brief. 

Mehsana: hostname router1
! interface Serial0/0
clock rate 64000
 no shut
Gandhinagar: hostname router2
 ! interface Serial0
 no shut

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants for single moms