Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out

modul-ii-jarkom-ok

VIEWS: 24 PAGES: 5

  • pg 1
									                                LABORATORIUM
                      JARINGAN KOMPUTER FAKULTAS TEKNIK
                      UNIVERSITAS TRUNOJOYO 2009 – 2010
                              MODUL II
                 CONNECTING TWO LANS USING ROUTER(S)


I.    DESCRIPTION (MATERI)
      1. Objectives
             Connect two LAN’s using a router.
             Setup LAN connections
             Configure Minicom (underLinux) or Hyperterminal (under Windows)
             Assign IP addresses to the router interfaces for network configuration.


      2. Background Reading
        Go to the Cisco website, or use the Cisco Sybex publication, and read about user mode, user
        exec mode, configure terminal, and configure interface. Also, look at how to reset a password.

                What register is used for the default configuration of the router?

                What register is used to bypass this default register?



 II. BEGINNING ASSIGMENT (TUGAS PENDAHULUAN )
            1.    Describe the function of Route Add and give example ?
            2. What is the function of no shutdown in router configuration ?
            3.    Describe the function of ip route and give the example?


     III. PRACTICUM ( PRAKTIKUM )
        A. Required Equipment (Alat dan Bahan)
             1. Two established LANs
             2. One Router, or four Routers
             3. Cables
             But all in simulation version, in your Boson Software.


        B. Procedure Like in Lab 1 (Langkah-langkah)
        1. Setup LAN connections
            a) Set up the physical (number 1) connections for the LAN’s.
                        LABORATORIUM
              JARINGAN KOMPUTER FAKULTAS TEKNIK
              UNIVERSITAS TRUNOJOYO 2009 – 2010
     b) Connect the two LANs to the router using the appropriate cable (see Lab 1 for
        LAN setup).
     c) Using the above diagram configure the routing tables of each host.
         For hosts on network 192.168.1.0
         #route add –net 192.168.2.0 netmask 255.255.255.0 \
         gw 192.168.1.254 dev eth0
         For hosts on network 192.168.2.0
         #route add –net 192.168.1.0 netmask 255.255.255.0 \
         gw 192.168.2.254 dev eth0
     d) On network 192.168.1.0 ping broadcast address 192.168.1.255 to make sure the
        HUB/Switch is working. Repeat the procedure for network 192.168.2.0
         # ping –c 2 –b 192.168.1.255




                                    Sample Lab B
 ………………………………………......................………………………………………
………
  2. Configure Minicom in Linux, try to use Hyperterminal with your self.
             Minicom is used to interface with the router.
     a) Verify that minicom has the correct parameters
         # minicom –s
     b) Set the default parameters to:
            9600 baud rate
            no parity
            8 data bits
            one stop bit
            no flow control
     c) Type minicom to establish a connection to the router.
         # minicom
                      LABORATORIUM
            JARINGAN KOMPUTER FAKULTAS TEKNIK
            UNIVERSITAS TRUNOJOYO 2009 – 2010
   Note that you have make rollover cable to connect serial port of PC to Console port of
   Cisco router.


3. Configure your Cisco router using Simulator. Cisco Router References give you best
   way to connect to the Console, Login and configure your router. If you don’t have a
   book, please read your Bosen Network Simulator Help, noooow!.
4. Physical setup #2, use your Network Designer first before Network Simulator. And set
   up the physical connections as in the following diagram
5. Configure interfaces on routers.
   a) Read about router serial connections to understand the additional configuration
      parameters.
   b) Identify the interfaces as FastEthernet or Serial. If a serial interface, identify the
      DCE end. The show serial Controller command should be helpful. Look this
      command up.
          What does DCE and DTE stand for?               (Data Communication/Terminal
           Equipment)
          What end provides the clocking mechanism for the cable? (DCE)
   c) To configure the router for the network, you need to add an IP address to each
      interface of the router.
       Router>en
       Router#config t
       Router(config)# interface fa0/0
       Router(config)# ip address xxx.xxx.xxx.xxx               subnet mask here
       Router(config)#no shut
                       LABORATORIUM
             JARINGAN KOMPUTER FAKULTAS TEKNIK
             UNIVERSITAS TRUNOJOYO 2009 – 2010




                                  Sample Lab C
………………………………………………………………………………………
   d) What does the no shut command do? (keeps the line logically up even when
      physically down)
       config t
       Enter configuration commands, one per line. End with CNTL/Z.
       router1(config)#int fa0/0
       router1(config-if)#ip address 192.168.3.254 255.255.255.0
       router1(config-if)#no shut
       router1(config-if)#int fa0/1
       router1(config-if)#ip address 192.168.5.254 255.255.255.0
       router1(config-if)#no shut
       router1(config-if)#int s0/0
       router1(config-if)#ip adddress 192.168.6.253 255.255.255.0
       router1(config-if)#no shut
       router1(config-if)#keepalive 0
   e) eat this procedure for every interface on every router. Set the interfaces according
      to the diagram above.
…………………………………………………………………………………………
6. Setup static routes
   a) Try to ping network B from network A
                   LABORATORIUM
         JARINGAN KOMPUTER FAKULTAS TEKNIK
         UNIVERSITAS TRUNOJOYO 2009 – 2010
b) Why can’t the network be reached?(no route through the network)
c) Setup a route through the network following the bi-directional path R4 R5 R9.
   Note: router 5 needs paths to both networks.
   Router4#sh ip route
   ...
   Gateway of last resort is not set

   C      192.168.4.0/24 is directly connected, Serial0/0
   C      198.162.6.0/24 is directly connected, Serial0/1
   C      192.168.1.0/24 is directly connected, FastEthernet0/0

   Router4#config t
   Router4(config)#ip route 192.168.2.0 255.255.255.0 192.168.4.253
   Router4(config)#^Z

   router2#config t
   router2(config)#ip route 192.168.1.0 255.255.255.0 192.168.9.253
   router2(config)#^Z
   router2#sh ip route
   router2#exit
d) Use traceroute (in Windows is known as tracert) to verify the path taken. Redirect
   the output to a file to turn in.
   tracert 192.168.2.1

e) Setup a more interesting path through the network and use traceroute to turn in a
   copy of your path.


C. QUESTION (PERTANYAAN)
   1. Back to FT Unijoyo Network Design, please configure all routers and PCs,
        include IP address, static routing, telnet server and some passwords are needed
        by those routers. Make sure that all routers are online, one connect to each
        other. Use ping and tracert to ensure your configuration.
   2.   Instructor will give some additional assignments and homework

								
To top