04-20-2018 11:14 AM - edited 03-08-2019 02:44 PM
Hi Everyone,
Here is setup
R1---internal router----Ospf------Cisco3750--------vlan 148-------Cisco ASA-----Internet
R2---internal router ---Ospf------Cisco 3750-------vlan 148--------Cisco ASA-----Internet
Cisco 3750 has OSPF nei ship with R1 and R2 Routers.
IP info
Cisco 3750 interface IP connected to the ASA 192.x.x.185
ASA interface IP connected to the Cisco 3750 192.x.x.186
Routing config on Cisco 3750
ip default-gateway 192.x.x.186
ip classless
ip route 0.0.0.0 0.0.0.0 192.x.x186
OSPF
router ospf 2
router-id 10.0.24.10
log-adjacency-changes
redistribute connected metric 10 metric-type 1
redistribute static subnets
network 10.0.12.62 0.0.0.0 area 0------------------R1
network 10.0.12.66 0.0.0.0 area 0------------------R2
default-information originate metric 10 metric-type 1
I need to redistribute the subnet(192.x.x.185/27 or some specfic IPs )between Cisco Switch and ASA without causing any network issues?
As this switch is also redistributing the cisco ASA default route to the ospf domain
interface Vlan148
ip address 192.x.x.185 255.255.224
Regards
Mahesh
Solved! Go to Solution.
05-10-2018 08:57 PM
Hi Rick,
What I mean is to advertise that subnet in OSPF domain so the rest of network knows about it.
Purpose of this is that in future if default route moves to new network topology then users can reach that
subnet using the current topology.
Regards
Mahesh
05-11-2018 08:59 AM
Mahesh
Thank you for the clarification. If your objective is to advertise that subnet then the easy and direct way to do that is to configure a network statement in OSPF that matches the subnet of the interface. That way OSPF will know the subnet and advertise it. It is possible to use redistribution (either redistribute connected or redistribute static) to have OSPF advertise the subnet but this is more complex than the simple network statement.
HTH
Rick
05-11-2018 03:20 PM
Many Thanks Rick will use the network command.
Best regards
Mahesh
04-25-2018 02:27 PM
yes you are correct we are not running ospf between 3750 and ASA.
04-26-2018 07:53 AM - edited 04-26-2018 07:56 AM
Hi Mahesh,
Currently, you are generating and advertising a default route using the 3750. If possible and not too much of disruption, you may want to run OSPF between the 3750 and the firewall and have the firewall generate and advertise the default route towards the internal network. This way you can use private IP between the firewall and the 3750 and save your public IP for something else you may need in the future.
R1---internal router----Ospf------Cisco3750--------vlan 148 (OSPF)-------Cisco ASA-----Internet
R2---internal router ---Ospf------Cisco 3750-------vlan 148 (OSPF)--------Cisco ASA-----Internet
HTH
04-26-2018 07:56 AM
R1---internal router----Ospf------Cisco3750--------vlan 148 OSPF-------Cisco ASA-----Internet
R2---internal router ---Ospf------Cisco 3750-------vlan 148 OSPF--------Cisco ASA-----Internet
05-11-2018 03:20 PM
Many Thanks Reza will use the network command.
Best regards
Mahesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide