Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

3560 Layer 3 routing config help

I have a 3560 with routing enabled and am missing something in my configuration...

The attached diagram shows how I am set up now.

I enabled EIGRP on the Layer 3 switch, and added the networks x.x.30.0/26, x.x.31.32/27, and x.x.153.0/24. The default gateway on the Layer 3 is set to x.x.31.33.

I want the x.x.153.0/24 network to go out ports 1-46 on the Layer 3 switch.

The only thing I can do successfully right now is ping from the Layer 3 switch to everywhere.

The routing table only shows x.x.30.0/26 and x.x.31.32/27 as connected.

Help? Thank you.

8 REPLIES

Re: 3560 Layer 3 routing config help

Hi

Pls provide relevent config along with the show ip route information on all the switches.

Regards

JD

New Member

Re: 3560 Layer 3 routing config help

On 10.90.153.1

Gateway of last resort is 172.23.31.33 to network 0.0.0.0

172.23.0.0/16 is variably subnetted, 2 subnets, 2 masks

C 172.23.31.32/27 is directly connected, GigabitEthernet0/48

C 172.23.30.0/26 is directly connected, GigabitEthernet0/47

S* 0.0.0.0/0 [1/0] via 172.23.31.33

On 172.23.31.34

Gateway of last resort is 172.23.31.33 to network 0.0.0.0

172.23.0.0/27 is subnetted, 1 subnets

C 172.23.31.32 is directly connected, Vlan1

10.0.0.0/24 is subnetted, 1 subnets

S 10.90.153.0 is directly connected, Vlan1

S* 0.0.0.0/0 [1/0] via 172.23.31.33

Re: 3560 Layer 3 routing config help

Hi

You have not attached the configs.

Let me guess your problem from the routing table....

(1)You need to do inter-vlan routing between both the switches. But for that they you need to really make both the 31.34 and 30.0 L2. You need to give "no ip routing"

(2)Secondly, create two different vlans for both the switches, apart from vlan 1. Say u created vlan 30 and 31.

(3)On the L3 switch define both the vlans and in L2, assign vlan to the respective ports.The cable between L2 and L3 should be a trunk.

(4)In L3, give Ips on vlan 30 and 31, which will act as default gateways for L2s.

(5)In L3 configure EIGRP with the networks 30.0 and 31.34.

(6)Configure the pcs with ip and default gateway( which is in L3)

This would do for u.

Hope that will help.

Regards

JD

New Member

Re: 3560 Layer 3 routing config help

Thank for you replies.

Can you explain what info you need in addition to the diagram and the current route tables?

Is there a simpler way I can do this with EIGRP on all three devices? They are all L3

capable 3560's...

New Member

Re: 3560 Layer 3 routing config help

If I use iter-VLAN routing that will redirect the default routes on the two L2 switches to the L3 middle switch, which I can't do.

Let me try to re-frame the question this way.

I need to go from the before topology to the after as shown in the attached diagram. Can I make all the switches L3 and use EIGRP to make it happen? How would I set this up?

Thanks again...

Re: 3560 Layer 3 routing config help

Hi

Yes its possible.You can make all the switches L3.

And that application is based on simple P2p routing.

I will give the config for one link, hope that u will manage second on ur own.

3560 access>

ip routing

int vlan 1

ip add 172.23.30.1/26

no shut

int f0/0

sw mode acc

int g0/0

dec "Connected to Core"

no switchport

ip add 192.168.1.2 255.255.255.0

router eigrp 1

net 172.23.30.0

net 192.168.1.0

3560 Core>

ip routing

int vlan 1

ip add 10.90.153.1/24

no shut

int f0/0

sw mode acc

int g0/0

dec "Connected to Access"

no switchport

ip add 192.168.1.2 255.255.255.0

router eigrp 1

net 10.0.0.0

net 192.168.1.0

Basically what I am doing is creating router ports on both the switches and connecting the and giving them the IPs.

On both the sides int vlan1 is configures for the access IP pool.

Eigrp will create dynamic routes.

Pls try this. This should work.

Revert back in case of any problem.

Regards

JD

New Member

Re: 3560 Layer 3 routing config help

Thank you very much!

Does one of the router ports need to be 192.168.1.1/24 ?

I want to try to do this with Network Assistant for fun...

Is creating the router ports the same as using the Smartports "router" setting in NA and assigning it to (default vlan1)?

Re: 3560 Layer 3 routing config help

Hi

This is a WAN link IP, can be anything which suits you.

No, I dont think this command you will get it GUI, anyway, I never have used any GUI either.

Pls rate all helpfull posts.

Regards

JD

126
Views
4
Helpful
8
Replies