cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
465
Views
5
Helpful
11
Replies

Couldn't ping E0 of the router...

cheakrisna
Level 1
Level 1

Hi, i am new in cisco router. I am testing an internetwork of a small lan consisting of:

1-LAN-A: 192.5.5.0 net connect to the router that has

-E0 ip addr: 192.5.5.1

-S0 (DCE) ip addr: 201.100.11.1

-router rip: network 192.5.5.0 and network 201.100.11.0

- ip host LAN-A 192.5.5.1 201.100.11.1

-LAN-B: 219.17.100.0 net connect to the router that has

-E0 ip addr: 219.17.100.1

-S1 ip addr: 201.100.11.2

-router rip: network 219.17.100.0 and network 201.100.11.0

-ip host LAN-B 219.17.100.1 201.100.11.2

After configuration, i could ping S0 of LAN-A (201.100.11.1), S1 of LAN-B (201.100.11.2). But when i tried to ping both E0 ip address of the routers, I couldn't.

Do i miss something? or it's not suppose to be able to be pinged? your help would be very appreciated! thanks!

11 Replies 11

Hello,

can you post the full configurations of both routers ?

Regards,

GP

Thanks for your response. Here you go:

Router LAB-A

router(config)#hostname LAB-A

LAB-A(config)# no ip domain-lookup

LAB-A(config)# interface ethernet0

LAB-A(config-if)# ip address 192.5.5.1 2555.255.255.0

LAB-A(config-if)# no shutdown

LAB-A(config)# interface ethernet1

LAB-A(config-if)# no ip address

LAB-A(config-if)# shutdown

LAB-A(config-if)# interface serial0 (DCE)

LAB-A(config-if)# ip address 201.100.11.1 2555.255.255.0

LAB-A(config-if)# bandwidth 56

LAB-A(config-if)# clock rate 56000

LAB-A(config-if)# no shutdown

LAB-A(config-if)# interface serial1

LAB-A(config-if)# no ip address

LAB-A(config-if)# shutdown

LAB-A(config-if)# exit

LAB-A(config)# router rip

LAB-A(config-router)# network 192.5.5.0

LAB-A(config-router)# network 201.100.11.0

LAB-A(config-router)# exit

LAB-A(config)# ip http server

LAB-A(config)# ip host LAB-A 192.5.5.1 201.100.11.1

LAB-A(config)# ip host LAB-B 219.17.100.1 201.100.11.2

LAB-A(config)# no ip classless

LAB-A(config)# line con 0

LAB-A(config-line)# login

LAB-A(config-line)# password

LAB-A(config-line)# line vty 0 4

LAB-A(config-line)# login

LAB-A(config-line)# password

LAB-A# copy running-config startup-config

Router LAB-B

router(config)#hostname LAB-B

LAB-B(config)# no ip domain-lookup

LAB-B(config)# interface ethernet0

LAB-B(config-if)# ip address 219.17.100.1 2555.255.255.0

LAB-B(config-if)# no shutdown

LAB-B(config-if)# interface serial1

LAB-B(config-if)# ip address 201.100.11.2 2555.255.255.0

LAB-B(config-if)# bandwidth 56

LAB-B(config-if)# clock rate 56000

LAB-B(config-if)# no shutdown

LAB-B(config-if)# interface serial0

LAB-B(config-if)# no ip address

LAB-B(config-if)# shutdown

LAB-B(config-if)# exit

LAB-B(config)# router rip

LAB-B(config-router)# network 217.17.100.0

LAB-B(config-router)# network 201.100.11.0

LAB-B(config-router)# exit

LAB-B(config)# ip http server

LAB-B(config)# ip host LAB-A 192.5.5.1 201.100.11.1

LAB-B(config)# ip host LAB-B 219.17.100.1 201.100.11.2

LAB-B(config)# no ip classless

LAB-B(config)# line con 0

LAB-B(config-line)# login

LAB-B(config-line)# password

LAB-B(config-line)# line vty 0 4

LAB-B(config-line)# login

LAB-B(config-line)# password

LAB-B# copy running-config startup-config

Hello,

make sure your config looks like this (there appear to be a couple of typos in your post):

LAB-A

!

interface Ethernet0

ip address 192.5.5.1 255.255.255.0

!

interface Serial0

ip address 201.100.11.1 255.255.255.0

clock rate 56000

bandwidth 56

!

router rip

version 2

network 192.5.5.0

network 201.100.11.0

no auto-summary

!

ip host LAB-A-LAN 192.5.5.1

ip host LAB-A-WAN 201.100.11.1

LAB-B

!

interface Ethernet0

ip address 219.17.100.1 255.255.255.0

!

interface Serial0

ip address 201.100.11.2 255.255.255.0

bandwidth 56

!

router rip

version 2

network 219.17.100.0

network 201.100.11.0

no auto-summary

!

ip host LAB-B-LAN 219.17.100.1

ip host LAB-B-WAN 201.100.11.2

I have changed the ip host statements to reflect only one IP address each.

Can you try and see if this works any better ? Let me know if you run into trouble...

Regards,

GP

No, it still doesn't work :(

below is from show config:

hostname LAN-A

!

ip subnet-zero

no ip domain-lookup

ip host LAN-A-LAN 192.5.5.1

ip host LAN-A-WAN 201.100.11.1

!

interface Ethernet0

description connected to LAN A

ip address 192.5.5.1 255.255.255.0

no ip directed-broadcast

!

interface Serial0

bandwidth 56

ip address 201.100.11.1 255.255.255.0

no ip directed-broadcast

no ip mroute-cache

