07-05-2022
06:56 AM
- last edited on
07-07-2022
09:31 AM
by
Translator
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
Solved! Go to Solution.
07-05-2022 10:17 AM
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!
07-05-2022
10:32 AM
- last edited on
07-07-2022
09:45 AM
by
Translator
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
07-05-2022 09:41 AM - edited 07-05-2022 10:09 AM
please see my above comment
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