How to put 3550's loopback into other router's routing table?

From: Fan Shan (shanf@public.jn.sd.cn)
Date: Wed Apr 16 2003 - 16:38:57 GMT-3


for example, r2 (10.0.23.2/24) connect to fa0/2, r3 ( 10.0.23.3/24) connect to fa 0/3, r6 ( 10.0.60.6) connect to fa 0/6,
and I have loopback 0 (10.0.35.1/24). All runing OSPF. I imagine the config is like this:

int range fa0/2 -3
switchport access vlan 2

int fa0/6
switchport access vlan 6

int vlan 2
ip add 10.0.23.1 255.255.255.0

int vlan 6
ip add 10.0.60.1 255.255.255.0

int loop 0
ip add 10.0.35.1 255.255.255.0

router ospf 100
net 10.0.23.1 0.0.0.0 area 2
net 10.0.60.1 0.0.0.0 area 6
redistribute connected route-map loopback_0

route-map loopback_0 permit 10
match interface loop0

Is that right?



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:54 GMT-3