IP classless/Default routes

2000-08-09 Thread Cohen, Michael

Actually, I believe this is incorrect.  If you enter two static default
routes with the same administrative distance (in this case 1) then
(depending on any configured maximum paths statement, I believe the default
is 4) the router will load balance using both addresses.  If the router will
load balance on per-packet or per-destination basis will depend on the
switching method used.  The reason one of your default routes dissapear when
you disconnect one of your ethernet segments is that the route to your next
hop address for that default route dissapears.  If a router does not have a
route to the next hop address then it will not install that route into the
route table even though it is statically configured.  To test this scenario
using your previous example try adding a static route to 10.1.1.0
255.255.255.0 with a next hop address of 10.1.2.3.  When both ethernet
interfaces are up you won't see that new static route for 10.1.1.3 in the
table because the administrative distance for that route is 1.  The router
as a connected route with an administrative distance of 0 out it's ethernet
interface for that network.  As soon as you remove the cable from the
ethernet interface with 10.1.1.1 connected to it (e0/0) the static route for
10.1.1.0 255.255.255.0 with next hop 10.1.2.3 will show up.  At the same
time both default statics will remain in the routing table and be used in a
load sharing state.

Michael Cohen
CCDP, CCNP
CCIE #6080

-Original Message-
From: Donald B Johnson Jr [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:02 PM
To: [EMAIL PROTECTED]; Dave Page
Subject: IP classless/Default routes


Dave
Let me clear this up a little, you can place more than one default route in
the routing table but the router will only use the first entry.
If that link goes down the next default route will be used.
Here is the config,
interface Ethernet0/0
 ip address 10.1.1.1 255.255.255.0
 no ip directed-broadcast

interface Ethernet0/1
 ip address 10.1.2.1 255.255.255.0
 no ip directed-broadcast

Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip routing
Router(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.3
Router(config)#ip route 0.0.0.0 0.0.0.0 10.1.2.3
Router(config)#^Z
Router#
00:08:49: %SYS-5-CONFIG_I: Configured from console by console

Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.1.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 2 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
C   10.1.1.0 is directly connected, Ethernet0/0
S*   0.0.0.0/0 [1/0] via 10.1.1.3
[1/0] via 10.1.2.3
Router#
Notice that the first ip route entry is the Gateway of last resort. Now
watch what happens when I disconnect the cable to E0/0

Router#
00:15:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0,
changed s
tate to down
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.2.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 1 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
S*   0.0.0.0/0 [1/0] via 10.1.2.3
Router#
Now notice that the second ip route entry is the Gateway of last resort. Now
watch what happens when I reconnect the E0/0 cable.

Router#
00:19:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0,
changed s
tate to up
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.2.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 2 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
C   10.1.1.0 is directly connected, Ethernet0/0
S*   0.0.0.0/0 [1/0] via 10.1.2.3
[1/0] via 10.1.1.3
Router#
The original default gateway is now the backup route. If you want to install
the first route as the one to use after the link

Re: IP classless/Default routes

2000-08-08 Thread Donald B Johnson Jr

I believe that is a mistake in Todd's book. You can only have one default
gateway set.
Otherwise the packet would not know where to send the packet.
Duck
- Original Message -
From: Dave Page [EMAIL PROTECTED]
To: 'Cisco List' [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:05 PM
Subject: IP classless/Default routes



 In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
route
 of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
 IP route command as such, one right after the other (??):

 ip route 0.0.0.0 0.0.0.0 162.16.40.2
 ip route 0.0.0.0 0.0.0.0 162.16.20.1

 ???


 The reason I ask is that in his book for CCNA 640-507, he states on page
 253, "Default routing is used to send packets with a remote destination
 network not in the routing table to the next hop router.  You can only use
 default routing on stub networks, which means that they have only one exit
 port out of the network."

 The two books seem to say contradictory things.  Is it because the 507
exam
 is based on a different IOS?  What gives?


 Dave Page

 ___
 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]

___
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]



RE: IP classless/Default routes

2000-08-08 Thread dacarl4

Dave, 

If you have a CCO login check this page out.  It explains the differences
between Default Gateway, Gateway of last resort, and default network.  If
you don't have a CCO login, let me know and I will paraphrase the article.  

Hope this helps.
http://www.cisco.com/warp/customer/105/default.html




 -Original Message-
From:   Dave Page [mailto:[EMAIL PROTECTED]] 
Sent:   Monday, August 07, 2000 7:05 PM
To: 'Cisco List'
Subject:IP classless/Default routes


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only use
default routing on stub networks, which means that they have only one exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507 exam
is based on a different IOS?  What gives?


Dave Page

___
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]

