Options

gateway configuration in this scenario.

johnifanx98johnifanx98 Member Posts: 329
router 0 and router 1 are connected in an Ethernet via a switch. And another two hosts are in the same subnet in between. My question is which router should be used as the gateway of the router?

Or, no hosts should be added in the in-between ethernet at all?

Comments

  • Options
    netsysllcnetsysllc Member Posts: 479 ■■■■□□□□□□
    From the limited detail I would say either could be the gateway. Whatever router has the same subnet should work as long as it has routes to the other networks
  • Options
    johnifanx98johnifanx98 Member Posts: 329
    netsysllc wrote: »
    From the limited detail I would say either could be the gateway. Whatever router has the same subnet should work as long as it has routes to the other networks

    Each router has an interface in the same subnet. So, I doubt "either" is the answer...
  • Options
    TurK-FXTurK-FX Member Posts: 174
    Each router has an interface in the same subnet. So, I doubt "either" is the answer...

    I also posted on your other thread. You can use either of the router as default gateway, but when the switch trying to communicate outside, it will only communicate to default gateway router`s side. So there wont be any communication going to other router from either host.

    Why do you need to go that kind of network? you can also connect 2 router via crossover cable, and move the switch to one of those router, or removed those hosts, add another switch to one of those routers and move the hosts there.
    WGU classes: Transferred -> AGC1, CLC1, TBP1, CJC1, BVC1, C278, CRV1, IWC1, IWT1, C246, C247, C132, C164, INC1, C277. Appealed -> WFV1 and C393.
    What is Left to take - > EUP1, EUC1, C220, C221, BNC1, GC1, C299, CTV1, DJV1, DHV1, CUV1, CJV1, TPV1, C394
    Currently Studying -> CCNA security (Designing Customized Security & Security)
  • Options
    NetworkVeteranNetworkVeteran Member Posts: 2,338 ■■■■■■■■□□
    I also posted on your other thread. You can use either of the router as default gateway, but when the switch trying to communicate outside, it will only communicate to default gateway router`s side. So there wont be any communication going to other router from either host.

    Good guess, but this setup will (marginally) work! Suppose Switch is configured with Router0 as its default gateway. When Switch sends a packet towards Router0 intended for PC3, Router0 responds with an ICMP Redirect and tells Switch to use Router1 as the gateway for that destination. Subsequent packets from Switch to PC3 will be sent towards Router1.
  • Options
    TurK-FXTurK-FX Member Posts: 174
    Interesting. I am about to finish my ICND1 study, so i am not expert.
    But do you need to configure the router to perform that task? or it is enabled on default?
    WGU classes: Transferred -> AGC1, CLC1, TBP1, CJC1, BVC1, C278, CRV1, IWC1, IWT1, C246, C247, C132, C164, INC1, C277. Appealed -> WFV1 and C393.
    What is Left to take - > EUP1, EUC1, C220, C221, BNC1, GC1, C299, CTV1, DJV1, DHV1, CUV1, CJV1, TPV1, C394
    Currently Studying -> CCNA security (Designing Customized Security & Security)
  • Options
    NetworkVeteranNetworkVeteran Member Posts: 2,338 ■■■■■■■■□□
    TurK-FX wrote: »
    Interesting. I am about to finish my ICND1 study, so i am not expert.
    But do you need to configure the router to perform that task? or it is enabled on default?

    ICMP redirects are enabled by default. You may disable them with interface configuration command, "no ip redirects". In the OP's topology, if Switch used R1 as its default gateway, redirects would only be necessary when sending packets to one specific host, PC0.

    This would be an acceptable kludge in most cases. :)

    When Are ICMP Redirects Sent? - Cisco Systems
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    So if pc4 wanted to send a message to pc test1, will another redirect have to be sent out??

    Does this mean that with this design you may need a redirect every time you change direction??
  • Options
    MrBrianMrBrian Member Posts: 520
    Wow, was not familiar with icmp redirects. Thanks NetworkVeteran, good info
    Currently reading: Internet Routing Architectures by Halabi
Sign In or Register to comment.