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!

Can't ping routers in my home network.

Status
Not open for further replies.

bebop1065

Technical User
Dec 16, 2003
31
US
Hi all,

I've posted this in comp.dcom.sys.cisco also.

I have a 3550 switch SMI with three Vlans configured that I can ping, telnet and configure from my home network. The switch can ping and access the home network and the 'net.

I have a 3620 router that is connected to each of two vlans. The Routers can ping the switch but not the home network nor the 'net. I'd like to be able to telnet directly to the router from my home network without having to either console to it or telnet from the Switch. I can telnet and ping between the switch and router. I have a static route setup on the router to the switch as well as RIP to the network they share.

Can anyone take a look at my configs below to see what I might need to add in order for me to reach the routers directly?

Do I need to enable a RIP or static routing protocol on the switch as well? (I thought about this as I was making this post.)

Tell me I figured it out on my own!

Thanks.

--
hostname RouterB
!
boot system flash c3620-ik9s-mz.122-7c.bin
logging buffered 4096 debugging
enable password 7 xx
!
clock timezone NewJersey -5
ip subnet-zero
!
ip host Switch 192.168.2.2
ip host RouterA 10.168.1.1
ip name-server x.x.x.x
ip name-server x.x.x.x
no ip dhcp conflict logging
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
call rsvp-sync
!
interface Ethernet0/0
ip address 192.168.2.1 255.255.255.0
full-duplex
!
interface Ethernet0/1 <=directly connected with xover to another router
ip address 10.168.1.2 255.255.255.252
full-duplex
!
router rip
network 10.0.0.0 <=network to directly connected router
network 192.168.2.0 <network to Switch
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.2 <=switch ip address
no ip http server
no ip pim bidir-enable
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
exec-timeout 5 0
password 7 xx
login
length 25
!
ntp clock-period 17179920
ntp server 192.168.2.2
end
--





!!!!Switch config follows!!!!




--
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password cisco
!
clock timezone NewJersey -5
ip subnet-zero
ip routing
ip host RouterB 192.168.2.1
ip host RouterA 192.168.1.1
ip name-server x.x.x.x
ip name-server x.x.x.x
!
mls qos
!
spanning-tree extend system-id
!
interface FastEthernet0/1
description connection to RouterA
switchport access vlan 10
switchport mode access
no ip address
duplex full
!
interface FastEthernet0/12
description connection to RouterB
switchport access vlan 20
switchport mode access
no ip address
duplex full
!
interface FastEthernet0/47
description connection to home network
switchport access vlan 1
switchport mode access
no ip address
duplex full
speed 100
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 192.168.0.20 255.255.255.0 <=connected to my Dlink home router
!
interface Vlan10
ip address 192.168.1.2 255.255.255.0 <=connected to RouterA
!
interface Vlan20
ip address 192.168.2.2 255.255.255.0 <=connected to RouterB
!
ip default-gateway 192.168.0.1 <=my Dlink home router
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1 <=my Dlink home router
ip http server
!
access-list 1 permit any
!
line con 0
password cisco
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
ntp clock-period 17180545
ntp access-group peer 1
ntp max-associations 3
ntp peer 192.168.1.1
ntp peer 192.168.2.1
ntp server 65.211.109.11
ntp server 65.211.109.1
end


CCNA student
 
Have you got anywhere with this yet?

Can you post some sort of network diagram?

Andy Leates MCSE CCNA MCP+I
 
You need RIP on the router.

Also, to route between VLANS (Why anyway have VLANS, unless this is a teaching env). You need IP Plus, you config is not showing as IP Plus (No trunk commans)

===

Fatman Superstar (Andrew James)

CCNA,
(CCNA Cisco Academy Instructor Trained)
 
No, I haven't gotten anywhere with this. Thanks for responding.

I am able to telnet to my switch so, I can test this real world without having to go home. (That was a victory in itself.)

I enabled RIP on the switch with all networks declared. The routing tables on all elements show all available routes. I even see a route (192.168.0.0) to the Dlink router from the Cisco routers. But there is no ping reponse when I ping the Dlink. For learning purposes, I have also added static routes between the elements. The top config is RouterB. The bottom config is the 3550.

I haven't studied trunking yet, so that might be my answer.



diagram follows


Dlink Home router----Internet
|
3550 Switch
| |
3620-------3620

CCNA student
 
If you wish to route between VLANS's trunking and IP Plus for routers are your friends.


===

Fatman Superstar (Andrew James)

CCNA,
(CCNA Cisco Academy Instructor Trained)
 
I don't understand what this IP PLUS is. Is this something that I need to learn to pass the cert. test? Otherwise, I'd be ust happy enough tring to work with what I have.

One of my routers has 12.2(7c). The other has 12.1(5).

I should enable trunking between all of the VLANS and my home network?

CCNA student
 
yes, you have to enable trunking between all of the VLANS and your home network(Dlink). IP PLUS is just a feature set that will allow you to configure the ISL trunking. FYI: ISL- Inter-Switch Link= Cisco-proprietary protocol that maintains VLAN information as traffic flows between switches and routers. The IOS image you want to download and put on your 3620 routers(provided you want to stay on 12.2&7c)is c3620-is-mz.122-7c.bin, you must have a CCO login for cisco.com , but the URL for this file is:


hope this helps..


I'm the Fanciest of the Fancy...INDEED
 
by the way, to run the c3620-is-mz.122-7c.bin, your routers are going to require at least 48Mb RAM, and 16Mb of Flash

happy upgrading!

-Pete

I'm the Fanciest of the Fancy...INDEED
 
here is a quick fix. drop the vlan configurations on the 3550.

instead do the following

in place of vlan configuration on a certain port enable this command




no switchport


this will create a non switchport on the switch. it will function exactly like another routed interface which is exactly what a vlan is. the importance of vlan trunking only comes into play when you are trying to pass multiple vlans along the same connection or wire. for your practice i would configure the 3550 with the no switchport command.

after configuring that command on an interface you can issue the interface an ip address just like you would on any other router. its the same. worry about vlans when you go for your ccnp. understand them now and really learn them latter. you have a nice setup for a ccna student. good luck


get your subnetting down for the test
 
I just got back from a trip to the SE. I'll try these suggestions this evening when I get home. I'll post back when I can. Thanks.

CCNA student
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top