IP Route

Answered Question
Apr 8th, 2008

My fa0/0 is getting a public ip address from my isp via dhcp set on the interface 63.17.X.X


and


my fa0/1 is 192.168.0.1 /24


Since both are connected interfaces do I have to do a ip route command to get out on the internet? If so, I do not know the next hop of the ISP. For example:


ip route 63.17.0.0 - subnet mask - next hop???


Am I going about this wrong?

Correct Answer by mikegrous about 8 years 10 months ago

you will also have to setup PAT or NAT if you want to get internet.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
Edison Ortiz Tue, 04/08/2008 - 07:05

Your default route should be


ip route 0.0.0.0 0.0.0.0 dhcp

or

ip route 0.0.0.0 0.0.0.0 fastethernet0/0


HTH,


__


Edison.

Correct Answer
mikegrous Tue, 04/08/2008 - 07:18

you will also have to setup PAT or NAT if you want to get internet.

Actions

This Discussion