02-12-2012 10:13 AM - edited 03-04-2019 03:14 PM
Hi everyone.
I've set up home lab. I have two routers 1721, 1 switch 2950, PC and 2 laptops.
=================================================================================================
My two routers are connected via serial interface. R2 is directly connected to the PC on FastE 0 192.168.1.2. PC addres 192.168.1.1
Serial int addres 192.168.1.65.
R1 [serial int 192.168.1.66 connected to R2] with FastE 192.168.1.129 is connected to the switch [vlan int 192.168.1.130].
Two laptops are connected to the switch on ports 1 and 2. [192.168.1.131 - 192.168.1.133]
=================================================================================================
The problem I'm having is that I can't ping devices on the other subnets. I have static routing set up on both routers:
R1-
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
C 192.168.1.65/32 is directly connected, Serial0
C 192.168.1.64/26 is directly connected, Serial0
S 192.168.1.0/26 [1/0] via 192.168.1.65
C 192.168.1.128/26 is directly connected, FastEthernet0
R2-
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
C 192.168.1.64/26 is directly connected, Serial0
C 192.168.1.66/32 is directly connected, Serial0
C 192.168.1.0/26 is directly connected, FastEthernet0
S 192.168.1.128/26 [1/0] via 192.168.1.66
The thing when I'm on R2 I'm able to ping R1, switch and laptops - also my PC.
When I'm on R1 it is the same.
BUT. Whan I'm trying to ping something behind the router while on PC or laptops I'm getting this message:
----Reply from x.x.x.x: Destination host unreachable. - Packets sent=4 , received 4, lost 0---
Also replying address is different from the one I'm pinging.
I have no idea what is going on.
While setting it I was using Packet Tracer as a guide and created exact clone of this network - and a PT net works fine.
I did disable firewalls.
I'm attaching PT file.
Please help !!!
----------------------------------------------------------------------------------
R1 config file:
Current configuration : 890 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router-1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$q0Qj$8hrfpMXpSj4Xr96xFAhyM0
!
no aaa new-model
ip cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
!
interface FastEthernet0
ip address 192.168.1.129 255.255.255.192
speed auto
!
interface Serial0
ip address 192.168.1.66 255.255.255.192
encapsulation ppp
no fair-queue
!
ip forward-protocol nd
ip route 192.168.1.0 255.255.255.192 192.168.1.65
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
banner motd ^C
==================
Router-1!!!!!!!!!!
==================
^C
!
line con 0
password 7 0202114B0A
logging synchronous
login
line aux 0
line vty 0 4
password 7 1413071B0D
logging synchronous
login
!
end
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
R2 config file.
Current configuration : 968 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router-2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$H2IG$EsBXfuVE3BbB96tJWpoBF1
!
no aaa new-model
ip cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
dsl operating-mode auto
!
interface FastEthernet0
ip address 192.168.1.2 255.255.255.192
speed auto
!
interface Serial0
ip address 192.168.1.65 255.255.255.192
encapsulation ppp
no fair-queue
clock rate 2000000
!
ip forward-protocol nd
ip route 192.168.1.128 255.255.255.192 192.168.1.66
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
banner motd ^C
==============
Router-2!!!!!!
==============
^C
!
line con 0
password 7 045F1E160E
logging synchronous
login
line aux 0
line vty 0 4
password 7 130102020A
login
!
end
Solved! Go to Solution.
02-19-2012 03:41 PM
Just a small suggestion.
If I have the same type of problems you are experiencing I normally set up a sniffer (wireshark) so that I can know if the packets hit the target or not. regardless of firewall or not.
If you have ethernet between the routers (I think I saw somewhere that you were using serial links then this does not apply) you can connect a switch inbetween the routers and mirror a port to sniff the traffic there, then you can track down the problems much faster.
Good luck
HTH
02-19-2012 03:44 PM
Strange. It looks ok on PT.
Can you post the output of "sh controllers serial 0" and "sh int s0" of both routers?
02-19-2012 03:54 PM
Hi
Yeah I know thats something really odd is going on.
I will post it tomorrow cause now i need to go to bed - I'm working in the morning.
Thanks all for your responses.
I'll be back tomorrow.
Once again thanks.
Good night.
02-20-2012 11:46 AM
R1
Router---1#show controllers serial 0
Interface Serial0
Hardware is PowerQUICC MPC860
DTE V.35 TX and RX clocks detected.
idb at 0x832E391C, driver data structure at 0x832EB028
SCC Registers:
General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x06
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00365F80, Pending [CIPR]=0x00008000
Mask [CIMR]=0x40204000, In-srv [CISR]=0x00000000
Command register [CR]=0x600
Port A [PADIR]=0x0000, [PAPAR]=0x0903
[PAODR]=0x0000, [PADAT]=0xFFFD
Port B [PBDIR]=0x0180F, [PBPAR]=0x0E00E
[PBODR]=0x00000, [PBDAT]=0x0057C
Port C [PCDIR]=0x000, [PCPAR]=0x000
[PCSO]=0x020, [PCDAT]=0xFCC, [PCINT]=0x000
Receive Ring
rmd(FF003030): status 9000 length 12 address 720FDE4
rmd(FF003038): status 9000 length 12 address 7210464
rmd(FF003040): status 9000 length 12 address 7210AE4
rmd(FF003048): status 9000 length 12 address 7211164
rmd(FF003050): status 9000 length 12 address 72117E4
rmd(FF003058): status 9000 length 12 address 7211E64
rmd(FF003060): status 9000 length 34 address 7212B64
rmd(FF003068): status 9000 length 2E address 72131E4
rmd(FF003070): status 9000 length 2E address 7213864
rmd(FF003078): status 9000 length 12 address 7213EE4
rmd(FF003080): status 9000 length 12 address 720D6E4
rmd(FF003088): status 9000 length 12 address 720F764
rmd(FF003090): status 9000 length 12 address 720DD64
rmd(FF003098): status 9000 length 12 address 720E3E4
rmd(FF0030A0): status 9000 length 12 address 720EA64
rmd(FF0030A8): status B000 length 153 address 720F0E4
Transmit Ring
tmd(FF0030B0): status 5C00 length 2C address 721C3F4
tmd(FF0030B8): status 5C00 length 10 address 720D6E4
tmd(FF0030C0): status 5C00 length 10 address 70CFA14
tmd(FF0030C8): status 5C00 length 10 address 720DD64
tmd(FF0030D0): status 5C00 length 10 address 70CFC94
tmd(FF0030D8): status 5C00 length 10 address 720EA64
tmd(FF0030E0): status 5C00 length 10 address 70D0054
tmd(FF0030E8): status 5C00 length 10 address 7210464
tmd(FF0030F0): status 5C00 length 10 address 70D02D4
tmd(FF0030F8): status 5C00 length 151 address 72307B4
tmd(FF003100): status 5C00 length 10 address 7211164
tmd(FF003108): status 5C00 length 10 address 70D0694
tmd(FF003110): status 5C00 length 10 address 7211E64
tmd(FF003118): status 5C00 length 10 address 70D07D4
tmd(FF003120): status 5C00 length 10 address 7212B64
tmd(FF003128): status 7C00 length 10 address 70D0914
tx_limited=0(16)
SCC GENERAL PARAMETER RAM (at 0xFF003C00)
Rx BD Base [RBASE]=0x3030, Fn Code [RFCR]=0x18
Tx BD Base [TBASE]=0x30B0, Fn Code [TFCR]=0x18
Max Rx Buff Len [MRBLR]=1548
Rx State [RSTATE]=0x18008440, BD Ptr [RBPTR]=0x3070
Tx State [TSTATE]=0x18000548, BD Ptr [TBPTR]=0x30B0
SCC HDLC PARAMETER RAM (at 0xFF003C38)
CRC Preset [C_PRES]=0xFFFF, Mask [C_MASK]=0xF0B8
Errors: CRC [CRCEC]=0, Aborts [ABTSC]=0, Discards [DISFC]=0
Nonmatch Addr Cntr [NMARC]=0
Retry Count [RETRC]=0
Max Frame Length [MFLR]=1610
Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=65352
User-defined Address 0000/0000/0000/0000
User-defined Address Mask 0x0000
buffer size 1524
PowerQUICC SCC specific errors:
0 input aborts on receiving flag sequence
0 throttles, 0 enables
0 overruns
0 transmitter underruns
0 transmitter CTS losts
Router---1#sh int serial 0
Serial0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 192.168.1.66/26
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: IPCP, CDPCP, loopback not set
Keepalive set (10 sec)
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:10:28
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
207 packets input, 9583 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 1 frame, 0 overrun, 0 ignored, 0 abort
232 packets output, 10702 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
1 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
================================================================================
R2
Router---2#show controllers serial 0
Interface Serial0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 56000
idb at 0x832475C0, driver data structure at 0x8324ECCC
SCC Registers:
General [GSMR]=0x2:0x00000030, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x001F, Status [SCCS]=0x06
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00365F80, Pending [CIPR]=0x00000804
Mask [CIMR]=0x68200400, In-srv [CISR]=0x00000000
Command register [CR]=0x640
Port A [PADIR]=0x1500, [PAPAR]=0x9FCF
[PAODR]=0x0000, [PADAT]=0x79F7
Port B [PBDIR]=0x0BC0F, [PBPAR]=0x0D00E
[PBODR]=0x00000, [PBDAT]=0x091DC
Port C [PCDIR]=0x008, [PCPAR]=0x000
[PCSO]=0x8A0, [PCDAT]=0xB34, [PCINT]=0x000
Receive Ring
rmd(FF003130): status 9000 length 2E address 7230FE4
rmd(FF003138): status 9000 length 12 address 7231664
rmd(FF003140): status 9000 length 12 address 722AE64
rmd(FF003148): status 9000 length 30 address 722B4E4
rmd(FF003150): status 9000 length 2E address 722BB64
rmd(FF003158): status 9000 length 2E address 722C1E4
rmd(FF003160): status 9000 length 2E address 722C864
rmd(FF003168): status 9000 length 30 address 722CEE4
rmd(FF003170): status 9000 length 2E address 722D564
rmd(FF003178): status 9000 length 30 address 722DBE4
rmd(FF003180): status 9000 length 30 address 722E264
rmd(FF003188): status 9000 length 2E address 722E8E4
rmd(FF003190): status 9000 length 30 address 722EF64
rmd(FF003198): status 9000 length 30 address 722F5E4
rmd(FF0031A0): status 9000 length 30 address 722FC64
rmd(FF0031A8): status B000 length 30 address 72302E4
Transmit Ring
tmd(FF0031B0): status 5C00 length 25C address 723A134
tmd(FF0031B8): status 5C00 length 1CF address 723A474
tmd(FF0031C0): status 5C00 length 1CF address 7239DF4
tmd(FF0031C8): status 5C00 length 87 address 723A7B4
tmd(FF0031D0): status 5C00 length 87 address 70BB814
tmd(FF0031D8): status 5C00 length 87 address 70BCED4
tmd(FF0031E0): status 5C00 length 87 address 70BBB54
tmd(FF0031E8): status 5C00 length 87 address 723AE34
tmd(FF0031F0): status 5C00 length 87 address 70BC1D4
tmd(FF0031F8): status 5C00 length 87 address 723AAF4
tmd(FF003200): status 5C00 length 87 address 723B174
tmd(FF003208): status 5C00 length 87 address 70BBE94
tmd(FF003210): status 5C00 length 87 address 70BE594
tmd(FF003218): status 5C00 length 87 address 70BE254
tmd(FF003220): status 5C00 length 87 address 723B4B4
tmd(FF003228): status 7C00 length 60 address 723BB34
tx_limited=1(2)
SCC GENERAL PARAMETER RAM (at 0xFF003D00)
Rx BD Base [RBASE]=0x3130, Fn Code [RFCR]=0x18
Tx BD Base [TBASE]=0x31B0, Fn Code [TFCR]=0x18
Max Rx Buff Len [MRBLR]=1548
Rx State [RSTATE]=0x18008440, BD Ptr [RBPTR]=0x31A8
Tx State [TSTATE]=0x18000548, BD Ptr [TBPTR]=0x31F0
SCC HDLC PARAMETER RAM (at 0xFF003D38)
CRC Preset [C_PRES]=0xFFFF, Mask [C_MASK]=0xF0B8
Errors: CRC [CRCEC]=0, Aborts [ABTSC]=0, Discards [DISFC]=0
Nonmatch Addr Cntr [NMARC]=0
Retry Count [RETRC]=0
Max Frame Length [MFLR]=1610
Rx Int Threshold [RFTHR]=0, Frame Cnt [RFCNT]=65176
User-defined Address 0000/0000/0000/0000
User-defined Address Mask 0x0000
buffer size 1524
PowerQUICC SCC specific errors:
0 input aborts on receiving flag sequence
0 throttles, 0 enables
0 overruns
0 transmitter underruns
0 transmitter CTS losts
Router---2#show interfaces serial 0
Serial0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 192.168.1.65/26
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, LCP Open
Open: IPCP, CDPCP, loopback not set
Keepalive set (10 sec)
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:13:36
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/2/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 2 packets/sec
5 minute output rate 5000 bits/sec, 13 packets/sec
861 packets input, 42168 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
4048 packets output, 194804 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
1 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
7 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Here you go - I personally don't know what all taht means.
And by the way - when I turned on my lab today I couldn't ping host .1 anymore.
02-18-2012 03:04 PM
Hi ,
I think that this time you forgot the static route on R1, pointing to R2
ip route 192.168.1.0 255.255.255.192 192.168.1.65
You can post for the sake of clarity :
show ip route
show ip inter brie
from your 2 equipments
Dan
02-20-2012 01:19 PM
OK.
I figured it out.
Sorry for the hustle and your help everyone.
On the laptop and PC I have also WiFi cards installed. When they are turn on i can't ping from hosts when I turn WiFi connections off, hosts are able to ping each other.
I did not know that can impact connectivity - I discovered it by accident.
Sorry guys - I know I was pain i the a.s.
Can anyone can tell me why it works this way?
Thank you all very much!!!
--------------------------------------
02-21-2012 07:55 AM
Probably because of the 2 default gateways that you have on the PC.
As far as I know , Windows OS has an real problem in functioning with 2 default gateways on 2 different network cards.
Dan
02-21-2012 10:44 AM
Thank you all very much!!!
02-21-2012 03:40 PM
Thats good to hear that you found the problem. The reason it works this way with PCs that have wireless as well, is when a connection is set as default, and in your case (as in many other laptops) the wifi connection is the default.
The output from last two commands it shows that you have the right cable connected, configured clocking signal on the right end, and that PPP is configured correctly. The rest is for smart people to understand
It was my pleasure to help
All the best
Eugen
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: