Exercise RIP

From NesevoWiki
Jump to navigationJump to search

Exercise RIP und basic of routerconfiguration:

Rip.jpg


Exercise:

  • Connect with the routers to configure this
  • Configure router 1 as follows:
    • Interface:
    • Fastethernet: 192.168.0.254/24
    • Serial 1/0: 192.168.1.1/24
    • Routing Protocol:
    • RIP: Add the networks 192.168.0.0 and 192.168.1.0 to the routing table.
  • Configure router 2 as follows:
    • Interface:
      • Fastethernet: 192.168.2.254/24
      • Serial 1/0: 192.168.1.2/24
    • Routing Protocol:
      • RIP: Add the networks 192.168.1.0 and 192.168.2.0 to the routing table.






Solution:

Connect with the routers to configure this:

  1. Use a Rollovercable (RS 232) to connect with the Router
  2. Make sure that the router is turn off.
  3. Start the HyperTerminal (path: Start => All Programs => Accessories => Communications => HyperTerminal)
    1. Take a icon and type your name in
    2. Select the desired connection and press „OK".
    3. Make the connection as follows:
      1. 9600 Bit pro Sekunde
      2. 8 Databits
      3. No Parity
      4. 1 Stopbit.
      5. No flow control
  4. Press OK to start the telnet session
  5. Turn the Router on.

Configuration Router1:

  1. Type enable in to get into the privileged mode.
  2. Configure the router by using the "conf t (configure terminal)" command. Now you are in the global configuration mode.
    1. Configure the Fast Ethernet Interface.
    2. Type the „int fa0/0 (interface fastethernet 0/0)" command in. The 0 / 0 refers to the respective interface. You are now on the interface and can edit it.
    3. Teilen sie nun dem Interface eine IP Adresse sowie eine Subnetmaske zu. Dies machen sie folgendermaßen: „ip adress 192.168.0.254 255.255.255.0"
    4. Activate the Interface with „no shut"
    5. To leave the interface hit „Strg + Z" or type „exit" in
  3. Type int s0/0 into the comandoline to configure the serial interface
    1. Configure the serial interface.
    2. Type „ip adress 192.168.1.1 255.255.255.0" in, now the interface has a ip adress an subnetmask.
    3. Now, add a clockrate to the Interface. Make this with the clock rate 56000 command. 56000 means the speed of the Cable and it's default 56000 hertz.
    4. To activate the interface write no shut into the CLI (Commandlineinterface).
    5. Turn back to the global configurationmode with hitting Strg+ Z or exit
  4. Damit Ihre zwei Router mit einander kommunizieren können werden so genante Routingprotokolle benötigt. Eines dieser Protokolle ist das „RIP (Routing Information Protocol)" Protokoll. Dieses wird folgendermaßen ein gerichtet:
    1. Type the „router rip" command in.
    2. Add the neighboring networks. This makes follow:

"network 192.168.1.0" confirm this with hitting Return and typing now „network 192.168.0.0" in. Now both neighbouring networks are known and you can test it with the ping command

    1. Exit the configurationsmodus now

coniguration Router2:

  1. conect with Router2
  2. Type enable in to get into the privileged mode.
  3. Configure the router by using the "conf t (configure terminal)" command. Now you are in the global configuration mode.
    1. Configure the Fast Ethernet Interface.
    2. Type the „int fa0/0 (interface fastethernet 0/0)" command in. The 0 / 0 refers to the respective interface. You are now on the interface and can edit it.
    3. Type „ip adress 192.168.2.254 255.255.255.0" in, now the interface has a ip adress an subnetmask
    4. To activate the interface type no shut in.
    5. To leave the interface hit Ctrl+ Z or type the command exit in.
  4. To configure the serial interface 1/0 type int s1/0 in
    1. Configure the Interface
    2. Type „ip adress 192.168.1.2 255.255.255.0" in, now the interface has a ip adress an subnetmask
    3. To activate the interface type no shut in.
    4. To leave the interface hit Ctrl+ Z or type the command exit in.
  5. Damit Ihre zwei Router mit einander kommunizieren können werden so genante Routingprotokolle benötigt. Eines dieser Protokolle ist das „RIP (Routing Information Protocol)" Protokoll. Dieses wird folgendermaßen ein gerichtet:
    1. Type router rip in.
    2. Add the neighboring networks. This makes follow:
network 192.168.1.0 confirm this with hitting Return and typing now „network 192.168.0.0" in. Now both neighbouring networks
are known and you can test it with the ping command
  1. Exit the configurationsmodus now