___
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]



Re: IP classless/Default routes

2000-08-08 Thread Adam Hickey

No, there is nothing incongruous here. You add the static route for the
default route which tells the router that "if you don't know where the
destination is, just shove it out over here". Lammle has to use the two
static route commands because router B is in the middle of two networks. So
when router B doesn't know of the destination it has to shove the packet out
two sides so that each of the other networks can take a look at it and
decide what to do with it.

It is this kind of confusion that leads to the use of synamic protocols
rather than static routes.

Adam Hickey
[EMAIL PROTECTED]

- Original Message -
From: "Dave Page" [EMAIL PROTECTED]
To: "'Cisco List'" [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:05 PM
Subject: IP classless/Default routes



 In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
route
 of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
 IP route command as such, one right after the other (??):

 ip route 0.0.0.0 0.0.0.0 162.16.40.2
 ip route 0.0.0.0 0.0.0.0 162.16.20.1

 ???


 The reason I ask is that in his book for CCNA 640-507, he states on page
 253, "Default routing is used to send packets with a remote destination
 network not in the routing table to the next hop router.  You can only use
 default routing on stub networks, which means that they have only one exit
 port out of the network."

 The two books seem to say contradictory things.  Is it because the 507
exam
 is based on a different IOS?  What gives?


 Dave Page

 ___
 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]


___
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]



RE: IP classless/Default routes

2000-08-08 Thread Chuck Larrieu

In many cases, one can substitute the word "public" for "customer" and get
the same info

http://www.cisco.com/warp/public/105/default.html


best wishes

Chuck

-Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent:   Tuesday, August 08, 2000 8:28 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:    RE: IP classless/Default routes

Dave,

If you have a CCO login check this page out.  It explains the differences
between Default Gateway, Gateway of last resort, and default network.  If
you don't have a CCO login, let me know and I will paraphrase the article.

Hope this helps.
http://www.cisco.com/warp/customer/105/default.html




 -Original Message-
From:   Dave Page [mailto:[EMAIL PROTECTED]]
Sent:   Monday, August 07, 2000 7:05 PM
To: 'Cisco List'
Subject:    IP classless/Default routes


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only use
default routing on stub networks, which means that they have only one exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507 exam
is based on a different IOS?  What gives?


Dave Page

___
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]

___
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]

___
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]



RE: IP classless/Default routes

2000-08-08 Thread Fomes Iain

could be its missing it's weight   
i.e a weighted default gateway to prevent it dropping the packet if the
interface is not up 
 ip route 0.0.0.0 0.0.0.0 162.16.40.2
 ip route 0.0.0.0 0.0.0.0 162.16.20.1 3   3 being the weight

 -Original Message-
 From: Donald B Johnson Jr [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday 08 August 2000 19:15
 To:   Dave Page; 'Cisco List'
 Subject:  Re: IP classless/Default routes
 
 I believe that is a mistake in Todd's book. You can only have one default
 gateway set.
 Otherwise the packet would not know where to send the packet.
 Duck
 - Original Message -
 From: Dave Page [EMAIL PROTECTED]
 To: 'Cisco List' [EMAIL PROTECTED]
 Sent: Monday, August 07, 2000 5:05 PM
 Subject: IP classless/Default routes
 
 
 
  In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
 route
  of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter
 the
  IP route command as such, one right after the other (??):
 
  ip route 0.0.0.0 0.0.0.0 162.16.40.2
  ip route 0.0.0.0 0.0.0.0 162.16.20.1
 
  ???
 
 
  The reason I ask is that in his book for CCNA 640-507, he states on page
  253, "Default routing is used to send packets with a remote destination
  network not in the routing table to the next hop router.  You can only
 use
  default routing on stub networks, which means that they have only one
 exit
  port out of the network."
 
  The two books seem to say contradictory things.  Is it because the 507
 exam
  is based on a different IOS?  What gives?
 
 
  Dave Page
 
  ___
  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]
 
 ___
 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]

