problen with RIP

lmxlmx Member Posts: 64 ■■□□□□□□□□
Hi i have three routers: A, B, C

Router A: S0 :192.168.10.x

Router B: S1 : 192.168.10.x
Router B: S0: 192.168.20.x

Router C: S1: 192.168.20.x
Router C: S0: 192.168.30.x

i can ping RA to RB
i can ping RB to RC
i CAN't Ping RC to RA
i CAN't ping RA t RC

I config RIP in all Rouater A,B,C
Config T
router rip
Net 192.168.0.0
Ver 1

Etc... Note All is Clasfull

Comments

  • kalebkspkalebksp Member Posts: 1,033 ■■■■■□□□□□
    lmx wrote: »
    I config RIP in all Rouater A,B,C
    Config T
    router rip
    Net 192.168.0.0
    Ver 1

    "net 192.168.0.0" is telling RIP to run on the network 192.168.0.0/24. To make it work you need to enter "net 192.168.10.0", "net 192.168.20.0", and "net 192.168.30.0" on the appropriate routers. If you want to check which networks RIP is currently running on use "show ip protocols".
  • tndfrtndfr Member Posts: 110
    lmx wrote: »

    I config RIP in all Rouater A,B,C
    Config T
    router rip
    Net 192.168.0.0
    Ver 1

    Etc... Note All is Clasfull

    Classfull address network.network.network.host

    class C
    Working on CCNP 642-813 and finishing off MCSA.
  • rwwest7rwwest7 Member Posts: 300
    I thought unless you did a "network 192.168.30.x" command, then the router wouldn't advertise out of that interface. It would only listen on the interface. Can you summarize and with one command make the router advertise out all interfaces?
  • NeekoNeeko Member Posts: 170
    rwwest7 wrote: »
    I thought unless you did a "network 192.168.30.x" command, then the router wouldn't advertise out of that interface. It would only listen on the interface. Can you summarize and with one command make the router advertise out all interfaces?

    The network command determines which interfaces are enabled for the RIP process. If you have multiple interfaces on 192.168.30.0, they will all be enabled for RIP.
  • lmxlmx Member Posts: 64 ■■□□□□□□□□
    Thanks Everybody the best answer is form 100% kalebksp.
  • bighornsheepbighornsheep Member Posts: 1,506
    rwwest7 wrote: »
    I thought unless you did a "network 192.168.30.x" command, then the router wouldn't advertise out of that interface. It would only listen on the interface. Can you summarize and with one command make the router advertise out all interfaces?

    That's a passive-interface:
    router rip
    passive-interface <interface name>
    
    Jack of all trades, master of none
  • NeekoNeeko Member Posts: 170
    That's a passive-interface:
    router rip
    passive-interface <interface name>
    

    That stops a particular interface sending updates, doesn't it?
  • bighornsheepbighornsheep Member Posts: 1,506
    Neeko wrote: »
    That stops a particular interface sending updates, doesn't it?

    I'm commenting on
    rwwest7 wrote: »
    ...then the router wouldn't advertise out of that interface. It would only listen on the interface.
    Jack of all trades, master of none
  • NeekoNeeko Member Posts: 170
    I'm commenting on

    I thought he was trying to clarify that without entering the network <network ID> command, a particular interface wouldn't send updates. That is right, but to work it the other way around the command you mentioned is needed.

    I'm not even sure what is being asked to be honest lol
  • rwwest7rwwest7 Member Posts: 300
    Neeko wrote: »
    I thought he was trying to clarify that without entering the network <network ID> command, a particular interface wouldn't send updates. That is right, but to work it the other way around the command you mentioned is needed.

    I'm not even sure what is being asked to be honest lol
    I know by default a port will receive updates but not send until the "network x.x.x.x" command is issued. Has nothing to do with passive-interfaces. It's just the default behavior. I was asking this:

    You have-
    Router B: S1 : 192.168.10.x
    Router B: S0: 192.168.20.x

    You configure as follows:
    router rip
    version 2
    network 192.168.0.0

    Would the router advertise out a both S1 and S2 with only the single network command?
  • kalebkspkalebksp Member Posts: 1,033 ■■■■■□□□□□
    rwwest7 wrote: »
    I know by default a port will receive updates but not send until the "network x.x.x.x" command is issued. Has nothing to do with passive-interfaces. It's just the default behavior.

    The network command does three main things:

    *Causes RIP to send advertisements out interfaces in that network.
    *Causes RIP to listen for advertisements coming in interfaces on that network.
    *Includes that network in it's advertisements.

    RIP will not listen to advertisements on an interface which there is no network command. If the desired effect is to listen for advertisements but not send advertisements, then the passive-interface command is used.
    rwwest7 wrote: »
    You have-
    Router B: S1 : 192.168.10.x
    Router B: S0: 192.168.20.x

    You configure as follows:
    router rip
    version 2
    network 192.168.0.0

    Would the router advertise out a both S1 and S2 with only the single network command?

    The network command in RIP only looks at the classful (regardless of version 1 or 2) network. So if you entered "network 192.168.0.0", a class C address, it would only run on interfaces within the network 192.168.0.0/24. With RIP you have to specify a network command for each classful network you want it to run on.
  • NeekoNeeko Member Posts: 170
    rwwest7 wrote: »
    I know by default a port will receive updates but not send until the "network x.x.x.x" command is issued. Has nothing to do with passive-interfaces. It's just the default behavior. I was asking this:

    You have-
    Router B: S1 : 192.168.10.x
    Router B: S0: 192.168.20.x

    You configure as follows:
    router rip
    version 2
    network 192.168.0.0

    Would the router advertise out a both S1 and S2 with only the single network command?

    No because the network command is classful. What you've entered there will be treated as 192.168.0.0 /24. If you have multiple subnets in a 192.168.10.0 range such as 192.168.10.32 /27 and 192.168.10.64 /27, then entering network 192.168.10.0 will add both of these networks to the RIP process. This doesn't work across network boundaries though.
Sign In or Register to comment.