cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2094
Views
10
Helpful
17
Replies

Enabling routing - OSPF

HamDawg
Level 1
Level 1

Hi all, i am hoping to get your assistance ...

we have a flat network where EVERYTHING runs on VLAN1, even to CE interface - oh boy!

please forgive me in advance as i am not very familiar with routing...

 

presently, i have a c9200 switch, our CE connects to port 37.OSPF, Routing Protocols

vlan 1

ip address 192.160.84.1  -->> CE device IP ...84.6




all switchport interfaces are defaulted to vlan 1

sh ip cef shows my next hop to 84.6 on g1/0/37




introducing OSPF

ip routing

router ospf 1
router-id 1.1.1.15
network 192.160.84.0 0.0.0.255 area 0 - more networks to follow, but i wanted to get things working with the current network.




removed IP from VLAN 1




Added 

interface GigabitEthernet1/0/48
no switchport
ip address 192.160.84.1 255.255.255.0
no ip route-cache




ip route 0.0.0.0 0.0.0.0.0 192.160.84.6


i can see my adjacencies come up and are able to ping across the WAN from the switch, but i am not able to get an IP or can do anything from within the LAN.

 

hoping to can see something i am missing...


Many thanks in advance!

Hamid

 

 

 

 

 

 

17 Replies 17

thank you for this.  i see it now.  back to the drawing board as i need to inventory our current statis addresses and build new SVIs accordingly for static and dynamic networks.

 

appreciate this!

 

Note you can't use same subnet for interface connect sw to router and for svi of vlan1.

 

Now same config above you share "but after change ip of svi to be for example .2 "

*1*

You config static route toward router 

Then you need also

 

Static route in router toward sw interface for each svi subnet "except vlan1"

*2*

Config ospf

in both sw and router 

 

please see my above comment