From: Jim Newton (jnewton@xxxxxxxxxxxxxxx)
Date: Thu Mar 07 2002 - 17:42:47 GMT-3
I've done the OSPF portion. The only thing I did differently was that when I
put in the distance 255 statement, it wouldn't work, but I took it out and
it did.
router ospf 1
log-adjacency-changes
network 135.25.3.1 0.0.0.0 area 0
network 135.25.9.0 0.0.0.3 area 0
network 135.25.9.4 0.0.0.3 area 0
network 135.25.11.0 0.0.0.3 area 0
network 135.25.11.4 0.0.0.3 area 0
network 135.25.12.0 0.0.0.255 area 0
distance 115 135.25.1.1 0.0.0.0
distance 135 135.25.4.1 0.0.0.0
distance 110 0.0.0.0 255.255.255.25
!
r3#sir
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, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
135.25.0.0/16 is variably subnetted, 12 subnets, 4 masks
C 135.25.11.4/30 is directly connected, Serial0/2
C 135.25.12.0/24 is directly connected, Ethernet1/0
C 135.25.9.4/30 is directly connected, Serial0/1
C 135.25.11.0/30 is directly connected, Serial1/0
C 135.25.9.0/30 is directly connected, Serial0/0
O 135.25.5.1/32 [110/49] via 135.25.11.6, 00:02:04, Serial0/2
O 135.25.4.1/32 [135/66] via 135.25.11.2, 00:02:04, Serial1/0
C 135.25.3.1/32 is directly connected, Loopback0
O 135.25.11.8/30 [135/75] via 135.25.11.2, 00:02:06, Serial1/0
O 135.25.2.1/32 [110/59] via 135.25.9.5, 00:02:06, Serial0/1
[110/59] via 135.25.9.1, 00:02:06, Serial0/0
O 135.25.1.1/32 [115/49] via 135.25.9.5, 00:02:06, Serial0/1
[115/49] via 135.25.9.1, 00:02:06, Serial0/0
O 135.25.11.32/27 [110/58] via 135.25.9.5, 00:02:09, Serial0/1
[110/58] via 135.25.9.1, 00:02:09, Serial0/0
-----Original Message-----
From: Lab Candidate [mailto:labccie@yahoo.com]
Sent: Thursday, March 07, 2002 2:35 PM
To: Jim Newton; Manny Gonzalez; Ccielab
Subject: RE: All about "distance" command - compact summary.
Jim, have you tried and tested it?
--- Jim Newton <jnewton@InternetNOC.com> wrote:
> You can change the distance on routes from a certain router with this
> command
>
> From CD:
>
http://127.0.0.1:8080/cc/td/doc/product/software/ios121/121cgcr/ip_c/ipcprt2
> /1cdindep.htm#xtocid1497127
>
>
> In the following example, the router igrp global configuration command
sets
> up IGRP routing in autonomous system 109. The network router configuration
> commands specify IGRP routing on networks 192.31.7.0 and 128.88.0.0. The
> first distance router configuration command sets the default
administrative
> distance
> to 255, which instructs the router to ignore all routing updates from
> routers for which an explicit distance has not been set. The second
distance
> command sets the
> administrative distance to 90 for all routers on the Class C network
> 192.31.7.0. The third distance command sets the administrative distance to
> 120 for the router
> with the address 128.88.1.3.
>
> router igrp 109
> network 192.31.7.0
> network 128.88.0.0
> distance 255
> distance 90 192.31.7.0 0.0.0.255
> distance 120 128.88.1.3 0.0.0.0
>
>
> You can do this with OSPF too, but instead of using the interface IP you
> need to use the router ID. Doyle Vol 1 page 790-793.
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Manny
> Gonzalez
> Sent: Wednesday, March 06, 2002 3:49 PM
> To: Lab Candidate
> Cc: Jaeheon Yoo; ccielab
> Subject: Re: All about "distance" command - compact summary.
>
> I can think of one quick and dirty way to do this.
>
> Run a SEPARATE OSPF process on both these routers and place the
> interfaces between them into this new process. Do whatever you want with
> the distance there. Then, redistribute process x (with the modified
> distance) into process y and condition the distance there during the
> redistribution to keep it the same as what you are injecting from.
>
> I may be off a bit on this and see no reason for adjusting the distance
> PER NEIGHBOR but this may work. There are a lot of other options in the
> OSPF process as well as in the ROUTEMAPS you may want to fiddle with.
> Get creative :-))
>
>
>
> Lab Candidate wrote:
> >
> > Jaeheon,
> > This is nice, but the problem is by doing this you have to change AD on
> all the routes coming from
> > a single router, how can you change AD on individual routes coming from
a
> certain router. I
> > personally don't think it's doable, but would like to know any
> suggestions.
> >
> > ---
> >
> > Hi, all.
> > I've summarized all about "distance" command that I can find out through
> my own lab.
> > I think this summary may be helpful to some of you.
> > Any comments will be welcomed, And please correct me if I'm wrong.
> >
> > Jaeheon,
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:56 GMT-3