___
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]



RE: IP classless/Default routes

2000-08-08 Thread William Swedberg

I think you mean Administrative Distance.

William Swedberg CCNP CCDP

--- Fomes Iain [EMAIL PROTECTED] wrote:
 could be its missing it's weight   
 i.e a weighted default gateway to prevent it
 dropping the packet if the
 interface is not up 
ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1 3   3 being
 the weight
 
  -Original Message-
  From:   Donald B Johnson Jr
 [SMTP:[EMAIL PROTECTED]]
  Sent:   Tuesday 08 August 2000 19:15
  To: Dave Page; 'Cisco List'
  Subject:Re: IP classless/Default routes
  
  I believe that is a mistake in Todd's book. You
 can only have one default
  gateway set.
  Otherwise the packet would not know where to send
 the packet.
  Duck
  - Original Message -
  From: Dave Page [EMAIL PROTECTED]
  To: 'Cisco List' [EMAIL PROTECTED]
  Sent: Monday, August 07, 2000 5:05 PM
  Subject: IP classless/Default routes
  
  
  
   In Todd Lammle's book for CCNA 640-407, on p.
 202 he has set a default
  route
   of BOTH 172.16.40.2 and 172.16.20.1.  How does
 one do this, just enter
  the
   IP route command as such, one right after the
 other (??):
  
   ip route 0.0.0.0 0.0.0.0 162.16.40.2
   ip route 0.0.0.0 0.0.0.0 162.16.20.1
  
   ???
  
  
   The reason I ask is that in his book for CCNA
 640-507, he states on page
   253, "Default routing is used to send packets
 with a remote destination
   network not in the routing table to the next hop
 router.  You can only
  use
   default routing on stub networks, which means
 that they have only one
  exit
   port out of the network."
  
   The two books seem to say contradictory things. 
 Is it because the 507
  exam
   is based on a different IOS?  What gives?
  
  
   Dave Page
  
   ___
   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]
  
  ___
  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]
 
 ___
 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]
 
 
 


=
William Swedberg CCNP CCDP

__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

___
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]



RE: IP classless/Default routes

2000-08-08 Thread Karen . Young


Or you could substitute "public" for "customer" in the URL and get to it
anyway.

http://www.cisco.com/warp/public/105/default.html

Karen E Young
Network Engineer
ELF Technologies, Inc
[EMAIL PROTECTED]



   
 
dacarl4@uswes  
 
t.comTo: [EMAIL PROTECTED], 
[EMAIL PROTECTED]  
Sent by: cc:   
 
nobody@groups    Subject:     RE: IP classless/Default routes  
 
tudy.com   
 
   
 
   
 
08/08/00   
 
08:28 AM   
 
Please 
 
respond to 
 
dacarl4
 
   
 
   
 



Dave,

If you have a CCO login check this page out.  It explains the differences
between Default Gateway, Gateway of last resort, and default network.  If
you don't have a CCO login, let me know and I will paraphrase the article.


Hope this helps.
http://www.cisco.com/warp/customer/105/default.html




 -Original Message-
From:   Dave Page [mailto:[EMAIL PROTECTED]]
Sent:   Monday, August 07, 2000 7:05 PM
To:'Cisco List'
Subject:    IP classless/Default routes


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only use
default routing on stub networks, which means that they have only one exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507 exam
is based on a different IOS?  What gives?


Dave Page

___
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]

___
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]




___
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]



IP classless/Default routes

2000-08-08 Thread Donald B Johnson Jr
and points.
Hope this helps clear up your question, forget what the book said this is
how a real router works.
Not that I'm knocking Todd's book, I love his work, but there is a lot to
say about trying it out.
Thanks
Duck

