Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1760 ospf routing help needed.

Status
Not open for further replies.

pirateclem

Technical User
Joined
Feb 4, 2005
Messages
68
Location
US
I am just starting with routing and am trying to learn. I have a 1760 router that I am trying to enable ospf routing but it does not seem to be working. lets say for example:

fastethernet 0/0 150.1.1.1/25
vlan 1 150.1.1.128/25
fastethernet 0/1 no ip.

faeth 0/0 goes out to the world, vlan 1 is the vlan that the 4 port wic card exists within on the inside of the router, faeth 0/1 is port 1 on the wic card that the rest of my network exists off of.

I have tried this:

enable
conf t
router ospf 1
network 10.1.1.0 0.0.0.255 area 0

//have tried several other variations of the above with different network portions and different masks for care about bits.

Problem is router is still not routing. when I type:

sh ip route

only the two interfaces faeth 0/0 and vlan 1 are listed, both with a C for connected.

when I type:

sh ip route ospf

There is nothing listed. Obviously I am in error with the syntax of my routing enabling command or something else is set in the router not allowing this. I have tried:

ip routing

to enable ip routing and the router just locks up needing to be rebooted.

help please!
 
Ok, I have tried everything I can think of. I have even done away with trying to conserve IP addresses and set my faeth0/0 to x.x.35.y/24 and VLAN1 inside router1 to x.x.36.y/24. This is the same subnet mask that the network outside of the router is using. I can now ping faeth0/0 but still cannot ping the VLAN from outside the router, nothing routes through. OSPF is set to advertise:

x.x.35.y 0.0.0.0 area 0
x.x.36.y 0.0.0.0 area 0

Is there anything else I can double check, the WIC seems to be brainless as it is a 4 port switch which can support up to X VLAN's, all ports are in VLAN1 inside the router and only faeth0/1 is up/up. Why will this thing not route? I am confounded.
 
Make sure the connection between the switch and the router is a trunk link. Also, check to make sure spanning-tree isn't blocking the link. You're attempting to extend the backplane of the switch through an access link. When you force the access link, you are telling the switch it is an end node and should not receive BPDUs. If BPDUs show up on the access port, the port should block or errdisable.

Once you get the trunk link up (dot1q should be your tagging protocol), clear the arp cache on all devices. Also, clear the mac-address-table. If all is working, you should be able to ping from the router to the switch and from the switch to the router but not across the router. Once basic connectivity exists, enable OSPF.

On the 2950:

Switch#conf t
Switch(config)#int fa0/1
Switch(config-if)#shut
Switch(config-if)#switchport mode trunk
Switch(config-if)#no shut
Switch(config-if)#end
Switch#clear mac-address-table

On the 1760:

Router#conf t
Router(config)#no router ospf 1
Router(config)#int fa0/1
Router(config-if)#shut
Router(config-if)#switchport mode trunk
Router(config-if)#no shut
Router(config-if)#end
Router#clear ip route *
Router#clear arp

Now start pinging from router to the directly connected networks, including the VLAN1 address on your router and the 2950. If this succeeds, add OSPF

Router(config)#router ospf 1
Router(config-router)#network x.x.35.y 0.0.0.0 area 0
Router(config-router)#network x.x.36.y 0.0.0.0 area 0
Router(config-router)#end
Router#wr

Your addressing should be okay from your first post.
 
Thanks, I will give this a try. Just as a heads up though. As it stands now, the two servers at x.x.36.y can ping VLAN1 on the router and can ping fa0/0 x.x.35.y on the router as well. When logged into the router at fa0/0 x.x.35.y I can ping everything in the x.x.36.y network, servers, VLAN1 etc.. Just when the servers try to access anything outside of fa0/0 or if something outside of fa0/0 tries to access anything in the x.x.36.y network that nothing routes. Will get right on what you suggested this evening as soon as time permits.

 
Cluebird, I did exactly as listed, however it has not helped. I can still ping from the router fa0/0 (x.x.35.y) to anything inside the router (x.x.36.y) and vice-versa, but devices outside the router cannot ping inside to the .36.y network and devices inside cannot ping out. Next?
 
What is the addressing and the default gateway of the servers?

Have you tried extended pings sourcing from the x.x.35.y to the x.x.36.y?
 
have not tried an extended ping, the gateway for the servers is the VLAN1 IP inside the router.

What is the difference between ping and extended ping?

servers are x.x.36.226 & x.x.36.227

VLAN1 on the router is x.x.36.225

fa0/0 on router is x.x.35.11

all addresses are /24

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top