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
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