cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5483
Views
0
Helpful
37
Replies

I can't ping my fa0/0 from my fa0/1 network..

Ngjohnquilla
Level 1
Level 1

I have a cisco 2600 router and a 3550 switch

Conf of my switch

vlan 10(active and up)

 fa0/1 this is connected to my router fa0/0

 fa0/3 this is connected to my laptop A

Conf of my switch

vlan 20(active and up)

 fa0/5 connected to my router fa0/1

 fa0/9 connected to my  laptop B

**************************************

Conf of my router 2600

Fa0/0 ip address 10.1.10.1

Fa0/1 ip address 10.1.20.1

Ip route 0.0.0.0 0.0.0.0 fastethernet 0/1

My question is why cant i ping fa0/0  from fa0/1

My laptop B

ip address is 10.1.20.12

Gateway 10.1.20.1

My laptop A

Ip address is 10.1.10.12

Gateway 10.1.10.1

37 Replies 37

chrihussey
VIP Alumni
VIP Alumni

Can laptop A ping both router interfaces?

Can laptop B ping both router interfaces?

If you post the configs it might be easier to figure out what is going on.

Laptop A can only ping interface fa0/0 of the router

Laptop B can only ping interface fa0/1 of the router. Because they are on the same network and i use the ip address of interface fa0/1 for the gateway of my laptop B. 

I use command prompt of each laptop to ping the router. 

What configs do you mean? 

Thank you sir

The configuration of the router and switch. Just copy them into a notepad text file and attach them to the discussion.

Your issue may be easily resolved if we could look at them.

please see attached file. 

Please provide the output of "show run" for both devices.

see attached file for my running-config on both devices

Remove the Static routes on the router, that is likely causing your issue.

The default route is currently pointing towards your LAN so this is not correct.

you also don't need the other static routes.

The two subnets you have are directly connected to the router so it already knows how to route to them.

Basically remove the static routes, this will probably fix the issue.

Cheers

I removed all of the ip routes.. still have the same problem.. request timed out when i try to ping 10.1.10.1 from my laptop with a default gateway of 10.1.20.1..

Hello there are corrections in switch and router configurations 

Let's start with switches first 

1. Shut/admin down the vlan 1 on both the switches and assign the IP address for vlan 10 (10.1.10.25) and vlan 20 ( 10.1.20.1) on second switch 

2. Switch1# ip-default gateway 10.1.10.1

Switch2# ip-default gateway 10.1.20.1

3 . Remove all static routes on router still i see the routes

This will work when you have a 2 switches if you have only one switch please use only one uplink from router to switch 

On the router you have to create the sub-interfaces on switch connected interface - by using router on stick command 

let me know how many switches you have

You have to define sub-interfaces toward the switch using the SVI and define a sub-interface for each VLAN with dot1q encapsulation.
Share your topology if you need any further assistance.

Wish you the best luck

I have 1 switch

Please use below configuration 

If you have one switch configuration what you have will not work 

1. Shut/admin down the vlan 1 switcheand assign the IP address for vlan 10 (10.1.10.25) and ip-default gateway 10.1.10.1

2. Please have only one uplink connection to switch

3. You have to define sub-interfaces toward the switch using the SVI and define a sub-interface for each VLAN with dot1q encapsulation.

SW1# configure terminal
SW1(config)# vlan10
SW1(config-vlan)# name xxx
SW1(config-vlan)# exit
SW1(config)# interface vlan 10
SW1(config-if)# description Xxx Vlan
SW1(config-if)# ip address 10.1.1.25 255.255.255.0
SW1(config-if)# exit

SW1# configure terminal
SW1(config)# vlan20
SW1(config-vlan)# name xxx
SW1(config-vlan)# exit

SW1# configure terminal
SW1(config)# interface fa0/1
SW1(config-if)# description Trunk-to-Router
SW1(config-if)# switchport trunk encapsulation dot1q
SW1(config-if)# switchport mode trunk
SW1(config-if)# spanning-tree portfast trunk

 fa0/1 this is connected to my router fa0/1

R1# configure terminal
R1(config)# interface fa0/1
R1(config-if)# no ip address
R1(config-if)# duplex auto
R1(config-if)# speed auto
R1(config-if)# interface fa0/1.10
R1(config-subif)# description xxx
R1(config-subif)# encapsulation dot1q 10 native
R1(config-subif)# ip address 10.1.10.1 255.255.255.0
----------------------------------------
R1(config-subif)# interface fa0/1.2
R1(config-subif)# description yyy
R1(config-subif)# encapsulation dot1q 20
R1(config-subif)# IP address 10.1.20.1
R1(config-subif)# ip virtual-reassembly

Please have look on interfaces and up address before you configure.

after dumping the configuration, please remove all static routes including default route

be paint it should resolve your problem

Review Cisco Networking for a $25 gift card