Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

default gateway clarification

Hi. Given a setup where routerA with ip add 10.0.1.1/24 on s0 which is connected to s1 of routerB which in turn has s0 with ip add of 10.0.2.1/24 connected to s1 of another router, routerC, with ip add of 10.0.2.2/24. Using tftpdnld, what should be the default gateway if routerC is acting as the tftp server?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: default gateway clarification

"I am inclined to think that the default gateway would be the interface of routerB facing routerA. Is this correct?"

Yes it would be.

Jon

4 REPLIES
Community Member

Re: default gateway clarification

Sorry, forgot to mention that tftpdnld would be run on routerA.

Hall of Fame Super Blue

Re: default gateway clarification

You can either

1) add specific routes to router's A & C ie.

router A

ip route 10.0.2.0 255.255.255.0 10.0.1.2

router C

ip route 10.0.1.0 255.255.255.0 10.0.2.1

or

2) instead of specific routes just add a default-route to A & C

ip route 0.0.0.0 0.0.0.0 10.0.1.2

&

ip route 0.0.0.0 0.0.0.0 10.0.2.1

Only if the routers are acting as hosts ie. not routing, would you use a default-gateway on a router.

Jon

Community Member

Re: default gateway clarification

Hi Jon. Thanks for the reply. My question is in a scenario where I am in rommon mode of routerA without a valid IOS. So i guess i would be defining the ip add of the router, subnetmask, tftp ip add, and default gateway in rommon. Afterwards i would be executing the tftpdnld command in rommon. I just need to verify what default gateway ip to enter in routerA prior running tftpdnld. RouterA is sequentially connected to routerB and routerB is sequentially connected to routerC which is the tftp server. I am inclined to think that the default gateway would be the interface of routerB facing routerA. Is this correct?

Hall of Fame Super Blue

Re: default gateway clarification

"I am inclined to think that the default gateway would be the interface of routerB facing routerA. Is this correct?"

Yes it would be.

Jon

155
Views
0
Helpful
4
Replies
CreatePlease to create content