12-29-2016 12:36 AM - edited 03-08-2019 08:44 AM
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
12-29-2016 08:55 AM
Hello,
in the GNS setup, I did not use any default route.
Try and remove:
Ip route 0.0.0.0 0.0.0.0 fastethernet 0/1
12-29-2016 09:06 AM
I already remove all ip routes.. i still cant ping 10.1.10.1 from the command prompt of my laptop B
12-29-2016 08:55 AM
Not sure why you have the static routes configured on the router, you really don't need them.
Removed these:
no ip route 10.0.0.0 255.255.255.0 FastEthernet0/1
no ip route 10.1.10.0 255.255.255.0 FastEthernet0/1
no ip route 10.1.10.0 255.255.255.0 FastEthernet0/0
no ip route 10.1.20.0 255.255.255.0 FastEthernet0/1
also, fix your default route, it shouldn't point to the interface, it should point to the next hop IP
ip route 0.0.0.0 0.0.0.0 x.x.x.x
12-29-2016 08:48 AM
12-29-2016 08:22 AM
Hello,
I labbed this in GNS3. Make sure that on your 3550, interfaces FastEthernet0/1 and FastEthernet0/3 are configured as access ports belonging to Vlan 10, and FastEthernet0/5 and FastEthernet0/9 as access ports belonging to Vlan 20:
interface FastEthernet0/1
switchport access vlan 10
interface FastEthernet0/3
switchport access vlan 10
interface FastEthernet0/5
switchport access vlan 20
interface FastEthernet0/9
switchport access vlan 20
12-29-2016 08:39 AM
that exactly what i did..
here:
router configuration
Password:
noyrouter>enable
Password:
noyrouter#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.10.1 YES NVRAM up up
Serial0/0 unassigned YES NVRAM administratively down down
FastEthernet0/1 10.1.20.1 YES NVRAM up up
noyrouter#show interface fa 0/1
FastEthernet0/1 is up, line protocol is up
Hardware is AmdFE, address is 0009.b7f8.be61 (bia 0009.b7f8.be61)
Internet address is 10.1.20.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
4 packets input, 984 bytes
Received 4 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
15 packets output, 2128 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
noyrouter#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
10.0.0.0/24 is subnetted, 3 subnets
C 10.1.10.0 is directly connected, FastEthernet0/0
S 10.0.0.0 is directly connected, FastEthernet0/1
C 10.1.20.0 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 is directly connected, FastEthernet0/1
noyrouter#show interfa fa 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is 0009.b7f8.be60 (bia 0009.b7f8.be60)
Internet address is 10.1.10.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:45, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1 packets input, 390 bytes
Received 1 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
16 packets output, 2188 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
noyrouter#
*******************************************************************************************
switch Configuration
noyswitch con0 is now available
Press RETURN to get started.
violators will be persecuted
User Access Verification
Password:
noyswitch>enable
Password:
noyswitch#show ip int br
Interface IP-Address OK? Method Status Protocol
Vlan1 10.1.1.25 YES NVRAM up down
Vlan10 unassigned YES NVRAM up up
Vlan20 unassigned YES NVRAM up up
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset administratively down down
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset administratively down down
FastEthernet0/5 unassigned YES unset up up
FastEthernet0/6 unassigned YES unset administratively down down
FastEthernet0/7 unassigned YES unset administratively down down
FastEthernet0/8 unassigned YES unset administratively down down
FastEthernet0/9 unassigned YES unset up up
FastEthernet0/10 unassigned YES unset administratively down down
FastEthernet0/11 unassigned YES unset administratively down down
FastEthernet0/12 unassigned YES unset administratively down down
FastEthernet0/13 unassigned YES unset administratively down down
FastEthernet0/14 unassigned YES unset administratively down down
FastEthernet0/15 unassigned YES unset administratively down down
FastEthernet0/16 unassigned YES unset administratively down down
FastEthernet0/17 unassigned YES unset administratively down down
FastEthernet0/18 unassigned YES unset administratively down down
FastEthernet0/19 unassigned YES unset administratively down down
FastEthernet0/20 unassigned YES unset administratively down down
FastEthernet0/21 unassigned YES unset administratively down down
FastEthernet0/22 unassigned YES unset administratively down down
FastEthernet0/23 unassigned YES unset administratively down down
FastEthernet0/24 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset down down
GigabitEthernet0/2 unassigned YES unset down down
noyswitch#
noyswitch#show vlan br
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/4, Fa0/6, Fa0/7
Fa0/8, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
10 mypc active Fa0/1, Fa0/3
20 myroute active Fa0/5, Fa0/9
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
noyswitch#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
noyrouter Fas 0/5 159 R 2621 Fas 0/1
noyrouter Fas 0/1 159 R 2621 Fas 0/0
noyswitch#show ip defa
noyswitch#show ip default-gateway
0.0.0.0
noyswitch#
12-29-2016 06:25 AM
So you are trying to ping 10.1.10.1 using 10.1.20.1 as a source from the CLI of the router itself?
Can each host ping their default gateway?
Can each host ping each others default gateway?
Can you post the configs?
12-29-2016 07:37 AM
I'm trying to ping the router 10.1.10.1 which is in interface fa0/0 using the command prompt.
I can ping fa0/0 10.1.10.1 using laptop A because they have the same gateway but i cant ping fa0/1 10.1.20.1 of the router
I can ping fa0/1 10.1.20.1 using laptop B with the same situation with laptop A, i cant ping fa0/0
What do you mean post the configs? Of the router?..
Thank you I appreciate your reply
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