learning destination MAC if default route uses interface and not next-hop IP

learning destination MAC if default route uses interface and not next-hop IP

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
learning destination MAC if default route uses interface and not next-hop IP Brad 09-20-2005
Posted by Brad on September 20, 2005, 8:19 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I have a router with the following configuration:

service password-encryption
!
hostname suse_class
!
ip subnet-zero
!
no ip domain-lookup
!
interface FastEthernet0/0
ip address 192.168.100.254 255.255.255.0
no shutdown
no ip proxy-arp
ip nat inside
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 10.0.0.1 255.255.255.128
ip access-group inboundfilters in
ip access-group outboundfilters out
no ip proxy-arp
ip nat outside
no shutdown
duplex auto
speed auto
!
!
ip nat pool suseclass 10.0.0.1 10.0.0.1prefix-length 29
ip nat inside source list 1 pool suseclass overload
no ip classless
no ip forward-protocol udp tftp
no ip forward-protocol udp domain
no ip forward-protocol udp time
no ip forward-protocol udp tacacs
ip route 0.0.0.0 0.0.0.0 FastEthernet1/0
no ip http server
!
!
ip access-list extended inboundfilters
evaluate traffic
ip access-list extended outboundfilters
permit tcp any any reflect traffic
permit udp any any reflect traffic
permit icmp any any reflect traffic
access-list 1 permit 192.168.100.0 0.0.0.255
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login

The question I have is since I used the interface (fa1/0) in my default
route statement instead of the next-hop IP address how does this router
find out the MAC address for the router on the 10.0.0.0/25 network that
my router is forwarding traffic to out of fa1/0?



NMFall 20%
Posted by Merv on September 20, 2005, 8:28 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> how does this router find out the MAC address for the router on the
10.0.0.0/25 > network that > my router is forwarding traffic to out of fa1/0?

It doesn't. It arps for the destination IP address in the outbount
packet and the upstream router responds it it is configured for
proxy-arp.

pointing a static to an interface is a BAD idea; you will want to chane
it to the next hop IP address ( and clear the routers ARP cache (use
shut/no shut if necessary).



Posted by Brad on September 20, 2005, 8:52 am
If you were  Registered and logged in, you could reply and use other advanced thread options

Thanks for the reply. That makes sense. If the other router had proxy
arp disabled I guess my router would be unable to communicate to the
outside world?

I did notice that the arp cache was huge, but besides that why is it
such a bad idea?



Posted by Merv on September 20, 2005, 9:00 am
If you were  Registered and logged in, you could reply and use other advanced thread options
That is why it is abad idea, that ARP cache has to be scanned
continually by the router. Change to use the next IP hop and it you
control the next hop router disable proxy arp on it also.



Similar ThreadsPosted
Need to route SMTP traffic through static interface (not default route) March 27, 2007, 5:19 pm
Default route using interface not next-hop on LAN March 2, 2005, 6:39 am
Can't set default route to outside interface May 29, 2008, 10:12 pm
pix 501 6.3 default route on a stub network on the outside interface December 16, 2004, 7:43 pm
What is the default precedence: local-route, static-route, OSPF-route? August 4, 2008, 3:00 am
route based on destination port August 18, 2005, 8:17 am
RIP + Default Route October 21, 2005, 1:58 am
Default Route November 4, 2005, 7:05 pm
Default Route(s) August 14, 2006, 11:58 am
Specified a default route by ACL. October 10, 2006, 1:06 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map