I believe the biggest reason for routing to a named interface is for ip
unnumbered, which would not have a directly connected interface on the same
subnet (thus no possibility of a route statement including an ip address
would work as it doesn't know how to get there):

Router A
int e0
 ip address 10.1.1.1 255.255.255.0
int s0
 ip unnumbered ethernet0
ip route 0.0.0.0 0.0.0.0 s0

Router B
int e0
 ip address 10.2.1.1 255.255.255.0
int s0
 ip unnumbered ethernet0
ip route 10.1.1.0 255.255.255.0 s0

Conside if instead they had the following route statements:
Router A
ip route 0.0.0.0 0.0.0.0 10.2.1.1  (what routes does the router know?  only
directly connected 10.1.1.0/24, so it has no way to know how to get to
10.2.1.0/24)

Router B
ip route 10.1.1.0 255.255.255.0 10.1.1.1  (this one is clearly nonsense)

Jason Roysdon, CCNA, MCSE, CNA, Network+, A+
List email: [EMAIL PROTECTED]
Homepage: http://jason.artoo.net/
Cisco resources: http://r2cisco.artoo.net/

""Ejay Hire"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Routes to an interface have a Admin distance of 0 (Connected)
> Routes to an ip have a Admin distance of 1 (Static)
>
> >ip route 0.0.0.0 0.0.0.0 serial0.1 1
> >ip route 0.0.0.0 0.0.0.0 10.201.0.74 1
>
> In theory, ip route 0.0.0.0 0.0.0.0 serial0.1 1, should be more efficient
> because it forwards the packet directly to the next router, whereas, ip
> route 0.0.0.0 0.0.0.0 serial0.1 1, will put an ARP request on the serial
> line.  The Packet still makes it either way, but the route to an IP is
> (minimally) faster.
>
> >ip route 10.48.2.0 255.255.255.0 ethernet0
>
> If I'm understanding correctly, The router already sees this network as
> connected.  This statement would be redundant and unneccessary. (Unless
you
> were redistributing static routes, but that's a different keg o' worms.)
>
>
> ----Original Message Follows----
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Multiple default gateways, same result?
> Date: Tue, 3 Oct 2000 15:28:46 -0500
>
> Hey all,
>
> For study purposes I have configured a 'remote' router (Cisco 2501) with
> the following:
>
> E0:  10.48.2.1 255.255.255.0
>
> S0.1: 10.201.0.73 255.255.255.252  point-to-point (FR @ 128K CIR)
>
> The 'corporate' router (Cisco 3640) is configured as follows:
>
> E0: 10.1.1.2 255.255.0.0
>
> S0/0.1:  10.201.0.74 255.255.255.252 point-to-point (FR)
>
> I would like to assign the default gateway for the remote router as
> follows:
>
> ip route 0.0.0.0 0.0.0.0 serial0.1 1
>
> I was wondering how this differs from using:
>
> ip route 0.0.0.0 0.0.0.0 10.201.0.74 1
>
> In addition, what advantage/disadvantages might I reap if I also configure
> the 'remote' with the following line:
>
> ip route 10.48.2.0 255.255.255.0 ethernet0
>
> Are there any potential problems with the above line?
>
>
> Thank you,
> Raul De La Garza III
> CCNA NNCSS MCSE CNE
> Senior Network Engineer
> EmCare Incorporated
> Work 214.712.2085
> Mobile 817.991.7889
> FAX 214.712.2444
> Pager 877.270.9755
> e-mail: [EMAIL PROTECTED]
>
>
>   Brave men are all vertebrates: they have their softness on the surface
and
> their toughness in the middle. ?G.K. Chesterton
>
> **NOTE: New CCNA/CCDA List has been formed. For more information go to
> http://www.groupstudy.com/list/Associates.html
> _________________________________
> UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> FAQ, list archives, and subscription info: http://www.groupstudy.com
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> **NOTE: New CCNA/CCDA List has been formed. For more information go to
> http://www.groupstudy.com/list/Associates.html
> _________________________________
> UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> FAQ, list archives, and subscription info: http://www.groupstudy.com
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>


_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to