From: Denise Donohue (fradendon@xxxxxxxx)
Date: Thu Aug 23 2001 - 19:06:10 GMT-3
No problem. I had to try it to believe it myself.
Here's the set up: I want r1 to send a default route to the eigrp network
(which includes a total of 1 router!) r1 is connected to r2 and r3. r1 --
r2 runs OSPF. r1 -- r3 runs EIGRP. r1 distributes between them, with some
some filtering. r1 -- r2 is subnet 172.21.21.0/28. r1 -- r3 is
172.21.5.8/30 (I wanted to make sure it would work with different subnet
masks.) there is no connection between r2 and r3.
Here are the relevant configs and shows. I made a loopback on r2 with a
66.1.1.1 ip address. r2 didn't tell r1 about the loopback. i pinged r2's
loopback from r3 and it worked. Notice that r3 doesn't show the default
route as an external one.
On R3, which is all eigrp:
P1R3#ping 66.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 66.1.1.1, timeout is 2 seconds:
!!!!!
Gateway of last resort is 172.21.5.9 to network 0.0.0.0
172.21.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.21.7.48/28 is directly connected, Loopback2
C 172.21.7.32/28 is directly connected, Loopback1
D 172.21.21.0/28 [90/21024000] via 172.21.5.9, 00:10:57, Serial0
C 172.21.7.16/28 is directly connected, Loopback0
C 172.21.5.8/30 is directly connected, Serial0
192.168.101.0/32 is subnetted, 1 subnets
D EX 192.168.101.1 [170/40537600] via 172.21.5.9, 00:09:38, Serial0
D* 0.0.0.0/0 [90/21024000] via 172.21.5.9, 00:10:56, Serial0
On R1 which redistributes ospf and eigrp:
interface Serial2
bandwidth 128
ip address 172.21.21.7 255.255.255.240
no ip directed-broadcast
no ip mroute-cache
clockrate 115200
!
interface Serial3
ip address 172.21.5.9 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
router eigrp 200
redistribute ospf 200 metric 64 100 1 255 1500
passive-interface Serial2
network 172.21.0.0
network 0.0.0.0
no auto-summary
ip route 0.0.0.0 0.0.0.0 Serial2
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
172.21.0.0/16 is variably subnetted, 5 subnets, 2 masks
D 172.21.7.48/28 [90/22900736] via 172.21.5.10, 1d05h, Serial3
D 172.21.7.32/28 [90/22900736] via 172.21.5.10, 1d05h, Serial3
C 172.21.21.0/28 is directly connected, Serial2
D 172.21.7.16/28 [90/22900736] via 172.21.5.10, 1d05h, Serial3
C 172.21.5.8/30 is directly connected, Serial3
C 192.168.87.0/24 is directly connected, Loopback12
192.168.101.0/32 is subnetted, 1 subnets
O 192.168.101.1 [110/782] via 172.21.21.6, 00:15:18, Serial2
S* 0.0.0.0/0 is directly connected, Serial2
On R2 which is all ospf:
interface Loopback66
ip address 66.1.1.1 255.255.255.0
no ip directed-broadcast
interface Serial1/2
bandwidth 128
ip address 172.21.21.6 255.255.255.240
no ip directed-broadcast
router ospf 200
network 172.21.5.6 0.0.0.0 area 0
network 172.21.5.13 0.0.0.0 area 0
network 172.21.21.6 0.0.0.0 area 0
network 192.168.101.1 0.0.0.0 area 0
-----Original Message-----
From: Mike Schlenger [mailto:mschlenger@n2nsolutions.com]
Sent: Thursday, August 23, 2001 5:40 PM
To: 'Denise Donohue'; 'Conte, Charles'; ccielab@groupstudy.com
Subject: RE: default orignate
Wow...this is very interesting. Obviously there is more then one way to skin
a cat. I am a bit skeptical of this answer though...can you post your
routing table? I'm curious as to how your EIGRP neighbors view this. It
looks weird to me. I'm certainly not flaming you on this...it just perked my
interest. I'm going to set this up at home later...
Mike
Mike Schlenger
CCIE #7079
-----Original Message-----
From: Denise Donohue [mailto:fradendon@home.com]
Sent: Thursday, August 23, 2001 4:18 PM
To: 'Conte, Charles'; ccielab@groupstudy.com
Subject: RE: default orignate
On the router that you want to sending out the default route, set up a
static route of 0.0.0.0 0.0.0.0 <interface>. Send it out the interface, do
not put the next hop ip. Then under EIGRP, add the network 0.0.0.0.
I was trying to figure that out myself yesterday and got help from a friend.
So if it's a stupid question, then we both are stupid questioners!
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Conte, Charles
Sent: Thursday, August 23, 2001 10:37 AM
To: 'ccielab@groupstudy.com'
Subject: default orignate
I have a stupid question. How do you inject a defaut route with eigrp?
With OSPF you can use the default originate command but how is this done
with EIGRP. Is it by redistributing a static route into EIGRP or is there a
simple command like default originate. Thanks
Charles
**Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:31:57 GMT-3