Book now with code EOY2025
meadIT wrote: » Hosts connected to Router B wouldn't send their data directly to Router A to get to the internet. They would give them to Router B and then Router B would forward them to Router A. So Router B would need to have Router A as its default gateway.
jscimeca715 wrote: » Is there a way to set up a default gateway on a Cisco router? Is that the same as setting up a default route?
meadIT wrote: » Yep, same thing, different terms. Also called gateway of last resort. Although there are different commands to use depending on the situation: You use ip default-gateway when ip routing is disabled.ip default-network or ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx is used when routing is enabled. You can learn more here: Configuring a Gateway of Last Resort Using IP Commands - Cisco Systems
daJway wrote: » dealing with NAT. If you have two routers connected together Router A and Router B. You have a lan comming off Router A and the internet gateway is through Router B. Only Router B (The gateway) needs to have NAT running. Remember IP addresses do not change from hop to hop, so if you have a host off router A trying to connect to the internet with the IP of 192.168.1.2 when it reaches router B the source IP will still be 192.168.1.2 and the internet gateway (aka router will have to use NAT to turn translate it into a public address. As for default routes. the host will use router A as its default gateway because that's what it is connected to. Router A if it does not have a protocol running such as RIP (which you will need to know how to set up in a simulation on the ccent) you will need to set up a default static route on router A (ip route 0.0.0.0 0.0.0.0 next hop address/or exit interface). Router B will need a static route to the LAN. hope that helps. need any help you can message me if you need a more clear explanation. daJway@hotmail.com
Use code EOY2025 to receive $250 off your 2025 certification boot camp!