cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1410
Views
0
Helpful
6
Replies

Stupid Newbie Routing Question

john-huntington
Level 1
Level 1

I do a lot of work with switched, private networks (for industrial control), but very little with routers.  I'm trying to pass the CCNA but failed the routing parts.  So, my friend gave me an old 3600 router, and I'm using a SGE-300 switch running CLI and then a stack of SG-2000P small business switches to learn this stuff. 

I have them configured like this:

SGE2000P switch stack with a number of hosts on VLAN1, which has an IP address of 192.168.111.1/24

Connected to:

Ethernet0/0 of the 3600 router, with an IP address of 192.168.111.201 /24

Ethernet0/1 of the 3600 router, with an IP address of 10.0.0.1/8

Connected to:

SGE300 switch with a host on VLAN1, which has an IP address of 10.0.0.11/8

From the router, I can ping a host on the 192.168.111.0 network:

JohnHRouter#ping 192.168.111.21

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.111.21, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

and, a host on the 10.0.0.0 network:

JohnHRouter#ping 10.0.0.111

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.0.111, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

But, I can't ping from the 192.168.111.21 host to the 10.0.0.111 host, or vice versa.

I can see the networks in the routing table:

JohnHRouter#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 not set

C    192.168.111.0/24 is directly connected, Ethernet0/0

C    10.0.0.0/8 is directly connected, Ethernet0/1

I added a command for "IP Routing", and here's my running-config file:

JohnHRouter#show run

Building configuration...

Current configuration : 736 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname JohnHRouter

!

boot-start-marker

boot-end-marker

!

enable secret 5 $1$i/yi$RvUjMsZiX1pq1G/eiuHWG/

enable password notused

!

no aaa new-model

!

!

ip cef

no ip domain lookup

!

!

controller T1 1/0

framing sf

linecode ami

!

!

interface Ethernet0/0

ip address 192.168.111.201 255.255.255.0

half-duplex

!

interface Serial0/0

no ip address

shutdown

!

interface Ethernet0/1

ip address 10.0.0.1 255.0.0.0

half-duplex

!

ip http server

!

ip forward-protocol nd

!

control-plane

!

gatekeeper

shutdown

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

!

end

I tried adding a "router RIP" command but that didn't work either.

I'm sure this is some stupid thing I'm missing.  Any suggestions?

Thanks!

John

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

John

On the hosts have you set the correct default-gateway ie. the corresponding IP address on the router interfaces ?

Jon

View solution in original post

6 Replies 6

john-huntington
Level 1
Level 1

Oh and I forgot to mention that I tried to establish static routes, but they either didn't seem to do anything, or gave me an error like  "can't use an IP address on this router".

Thanks!

John

You don't need static routes or RIP because the interfaces are directly connected to the routers. You only need static routes or a dynamic routing protocol if you want to exchange routes with another L3 device.

Jon

Jon is absoulutely right, you don't need any routing here. All you need is correctly configure your hosts (network\mask\gateway).

-GRinch

Jon Marshall
Hall of Fame
Hall of Fame

John

On the hosts have you set the correct default-gateway ie. the corresponding IP address on the router interfaces ?

Jon

That's my second Homer-Simpson D'Oh! of this process, thanks!  I had the default gateways still set to the management addresses of the VLAN's in the switch.  I changed that and it worked fine!  Now I'll try to add another router and get a protocol going.

Thanks!!!

John

John

We all have those moments, you should see some of the ones i have had

Glad you got it working and thanks for the rating.

Jon