- Original Message -
From: Donald B Johnson Jr [EMAIL PROTECTED]
To: Dave Page [EMAIL PROTECTED]; 'Cisco List' [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 11:14 AM
Subject: Re: IP classless/Default routes


 I believe that is a mistake in Todd's book. You can only have one default
 gateway set.
 Otherwise the packet would not know where to send the packet.
 Duck
 - Original Message -
 From: Dave Page [EMAIL PROTECTED]
 To: 'Cisco List' [EMAIL PROTECTED]
 Sent: Monday, August 07, 2000 5:05 PM
 Subject: IP classless/Default routes


 
  In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
 route
  of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter
the
  IP route command as such, one right after the other (??):
 
  ip route 0.0.0.0 0.0.0.0 162.16.40.2
  ip route 0.0.0.0 0.0.0.0 162.16.20.1
 
  ???
 
 
  The reason I ask is that in his book for CCNA 640-507, he states on page
  253, "Default routing is used to send packets with a remote destination
  network not in the routing table to the next hop router.  You can only
use
  default routing on stub networks, which means that they have only one
exit
  port out of the network."
 
  The two books seem to say contradictory things.  Is it because the 507
 exam
  is based on a different IOS?  What gives?
 
 
  Dave Page
 
  ___
  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]

 ___
 UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
 FAQ, list archives, and subscription info: http://www.groupstudy.com

___
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]



RE: IP classless/Default routes

2000-08-08 Thread Cohen, Michael

Actually, I believe this is incorrect.  If you enter two static default
routes with the same administrative distance (in this case 1) then
(depending on any configured maximum paths statement, I believe the default
is 4) the router will load balance using both addresses.  If the router will
load balance on per-packet or per-destination basis will depend on the
switching method used.  The reason one of your default routes dissapear when
you disconnect one of your ethernet segments is that the route to your next
hop address for that default route dissapears.  If a router does not have a
route to the next hop address then it will not install that route into the
route table even though it is statically configured.  To test this scenario
using your previous example try adding a static route to 10.1.1.0
255.255.255.0 with a next hop address of 10.1.2.3.  When both ethernet
interfaces are up you won't see that new static route for 10.1.1.3 in the
table because the administrative distance for that route is 1.  The router
as a connected route with an administrative distance of 0 out it's ethernet
interface for that network.  As soon as you remove the cable from the
ethernet interface with 10.1.1.1 connected to it (e0/0) the static route for
10.1.1.0 255.255.255.0 with next hop 10.1.2.3 will show up.  At the same
time both default statics will remain in the routing table and be used in a
load sharing state.

Michael Cohen
CCDP, CCNP
CCIE #6080

-Original Message-
From: Donald B Johnson Jr [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:02 PM
To: [EMAIL PROTECTED]; Dave Page
Subject: IP classless/Default routes


Dave
Let me clear this up a little, you can place more than one default route in
the routing table but the router will only use the first entry.
If that link goes down the next default route will be used.
Here is the config,
interface Ethernet0/0
 ip address 10.1.1.1 255.255.255.0
 no ip directed-broadcast

interface Ethernet0/1
 ip address 10.1.2.1 255.255.255.0
 no ip directed-broadcast

Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip routing
Router(config)#ip route 0.0.0.0 0.0.0.0 10.1.1.3
Router(config)#ip route 0.0.0.0 0.0.0.0 10.1.2.3
Router(config)#^Z
Router#
00:08:49: %SYS-5-CONFIG_I: Configured from console by console

Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.1.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 2 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
C   10.1.1.0 is directly connected, Ethernet0/0
S*   0.0.0.0/0 [1/0] via 10.1.1.3
[1/0] via 10.1.2.3
Router#
Notice that the first ip route entry is the Gateway of last resort. Now
watch what happens when I disconnect the cable to E0/0

Router#
00:15:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0,
changed s
tate to down
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.2.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 1 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
S*   0.0.0.0/0 [1/0] via 10.1.2.3
Router#
Now notice that the second ip route entry is the Gateway of last resort. Now
watch what happens when I reconnect the E0/0 cable.

Router#
00:19:27: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0,
changed s
tate to up
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
   D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
   N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
   E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
   i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate
default
   U - per-user static route, o - ODR

Gateway of last resort is 10.1.2.3 to network 0.0.0.0

 10.0.0.0/24 is subnetted, 2 subnets
C   10.1.2.0 is directly connected, Ethernet0/1
C   10.1.1.0 is directly connected, Ethernet0/0
S*   0.0.0.0/0 [1/0] via 10.1.2.3
[1/0] via 10.1.1.3
Router#
The original default gateway is now the backup route. If you want to install
the first route as the one to use after the link

RE: IP classless/Default routes

2000-08-08 Thread Timmons, Robert

Usually, you can substitute 'public' for 'customer' if the document is
publicly available (which this one is)

http://www.cisco.com/warp/public/105/default.html

Bob

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2000 11:28 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: IP classless/Default routes


Dave, 

If you have a CCO login check this page out.  It explains the differences
between Default Gateway, Gateway of last resort, and default network.  If
you don't have a CCO login, let me know and I will paraphrase the article.  

Hope this helps.
http://www.cisco.com/warp/customer/105/default.html




 -Original Message-
From:   Dave Page [mailto:[EMAIL PROTECTED]] 
Sent:   Monday, August 07, 2000 7:05 PM
To: 'Cisco List'
Subject:IP classless/Default routes


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only use
default routing on stub networks, which means that they have only one exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507 exam
is based on a different IOS?  What gives?


Dave Page

___
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]

