02-11-2007 08:11 PM - edited 03-05-2019 02:17 PM
can someone pls help me to configure switches and router seen on the attached figure?
all computers in the figure must ping each other.
L3 switch is OSPF capable but no specific routing protocol is requested.
tx in advance for helping.
02-11-2007 08:39 PM
Hi,
U need to configure SVI's on ur multilayer switch.i.e
interface vlan 1
ip address
no shut
interface vlan 2
ip address of u r /27 range
no shut
the pc will have the gateway ip address which is configured on u r SVI's
Thanks
Mahmood
02-11-2007 08:47 PM
Hello,
There are two ways to achieve this:
1. Using static routes: This is not a big topology and you can achieve the routing using static routes here. First configure the intervlan routing for the subnets connected to L3 switch. Do the following:
Conf t
int vlan 1
ip address 20.20.20.x /27
no sh
int vlan 2
ip address 20.20.20.x /26
no sh
ip route 20.20.20.128 /26
On router set the static route for all the subnets with the proper next hop ip.
http://www.cisco.com/warp/public/105/ip_static_routes.html
2. Using a routing protocol: You can acieve routing by using a dynamic routing protocol.If all the devices are Cisco devices you can use EIGRP/IGRP for the same other wise use RIP/OSPF. Do the same config on L3 and router and use the dynamic routing protocl to advertise the routes.
If your topology is small, you can use static routes otherwise its always advisable to use a routing protocol.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/np1_c/1cprt1/1ceigrp.htm
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfospf.htm
HTH,
-amit singh
02-12-2007 07:11 AM
tx guys, I have configured VLANs
how about link between switch and router?
I should configure it as Layer 2 trunk port?
or layer 3 trunk port?
and I should create sub interface on router, each sub interface should be in the related vlan?
(all computers should ping each other)
02-12-2007 03:06 PM
.
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