no fair-queue

clockrate 56000

!

interface Serial1

no ip address

no ip directed-broadcast

shutdown

!

interface BRI0

no ip address

no ip directed-broadcast

shutdown

!

router rip

network 192.5.5.0

network 201.100.11.0

\\\\\\\\\\

hostname LAN-B

!

ip subnet-zero

no ip domain-lookup

ip host LAN-B-LAN 219.17.100.1

ip host LAN-B-WAN 201.100.11.2

!

interface Ethernet0

description conntected to LAN B

ip address 219.17.100.1 255.255.255.0

no ip directed-broadcast

interface Ethernet1

no ip address

no ip directed-broadcast

shutdown

!

interface Serial0

bandwidth 56

ip address 201.100.11.2 255.255.255.0

no ip directed-broadcast

!

interface Serial1

bandwidth 56

no ip address

no ip directed-broadcast

shutdown

!

router rip

network 201.100.11.0

network 219.17.100.0

!

ip http server

no ip classless

\\\\\\\\\\

Then i ping:

LAN-A#ping 201.100.11.1 (S0 of LAN-A)

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 64/68/76 ms

LAN-A#ping 201.100.11.2 (S0 of LAN-B)

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 32/34/36 ms

LAN-A#ping 192.5.5.1 (E0 of LAN-A)

Type escape sequence to abort.

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

.....

Success rate is 0 percent (0/5)

LAN-A#ping 219.17.100.1 (E0 of LAN-B)

Type escape sequence to abort.

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

.....

Success rate is 0 percent (0/5)

Do i miss something? it seems they both have properly been configured.

Thank you again!!!

Cris.

glen.grant
VIP Alumni
VIP Alumni

Have you verified that RIP is running ? If you do a show ip route , if you don't see any rip learned routes then RIP is not working correctly. Also on the newer IOS versions "passive interface " is on by default so you would have to "no passive interface" your serial connections on each side in order to pass the rip updates. Do a show ip interface s0 and see if the interface is in passive mode.

Sorry for late response. Here what i got:

LAB-A#show ip route

Gateway of last resort is not set

C 201.100.11.0/24 is directly connected, Serial0

\\\

LAB-A#show ip interface serial0

Serial0 is up, line protocol is up

Internet address is 201.100.11.1/24

Broadcast address is 255.255.255.255

Address determined by non-volatile m

MTU is 1500 bytes

Helper address is not set

Directed broadcast forwarding is disabled

Multicast reserved groups joined: 224.0.0.9

Outgoing access list is not set

Inbound access list is not set

Proxy ARP is enabled

Security level is default

Split horizon is enabled

ICMP redirects are always sent

ICMP unreachables are always sent

ICMP mask replies are never sent

IP fast switching is enabled

IP fast switching on the same interface is enabled

IP Fast switching turbo vector

IP multicast fast switching is disabled

IP multicast distributed fast switching is disabled

Router Discovery is disabled

IP output packet accounting is disabled

IP access violation accounting is disabled

TCP/IP header compression is disabled

RTP/IP header compression is disabled

Probe proxy name replies are disabled

Policy routing is disabled

Network address translation is disabled

Web Cache Redirect is disabled

BGP Policy Mapping is disabled

\\\

It seems that it doesn't have passive command, i got this:

LAB-A(config)#no passive interface

^

% Invalid input detected at '^' marker.

LAB-A(config)#interface serial0

LAB-A(config-if)#no passive interface

^

% Invalid input detected at '^' marker.

Thanks for you help!

Regards,

The passive interface command gets configured under the RIP config .

No, it still doesn't work. when i do a show ip route, i get the same result as before:

Gateway of last resort is not set

C 201.100.11.0/24 is directly connected, Serial0

When i do a show ip interface s0, i get this:

Serial0 is up, line protocol is up

Internet address is 201.100.11.1/24

Broadcast address is 255.255.255.255

Address determined by non-volatile memory

MTU is 1500 bytes

Helper address is not set

Directed broadcast forwarding is disabled

Multicast reserved groups joined: 224.0.0.9

Outgoing access list is not set

Inbound access list is not set

Proxy ARP is enabled

Security level is default

Split horizon is enabled

ICMP redirects are always sent

ICMP unreachables are always sent

ICMP mask replies are never sent

IP fast switching is enabled

IP fast switching on the same interface is enabled

IP Fast switching turbo vector

IP multicast fast switching is disabled

IP multicast distributed fast switching is disabled

Router Discovery is disabled

IP output packet accounting is disabled

IP access violation accounting is disabled

TCP/IP header compression is disabled

RTP/IP header compression is disabled

Probe proxy name replies are disabled

Policy routing is disabled

Network address translation is disabled

Web Cache Redirect is disabled

BGP Policy Mapping is disabled

More help please. Thanks!

Regards.

When i do a show interfaces for both routers, i get

Ethernet0 is up, line protocol is down

But for the s0,

Serial0 is up, line protocol is up

You think it may be the problem? if it is the case, how do i configure e0 to have its line protocol up?

Again, thanks!

Regards,

Chris

line is up line protocol is down is a classic symptom of not having anything plugged into the Ethernet interface. Is that the case here?

If you want the line protocol to come up even when nothing is plugged in you can add this command under the Ethernet interfaces:

no keepalive

I have no problems in doing this in a lab environment but I would be very cautious about doing this in a production environment.

HTH

Rick

HTH

Rick

*thumb up*

It works now. I just have had both routers' e0 plugged into a switch, i can successfully ping.

Thank you and other guys very much!! I really appreciate it!

Chris :)

Getting Started

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: