redistribute eigrp into ospf

Hi,

I would like to redistribute my EIGRP routes into OSPF or RIPv2 network,  but i have classless and clasfull network in VLAN500, any idea about redistributing them ?


Cisco_3550#show run
Building configuration...

Current configuration : 3896 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname CISCO_3550
!
enable secret 5 a
!
ip subnet-zero
ip routing
!
vtp domain TEST
vtp mode transparent
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan 500
!
interface GigabitEthernet0/1
 description Connected-to-CORE-1
 no switchport
 ip address 1.1.3.2 255.255.255.0
!
interface GigabitEthernet0/2
 description Connected-to-CORE-2
 no switchport
 ip address 2.1.3.2 255.255.255.0
!
interface GigabitEthernet0/3
 description Connected-to ABC
 switchport access vlan 500
 switchport mode dynamic desirable
!
interface Vlan1
 no ip address
!
interface Vlan500
 ip address 193.XXX.XXX.254 255.255.255.0
 ip address 193.XXX.XXX.254 255.255.255.0 secondary
 ip address 193.XXX.XXX.254 255.255.255.0 secondary
 ip address 10.10.3.254 255.255.255.0 secondary
 ip accounting output-packets
!
router eigrp 1
 redistribute connected
 redistribute static
 network 1.0.0.0
 network 2.0.0.0
 no auto-summary
 no eigrp log-neighbor-changes
!
ip classless
ip http server
!
LVL 1
ata1915Asked:
Who is Participating?
 
mat1458Connect With a Mentor Commented:
No problem, both RIPv2 and OSPF are able to handle subnet masks so just go ahead and redistiribute. Don't forget the subnets keyword in the redistribute EIGRP command in OSPF.
0
 
Sandeep GuptaConnect With a Mentor ConsultantCommented:
into ospf

redistribute eigrp 1

into eigrp

redistribute ospf 1 match internal external 1 external 2

You can use routemaps to redistribute specific networks in OSPF & EIGRP
0
 
hau_itConnect With a Mentor Commented:
All of the routing protocols you mention send the mask in the updates. So they are classless and you will not have any problem.
As i see you do not advertise vlan 500 networks. Any reason for that?
0
 
airwrckConnect With a Mentor Commented:
You've been given redistribution configurations for eigrp into ospf.

For your vlan 500 networks, advertise the networks in ospf simply by

router ospf 1
 network 193.x.x.x 0.0.0.255 area 0
 network 193.x.x.x 0.0.0.255 area 0
 network 193.x.x.x 0.0.0.255 area 0
 network 10.10.3.0 0.0.0.0 area 0
 redistribute eigrp 1 subnets

Remember, that although ospf will advertise as many secondaries as you wish, it will only create neighbor relationships between primary IP addresses (not secondaries), so whatever neighbor you use has to be on that primary IP subnet.
0
 
ata1915Author Commented:
Thank you for the answer, sorry for the late response
0
All Courses

From novice to tech pro — start learning today.