Question Locked

Cisco 3825 and 3560 PoE Switch

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I know it's something simple

On the 3560 the vlan's work and can ping the outside. When I attach the switch to 3825 I can only ping the default vlan (Vlan1). The other Vlan ip addresses are 10.0.20.1, 10.0.30.1, 10.0.40.1, 10.0.50.1. I attached a pc to the router and was able to get to the internet so I am kind of confused why it won't work.
thanks,
Mark

6 replies

by sdrucker

The ping doesn't work?

The subnets, subnetmasks, and gateways of the other vlan's may be mis-configured.
The routes may be mis-defined in the router's configuration.
ICMP may be blocked.
Do you have your config file that you can post?

A million things can make something NOT work. They all have to be right for it to work.

by markman228

The router won't recognize any traffice coming from
10.0.20.0-20.0.50.0 ( Vlan2 through Vlan5). I used "ip
route" to try to get the router to accept the traffic but it
didn't work. The vlan configuration command works
differently on the switch, in regards to assigning ip
addresses to a vlan.
I can not ping the vlan2-vlan5 from the routers console.
The vlan on the switch work because everything is
accessable when the router is not inline with the switch. I
can ping the other GE0/1 but that is a no brainer.

ex. of the ip route
ip route 0.0.0.0.0 0.0.0.0 10.0.0.50
ip route 10.0.20.0 255.255.255.0 10.0.0.50
ip route 10.0.30.0 255.255.255.0 10.0.0.50
ip route 10.0.40.0 255.255.255.0 10.0.0.50
ip route 10.0.50.0 255.255.255.0 10.0.0.50

Thank you very much for your reply.

by jellimonsta

Is your 3560 a layer 3 switch? Are you running an internal routing protocol? You will need to make sure they both have an IP in the same subnet and which ever VLAN that subnet is assigned to (ex. VLAN 20= 10.20.1.x) is the VLAN assigned to the port on the switch that is plugged into the router interface.
Can you console into each device and check the logs? Do you have cdp enabled and can see each device with a show cdp neighbor?
Also, if the 3825 is your router and you are not running a routing protocol, or the switch is layer 2, you will need to ensure you have ip route 0.0.0.0 0.0.0.0 in your switch config.

by markman228

Yes it a layer 3 switch and the vlan1 and the port on the
router are on the same network 10.0.10.0. I have checked
the information on the logs and it looks like the packets
are getting dropped. I check on the cdp status and I put
the information about the routing on the previous
posting. Thank you for your reply, it is appreciated.

by jellimonsta

So it looks like this (kind of)?

int gig0/0
ip address 10.0.10.4 255.255.255.0
desc Uplink to switch1

int vlan1
ip address 10.0.10.1 255.255.255.0
desc Router VLAN

int fa1/0/1
desc Uplink to router1 gig0/0
switchport access vlan1

Also, what routing protocol are you running between the 3560 and the 3825? Or are you using static route?

This discussion is closed to new replies.