I have a testing setup, descriptions are followings:-
1)Two cisco 3845 routers with 5 remote locations with leased line links, connected with serial ports of router each.
2)Both routers are connected with gigabiethernet ports.
3) OSPF routing protocol is used for routing with serial links and gigethernet ports except gigabitethernet ports which is connected back-to-back.
4)Independetly each routers are communication with remote locations and its LAN network.
IN back-to-back connected gigabitethernet ports, I am using default routes, but i'm unable to commuicate both routers.
Router1(config-if)#ip add 170.128.0.y 255.255.255.0
Router1(config)#ip route 0.0.0.0 0.0.0.0 170.128.0.x
Router2(config-if)#ip add 170.128.0.x 255.255.255.0
Router2(config)#ip route 0.0.0.0 0.0.0.0 170.128.0.y
I have tested for back-to-back gigabitethernet ports with ospf routing but not successful.
Router1(config)#router ospf 100
Router1(config-router)#network 184.108.40.206 0.0.0.255 area 0
Router2(config)#router ospf 100
Router2(config-router)#network 220.127.116.11 0.0.0.255 area 0
Kindly suggest me what need to do on both routers for back-to-back connectivity with gigabitethernet ports, so that my setup will be ready.Your suggestions will be appreciable.