Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subnet routing issues on cisco 1800 series router

Status
Not open for further replies.
Jul 20, 2005
6
US
I have a cisco 1800 series router. I set it up on my computer lab network. I have two subnets 192.168.10.x and 192.168.20.x. Fe0 is 192.168.10.250 connects to a switch, the switch has 4 pcs connected 192.168.10.x and a connected to the switch with address 192.168.10.1. On Fe1 192.168.20.1, it connects to a switch with 4 pcs 192.168.20.x. Computers on both networks are able to ping and talk to each other. PCs on 192.168.10.x can ping 192.168.10.1. PCs on 192.168.20.x can not ping 192.168.10.1. Ran a trace for 192.168.20.x and it shows the first hop as 192.168.20.1 then its times out on the next hop and it doesn't show 192.168.10.250 on Fe0 as its second hop.

I have no static routes. sh ip route displays the following:
C 192.168.10.0/24 is directly connected, FastEthernet0
C 192.168.20.0/24 is directly connected, FastEthernet1

Please help
Thank you
 
The routing protocol is irrelevant in this case because we're only dealing with a single router and it's already aware of both networks in question since they're directly attached.

What subnet mask are you using? I'll assume that you're using a /24 mask, or 255.255.255.0. Double check the IP addressing, subnet masks, and default gateway configs on your PCs. If they can only ping devices on their local network then the problem is most likely a misconfigured subnet mask or default gateway.

 
The PCs on 192.168.20.x are using 192.168.20.1 as their gateway and 255.255.255.0 as their mask.

copy of my running config
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname qacisco1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$APRi$mHHXTyHgzGltCOjBjIVaF1
enable password
!
username admin privilege 15 password 0 cisco1
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no aaa new-model
ip subnet-zero
!
!
ip cef
!
!
ip ips po max-events 100
no ftp-server write-enable
!
!
!
!
!
!
!
interface Dot11Radio0
no ip address
ip broadcast-address 0.0.0.0
shutdown
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0
54.0
!
interface Dot11Radio1
no ip address
ip broadcast-address 0.0.0.0
shutdown
speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0
station-role root
!
interface FastEthernet0
ip address 192.168.10.250 255.255.255.0
ip broadcast-address 0.0.0.0
speed auto
full-duplex
!
interface FastEthernet1
ip address 192.168.20.1 255.255.255.0
ip broadcast-address 0.0.0.0
speed auto
full-duplex
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
shutdown
!
interface FastEthernet5
no ip address
shutdown
!
interface FastEthernet6
no ip address
shutdown
!
interface FastEthernet7
no ip address
shutdown
!
interface FastEthernet8
no ip address
shutdown
!
interface FastEthernet9
no ip address
shutdown
!
interface Vlan1
no ip address
ip broadcast-address 0.0.0.0
shutdown
!
interface Async1
no ip address
ip broadcast-address 0.0.0.0
!
router rip
network 192.168.10.0
network 192.168.20.0
!
no ip classless
ip route 192.168.10.0 255.255.255.0 192.168.10.254
!
!
ip http server
ip http authentication local
ip http secure-server
!
dialer-list 1 protocol ip permit
!
!
!
!
control-plane
!
!
line con 0
line 1
line aux 0
line vty 0 4
password
login
!
no scheduler allocate
end

my new address for the dsl is 192.168.10.254. i switched it from 192.168.10.1

still can't ping it from any host on the 192.168.20.x network. I can ping it only from host on 192.168.10.x and i can ping it from the router.
 
I know that you know what the PCs *should* be using, but have you verified that their settings are correct?

Can any device on the 192.168.20.0/24 network ping 192.168.10.250?
 
All PCs on 192.168.20.x can ping Fe0 192.168.10.250.
All PCs on 192.168.20.x can ping other PCs on the 192.168.10.x network.

I just can't figure out why the PCs on 192.168.20.x are unable to ping 192.168.10.254(which is the dsl linksys router's local address)
 
You're probably missing a static route on the Linksys router. It doesn't know where 192.168.20.0/24 lives.
 
I didn't set a route on the linksys. I will set a route on the linksys. I believe that should take care of my problem. Thank you jneiberger and everyone else, I will let you the results.
 
I was able to add a static route to my dsl router. All my PCs on subnet 192.168.20.x are now able to ping the dsl router. I change the gateway of last resort to that of the dsl router's address and now all my PC's are able to access the internet.


Thank you all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top