Configuring a RIP Routing LAB

cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
In the labs here, the lab to configure RIP routing, when setting the static IP on the host PC's do I need to set a default Gateway and DNS servers?

And if so the Default Gateway would be the IP of the Ethernet interface on the Router?

And what about DNS?

Comments

  • gojericho0gojericho0 Member Posts: 1,059 ■■■□□□□□□□
    cmccul002 wrote:
    In the labs here, the lab to configure RIP routing, when setting the static IP on the host PC's do I need to set a default Gateway and DNS servers?

    You will need to use the address of the ethernet interface the PC is plugged into as the default gateway. DNS is not needed unless you will be doing name to ip translation
  • mysql1988mysql1988 Member Posts: 115
    the only thing which need to be set on the PC is the default gateway. DNS is useless unless you need name resolutions for internet or on the local network.
  • cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
    Ok, I followed the lab but there is a problem.

    From Host A i can ping the Ethernet port on Router A, I can ping the Serial port on A, and I can ping the Serial port on router B. i cannot ping the Ethernet port on Router B or Host B.

    And the same situation from the other side. Host B can ping all the way to the Serial on RouterA, but no further.
  • Paul BozPaul Boz Member Posts: 2,620 ■■■■■■■■□□
    cmccul002 wrote:
    In the labs here, the lab to configure RIP routing, when setting the static IP on the host PC's do I need to set a default Gateway and DNS servers?

    And if so the Default Gateway would be the IP of the Ethernet interface on the Router?

    And what about DNS?

    Correct - you set the default gateway as the IP address of the router interface which your switch (or pc) is plugged in to.

    DNS is not necessary unless you are trying to resolve addresses on the internet. You can use any public DNS addresses or that of your ISP if you're using your router for internet access.
    cmccul002 wrote:
    Ok, I followed the lab but there is a problem.

    From Host A i can ping the Ethernet port on Router A, I can ping the Serial port on A, and I can ping the Serial port on router B. i cannot ping the Ethernet port on Router B or Host B.

    And the same situation from the other side. Host B can ping all the way to the Serial on RouterA, but no further.

    Post your config and routing table.
    CCNP | CCIP | CCDP | CCNA, CCDA
    CCNA Security | GSEC |GCFW | GCIH | GCIA
    pbosworth@gmail.com
    http://twitter.com/paul_bosworth
    Blog: http://www.infosiege.net/
  • cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
    Router B



    RouterB#show run
    Building configuration...

    Current configuration : 908 bytes
    !
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname RouterB
    !
    boot-start-marker
    boot-end-marker
    !
    enable password 7 04510A1C15384D400D1B0419160218
    !
    no network-clock-participate slot 1
    no network-clock-participate wic 0
    no aaa new-model
    ip subnet-zero
    ip cef
    !
    !
    no ip domain lookup
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    interface FastEthernet0/0
    description connected to LAN
    ip address 192.168.33.1 255.255.255.0
    speed auto
    full-duplex
    !
    interface Serial0/0
    description connected to RouterA
    ip address 192.168.22.6 255.255.255.0
    encapsulation ppp
    clock rate 64000
    no fair-queue
    !
    router rip
    version 2
    network 192.166.22.0
    network 192.168.33.0
    !
    ip http server
    no ip http secure-server
    ip classless
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    line con 0
    line aux 0
    line vty 0 4
    password 7 15180A161E332A2A2C31342C170E02
    login
    !
    !
    end

    Router B:

    RouterB#show ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2
    i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
    ia - IS-IS inter area, * - candidate default, U - per-user static route
    o - ODR, P - periodic downloaded static route

    Gateway of last resort is not set

    192.168.22.0/24 is variably subnetted, 2 subnets, 2 masks
    C 192.168.22.5/32 is directly connected, Serial0/0
    C 192.168.22.0/24 is directly connected, Serial0/0

    ^^^^ I just noticed it doesn't show 192.168.33.0 as directly connected. I did this:


    outerB(config)#router rip
    RouterB(config-router)#network 192.168.33.0
    RouterB(config-router)#outerB(config)#router rip

    but nothing changed.

    ROUTERA:

    RouterA#show run
    Building configuration...

    Current configuration : 1061 bytes
    !
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname RouterA
    !
    boot-start-marker
    boot-end-marker
    !
    enable password 7 1103181F0D0B0A0200282A2A2C3A21
    !
    no aaa new-model
    !
    !
    ip cef
    no ip domain lookup
    !
    !
    !
    !
    !
    !
    !
    interface FastEthernet2/0
    description Connected to LAN
    ip address 192.168.11.1 255.255.255.0
    duplex auto
    speed auto
    !
    interface Serial2/0
    description wrong one
    no ip address
    encapsulation ppp
    clock rate 2000000
    no fair-queue
    !
    interface TokenRing2/0
    no ip address
    shutdown
    ring-speed 16
    !
    interface Serial2/1
    description connected to RouterB
    ip address 192.168.22.5 255.255.255.0
    encapsulation ppp
    !
    interface Ethernet3/0
    description connected to LAN
    no ip address
    shutdown
    half-duplex
    !
    interface Ethernet3/1
    no ip address
    shutdown
    half-duplex
    !
    router rip
    version 2
    network 192.168.11.0
    network 192.168.22.0
    !
    ip http server
    !
    !
    !
    !
    control-plane
    !
    !
    line con 0
    line aux 0
    line vty 0 4
    password 7 030E5A111C1620424A0B180B131B1F
    login
    !
    !
    end


    ROUTERA:

    RouterA#show ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2
    i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
    ia - IS-IS inter area, * - candidate default, U - per-user static route
    o - ODR, P - periodic downloaded static route

    Gateway of last resort is not set

    C 192.168.11.0/24 is directly connected, FastEthernet2/0
    192.168.22.0/24 is variably subnetted, 2 subnets, 2 masks
    C 192.168.22.6/32 is directly connected, Serial2/1
    C 192.168.22.0/24 is directly connected, Serial2/1
  • gojericho0gojericho0 Member Posts: 1,059 ■■■□□□□□□□
    Can display do a sh ip int brief and sh int on both routers?
  • cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
    Yea, Ill have to post that later today when I get home.

    Thanks.
  • cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
    RouterA#show ip int br
    Interface IP-Address OK? Method Status Protocol
    FastEthernet2/0 192.168.11.1 YES NVRAM up up
    Serial2/0 unassigned YES NVRAM down down
    TokenRing2/0 unassigned YES NVRAM administratively down down
    Serial2/1 192.168.22.5 YES NVRAM up up
    Ethernet3/0 unassigned YES NVRAM administratively down down
    Ethernet3/1 unassigned YES NVRAM administratively down down
    RouterA#



    RouterA#show int
    FastEthernet2/0 is up, line protocol is up
    Hardware is AmdFE, address is 00d0.58ec.ad21 (bia 00d0.58ec.ad21)
    Description: Connected to LAN
    Internet address is 192.168.11.1/24
    MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s, 100BaseTX/FX
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:42, output 00:00:00, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    102 packets input, 13699 bytes
    Received 94 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog
    0 input packets with dribble condition detected
    488 packets output, 45138 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out
    Serial2/0 is down, line protocol is down
    Hardware is DSCC4 Serial
    Description: wrong one
    MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation PPP, LCP Closed, loopback not set
    Keepalive set (10 sec)
    Last input never, output never, output hang never
    Last clearing of "show interface" counters 00:52:52
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 3 interface resets
    0 output buffer failures, 0 output buffers swapped out
    0 carrier transitions
    DCD=up DSR=up DTR=down RTS=down CTS=up

    TokenRing2/0 is administratively down, line protocol is down
    Hardware is HAWKEYE, address is 000b.1a37.b544 (bia 000b.1a37.b544)
    MTU 4464 bytes, BW 16000 Kbit, DLY 630 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation SNAP, loopback not set
    Keepalive set (10 sec)
    ARP type: SNAP, ARP Timeout 04:00:00
    Ring speed: 16 Mbps
    Duplex: half
    Mode: Classic token ring station
    Full duplex capable
    Ethernet Transit OUI: 0x000000
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 output buffer failures, 0 output buffers swapped out
    0 transitions
    Serial2/1 is up, line protocol is up
    Hardware is DSCC4 Serial
    Description: connected to RouterB
    Internet address is 192.168.22.5/24
    MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation PPP, LCP Open
    Open: IPCP, CDPCP, loopback not set
    Keepalive set (10 sec)
    Last input 00:00:00, output 00:00:00, output hang never
    Last clearing of "show interface" counters 00:52:54
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: weighted fair
    Output queue: 0/1000/64/0 (size/max total/threshold/drops)
    Conversations 0/2/256 (active/max active/max total)
    Reserved Conversations 0/0 (allocated/max allocated)
    Available Bandwidth 1158 kilobits/sec
    5 minute input rate 1000 bits/sec, 1 packets/sec
    5 minute output rate 1000 bits/sec, 1 packets/sec
    2420 packets input, 123763 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    9264 packets output, 493307 bytes, 0 underruns
    0 output errors, 0 collisions, 1 interface resets
    0 output buffer failures, 0 output buffers swapped out
    11 carrier transitions
    DCD=up DSR=up DTR=up RTS=up CTS=up

    Ethernet3/0 is administratively down, line protocol is down
    Hardware is AmdP2, address is 00d0.58ec.ad31 (bia 00d0.58ec.ad31)
    Description: connected to LAN
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 input packets with dribble condition detected
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out
    Ethernet3/1 is administratively down, line protocol is down
    Hardware is AmdP2, address is 00d0.58ec.ad32 (bia 00d0.58ec.ad32)
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input never, output never, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 input packets with dribble condition detected
    0 packets output, 0 bytes, 0 underruns
    0 output errors, 0 collisions, 0 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out
    RouterA#




    RouterB#sh ip in br
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 192.168.33.1 YES NVRAM up up
    Serial0/0 192.168.22.6 YES NVRAM up up



    Password:
    RouterB>enable
    Password:
    RouterB#sh ip in br
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 192.168.33.1 YES NVRAM up up
    Serial0/0 192.168.22.6 YES NVRAM up up
    RouterB#
    RouterB#
    RouterB#show int
    FastEthernet0/0 is up, line protocol is up
    Hardware is AmdFE, address is 000a.f459.f2a0 (bia 000a.f459.f2a0)
    Description: connected to LAN
    Internet address is 192.168.33.1/24
    MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s, 100BaseTX/FX
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:04:25, output 00:00:05, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    123 packets input, 21718 bytes
    Received 107 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog
    0 input packets with dribble condition detected
    367 packets output, 32651 bytes, 0 underruns
    0 output errors, 0 collisions, 1 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier
    0 output buffer failures, 0 output buffers swapped out
    Serial0/0 is up, line protocol is up
    Hardware is PowerQUICC Serial
    Description: connected to RouterA
    Internet address is 192.168.22.6/24
    MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation PPP, LCP Open
    Open: IPCP, CDPCP, loopback not set
    Keepalive set (10 sec)
    Last input 00:00:00, output 00:00:00, output hang never
    Last clearing of "show interface" counters 00:53:11
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 1000 bits/sec, 1 packets/sec
    5 minute output rate 1000 bits/sec, 1 packets/sec
    9477 packets input, 508187 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    2639 packets output, 135620 bytes, 0 underruns
    0 output errors, 0 collisions, 3 interface resets
    0 output buffer failures, 0 output buffers swapped out
    0 carrier transitions
    DCD=up DSR=up DTR=up RTS=up CTS=up

    RouterB#
    RouterB#
  • cmccul002cmccul002 Member Posts: 56 ■■□□□□□□□□
    Well, if anyone see's whats wrong there I'd like to know. But, I just erased both routers and started over and everything works fine.

    Must have done something wrong somewhere. icon_rolleyes.gif
  • NeonNoodleNeonNoodle Member Posts: 92 ■■□□□□□□□□
    Check your network statements.

    network 192.166.22.0 should be network 192.168.22.0 in router B, no?
    I recognize the lion by his paw.
    --Jacob Bernoulli
Sign In or Register to comment.