2013年12月4日星期三

OSPF Between 2 Cisco 3560 Switches

I would like to connect two switches to one another, with each switch connected to one host. I would like to use a dynamic routing protocol such as OSPF between the two switches, and make sure that Switch1 can ping Host2 and Switch2 can ping Host1 and vice versa.

How can this be done using 2 Cisco WS-C3560X-48PF-S Switches that have Layer 3 capability?

Host1 --------- Switch1 ---------------- Switch2 -------- Host2

Host1: 172.16.10.2 255.255.0.0
            Interface fe1/1 - connected to Switch1 - switchport access vlan 2

Switch1: VLAN 2 - 172.16.10.1 255.255.255.0
              interface g1/1 - 10.1.1.1 255.255.255.0 (connected to Switch2)

Switch2: VLAN 3 - 172.17.10.1 255.255.255.0
              interface g1/1 - 10.1.1.2 255.255.255.0 (connected to Switch1)

Host2: 172.17.10.2 255.255.0.0
            Interface fe1/1 - connected to Switch 2 - switchport access vlan 3


You will also need to add the command

network 10.1.1.0 0.0.0.255 area 0

under router ospf 10 to both switches.

Also, I assume this is just a typo, but host 1 and switch 1 have inconsistent subnet masks.

OSPF normally only comes with IPservices image and not IP Base image. The 3560-C series data sheet says that it only suport IP Base image, yet it mentions that support for OSPF in included. Are there any restictions in the OSPF support?.


Configuring OSPF on a catalyst WS-C3560X-48PF-L  Switch to connect to our building next door by way of fiber.  The other two switches in the other building are running OSPF, I am trying to connect to the other building and access a server which is on a switch running OSPF.  I am trying to configure the switch here to run OSPF and be able to see the neighbor, but currently can't although I've identified the networks.  Maybe I'm missing something, I've followed the instructions but  something is not right.

没有评论:

发表评论