___
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]

___
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]



IP classless/Default routes

2000-08-07 Thread Dave Page


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only use
default routing on stub networks, which means that they have only one exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507 exam
is based on a different IOS?  What gives?


Dave Page

___
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]



RE: IP classless/Default routes

2000-08-07 Thread Emilia Lambros

 in my experience with having two default routes on a router, they've
load-shared across those two interfaces/links.

For example, we had a router with a fibre connection and also a wireless
connection.  The router had two default routes - one across fibre, one
across wireless.  The fibre went down and half the packets were getting
lost, which screamed "load-sharing" to me.  I removed the default route
across fibre and it worked fine. 

Cheers,

Em


-Original Message-
From: Dave Page
To: 'Cisco List'
Sent: 8/8/00 10:05 AM
Subject: IP classless/Default routes


In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
route
of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter
the
IP route command as such, one right after the other (??):

ip route 0.0.0.0 0.0.0.0 162.16.40.2
ip route 0.0.0.0 0.0.0.0 162.16.20.1

???


The reason I ask is that in his book for CCNA 640-507, he states on page
253, "Default routing is used to send packets with a remote destination
network not in the routing table to the next hop router.  You can only
use
default routing on stub networks, which means that they have only one
exit
port out of the network."

The two books seem to say contradictory things.  Is it because the 507
exam
is based on a different IOS?  What gives?


Dave Page

___
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]

___
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]



Re: IP classless/Default routes

2000-08-07 Thread Kenny Sallee

You are correct, equal cost static routes are load balanced on Cisco
routers.  That's why in a case like that you would want 1 of the statics to
have a higher admin weight assigned to it.  So the wireless could be

ip route 0.0.0.0 0.0.0.0 172.16.2.10 200

and the fiber could be

ip route 0.0.0.0 0.0.0.0 192.168.2.10

The static with the lower admin cost will be installed in the route table
until the link goes down.  Then the other will be installed.  Every routing
protocol has an admin weight assigned to it.  Static and connected routes
also have them.  Take a look in the docs and you'll find all the defaults.

Kenny

- Original Message -
From: "Emilia Lambros" [EMAIL PROTECTED]
To: "'Dave Page '" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 7:55 PM
Subject: RE: IP classless/Default routes


 in my experience with having two default routes on a router, they've
 load-shared across those two interfaces/links.

 For example, we had a router with a fibre connection and also a wireless
 connection.  The router had two default routes - one across fibre, one
 across wireless.  The fibre went down and half the packets were getting
 lost, which screamed "load-sharing" to me.  I removed the default route
 across fibre and it worked fine.

 Cheers,

 Em


 -Original Message-
 From: Dave Page
 To: 'Cisco List'
 Sent: 8/8/00 10:05 AM
 Subject: IP classless/Default routes


 In Todd Lammle's book for CCNA 640-407, on p. 202 he has set a default
 route
 of BOTH 172.16.40.2 and 172.16.20.1.  How does one do this, just enter
 the
 IP route command as such, one right after the other (??):

 ip route 0.0.0.0 0.0.0.0 162.16.40.2
 ip route 0.0.0.0 0.0.0.0 162.16.20.1

 ???


 The reason I ask is that in his book for CCNA 640-507, he states on page
 253, "Default routing is used to send packets with a remote destination
 network not in the routing table to the next hop router.  You can only
 use
 default routing on stub networks, which means that they have only one
 exit
 port out of the network."

 The two books seem to say contradictory things.  Is it because the 507
 exam
 is based on a different IOS?  What gives?


 Dave Page

 ___
 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]

 ___
 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]


___
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]