cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5221
Views
0
Helpful
2
Replies

Default route using the exit interface

Joseph Cameron
Level 1
Level 1

I'm working on packet tracer and I'm trying to make a default route to the internet with a DNS of 8.8.8.8 and a default gateway on a router with 10.20.30.161.

 

how do I make a default route to the internet using the exit interface?

2 Replies 2

mkazam001
Level 3
Level 3

i don't fully comprehend your objectives, but see below for syntax

asa

route outside 0.0.0.0 0.0.0.0 NXT-HOP-IP                                     def route

route outside 8.8.8.8 255.255.255.255 NXT-HOP-IP                     host route

where outside is the name of your wan interface

router

ip route 0.0.0.0 0.0.0.0 NXT-HOP-IP                        

ip route 8.8.8.8 255.255.255.255 NXT-HOP-IP

you can use the exit interface on the device instead of the next hop ip

 

regards, mk

please rate if helpful or solved :)

Hello

When you specify an next hop interface rather than an ip address your are telling the router that any route destination via this interface is directly connected. The router will in turn produce unwarranted arp requests for every L2 address for every route off this interface which can in some cases not only fail but will also incur a lot or router process

 

This is where proxy arp can assist so that the next-hop router will reply to any arp request with it’s own interface address however you are then relying on another router having this feature enabled 

 

This situation is only applicable on multipoint interfaces such as Ethernet - P2P interfaces it would not mater if the next-hop interface is specified as it is indeed directly connected thus the router will use the L2 address if it’s directly connected neighbor.

 

So it is suggested that always try to use an next hop ip address rather than an next hop interface for static routing 

 

Lastly specifying a static route for dns will not assist in dns resolution for your clients unless the router is enabled to be a dns forwarder.
The way you should accomplish this would be to specify the dns servers in the scopes of your dhcp servers.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul