cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
383
Views
0
Helpful
5
Replies

Routing/switching question.

tip-admin
Level 1
Level 1

I can't seem to get past the Eth0 of the router when I am on the switch, however, when I am consoled on the router, I can ping everyone and their mother. I don't get it.

I'm hoping this mini graph will help. I also have the FA0/2 set as a trunk b/c I will be operating VLANs on a couple of switches which will lead off of ports 3 & 4.

Anyone who can help -- thank you. I can't seem to figure out what's wrong...and I've been trying to get this small problem resovled for the past 36 hours...went as far as hooking up a Linksys WRT54G

Equipment:

=====================

1720 series router.

Catalyst 3560G-24TS

Router:

================

Eth0: 10.0.100.113 /24

FA0: 10.20.1.1 /30

|

|

|

Switch

================

ip routing

!

!

interface GigabitEthernet0/2

description To Router

switchport trunk encapsulation dot1q

switchport mode trunk

interface Vlan1

ip address 10.20.1.2 255.255.255.252

!

ip classless

ip route 0.0.0.0 0.0.0.0 10.20.1.1

ip route 10.0.100.0 255.255.255.0 10.0.100.113

5 Replies 5

Mark Yeates
Level 7
Level 7

On your switch you should either remove the trunk commands or the IP address. The port cannot be both layer 2 & 3. Since the connection from FA0 on the router is a layer 3 port I would remove the trunk commands and place the trunk somewhere else down the line. Unless I am missing something give those a try.

Mark

Mark, thanks for your quick response... Unfortunatly, I have to say, welcome to my world. It didn't work. :(

I have on my router and very basic config...just the needed to connect. On the switch, it's the same way.

Sorry that didn't work but, it was the first thing that I noticed. If you can post configs your problem could be better diagnosed.

Hey Mark -- upon working on it I finally got it to work. What didn't make sense to me was, out of frustration, I hooked up a Linksys Wireless Router and went Eth0 to the WAN connection on the Linksys, set a 30 bit network between the two and from my switch, I could get out. Based on that, I checked my cables to see if I was using a straight through when I should have been using a X-over etc...basic, minor troubleshooting.

Still not being able to get what I needed without using the Linksys, I wiped the IOS on the Router and went down to 12.2.XX and tried each, thinking that I might have loaded an IOS that required memory which I somehow overlooked and that I didn't meet (and yet my router could get to either location).

Finally 2 days ago - on Wed, I decided to take a look at the current network topology and decided to play with just one port setting which was a direct connect to our Dist. Switch in our Data center...and it dawned on me -- We have VLANS and the configs I was using - yeah, didn't match. So all along it was a vlan setting pre set causing it. I opened that puppy up and BAM - just like that, I was back in business.

Thanks for your help...I didn't even catch the initial config problem between the layer 2/3 I initially had.

Cheers!

Not a problem. Thanks for letting me know that your problem has been resolved.

Mark

Review Cisco Networking products for a $25 gift card