From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Sun Apr 02 2006 - 02:59:54 GMT-3
Basically yes. OSPF will generate a default if it has a default route
in its routing table unless the "always" keyword is used. If the
"always" keyword is used along with the "default-information originate"
command, OSPF will generate a default irrespective if a default route is
in its routing table or not. For RIP the "always" keyword isn't
available as it will always generate a default route when the
"default-information originate" command is used.
As a side note you may read in some documentation that RIP will
automatically advertise a default (via RIP) if it has a default route in
its routing table. This was true for the older versions of IOS but not
for the newer IOS versions (i.e. 12.2, 12.3, etc).
HTH,
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: magmax [mailto:magmax@bigpond.net.au]
Sent: Saturday, April 01, 2006 9:27 PM
To: Brian Dennis; ccielab@groupstudy.com
Subject: RE: EIGRP Command
Brain,
Correct me if I am wrong here. RIP and OSPF commands
(default-information
originate) generate a default route
Ubaid
-----Original Message-----
From: Brian Dennis [mailto:bdennis@internetworkexpert.com]
Sent: Sunday, 2 April 2006 3:21 PM
To: magmax; ccielab@groupstudy.com
Subject: RE: EIGRP Command
It allows for the sending or receiving of a default route. It does not
actually generate a default route but only permits it to be sent or
received.
In the examples below R1 is receiving a default route via EIGRP from R2.
R2 is redistributing the default route into EIGRP via static.
The first example shows R1 denying the default learned via EIGRP from R2
by using the "no default-information in" command.
Rack1R1(config-router)#do show ip route eigrp
172.16.0.0/24 is subnetted, 1 subnets
D EX 172.16.1.0 [170/258816] via 146.1.12.2, 00:00:01,
FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
D 150.1.2.0 [90/156160] via 146.1.12.2, 00:00:01, FastEthernet0/0
D*EX 0.0.0.0/0 [170/258816] via 146.1.12.2, 00:00:01, FastEthernet0/0
Rack1R1(config-router)#no default-information in
Rack1R1(config-router)#do clear ip route *
Rack1R1(config-router)#do show ip route eigrp
172.16.0.0/24 is subnetted, 1 subnets
D EX 172.16.1.0 [170/258816] via 146.1.12.2, 00:00:05,
FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
D 150.1.2.0 [90/156160] via 146.1.12.2, 00:00:05, FastEthernet0/0
Rack1R1(config-router)#
The second example shows R2 not allowing a default to be sent to R1 by
using the "no default-information out" command.
Rack1R1#show ip route eigrp
172.16.0.0/24 is subnetted, 1 subnets
D EX 172.16.1.0 [170/258816] via 146.1.12.2, 00:00:03,
FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
D 150.1.2.0 [90/156160] via 146.1.12.2, 00:00:03, FastEthernet0/0
D*EX 0.0.0.0/0 [170/258816] via 146.1.12.2, 00:00:03, FastEthernet0/0
Rack1R1#
Rack9AS>2
[Resuming connection 2 to r2 ... ]
Rack1R2(config-router)#no default-information out
Rack1R2(config-router)#
Rack9AS>1
[Resuming connection 1 to r1 ... ]
Rack1R1#clear ip route *
Rack1R1# show ip route eigrp
172.16.0.0/24 is subnetted, 1 subnets
D EX 172.16.1.0 [170/258816] via 146.1.12.2, 00:00:00,
FastEthernet0/0
150.1.0.0/24 is subnetted, 1 subnets
D 150.1.2.0 [90/156160] via 146.1.12.2, 00:00:00, FastEthernet0/0
Rack1R1#
HTH,
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
magmax
Sent: Saturday, April 01, 2006 8:03 PM
To: ccielab@groupstudy.com
Subject: EIGRP Command
Guys,
Can anyone help me understand the proper use of following eigrp command
(example may be).
Default-information
Regards,
Ubaid
This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:55 GMT-3