cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
987
Views
0
Helpful
5
Replies

IP Secondary

emilio1973
Level 1
Level 1

Hi all,

how can i reach R1?  I can see the route in the table routing  but i can't access by telnet and not respond to ping from R2 and R3.I think i don't understand the secondary address feature. Someonte to help me?

This is mi configuration on R2:

interface FastEthernet0/0
ip address 192.168.0.2 255.255.255.128 secondary
ip address 192.168.1.30 255.255.255.0
ip virtual-reassembly
duplex half
speed auto
!

interface GigabitEthernet1/0
ip address 213.190.2.182 255.255.255.0
ip virtual-reassembly
negotiation auto

!

no ip classless
ip route 192.168.0.0 255.255.255.128 FastEthernet0/0

2 Accepted Solutions

Accepted Solutions

Hi Juan,

I do not understand what the secondary interface is for.  You have 3 routers.  Router 1 physically connects to router 2 and also router 3 physically connects to router 2.

Can you post the interface config from all 3 routers for all the interfaces.  To be able to ping end-to-end, you need a static route from router 1 pointing to router 2 interface and also a static route from router 3 pointing to router 2 interface.

HTH

Reza

View solution in original post

Hello Juan,

in addition to good note from Reza I would suggest to use extended ping in order to be able to specify the source address for the ping attempts.

When you ping an ip address on a LAN interface on local router the packet doesn't go out on the wire.

When you attempt to ping R1 ip address R2 should use its secondary address as source but to be sure it is better to use the extended ping

Hope to help

Giuseppe

View solution in original post

5 Replies 5

emilio1973
Level 1
Level 1

I don`t understand this:

R1#ping 192.168.0.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 104/163/216 ms

and on the otherside:

R2#ping 192.168.0.91

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.91, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

I need help!!

Hi Juan,

I do not understand what the secondary interface is for.  You have 3 routers.  Router 1 physically connects to router 2 and also router 3 physically connects to router 2.

Can you post the interface config from all 3 routers for all the interfaces.  To be able to ping end-to-end, you need a static route from router 1 pointing to router 2 interface and also a static route from router 3 pointing to router 2 interface.

HTH

Reza

Hello Juan,

in addition to good note from Reza I would suggest to use extended ping in order to be able to specify the source address for the ping attempts.

When you ping an ip address on a LAN interface on local router the packet doesn't go out on the wire.

When you attempt to ping R1 ip address R2 should use its secondary address as source but to be sure it is better to use the extended ping

Hope to help

Giuseppe

emilio1973
Level 1
Level 1

Hi all,

I'm sorry but I was wrong with the topology. Add the new topology and configs of the 3 routers. I need to reach R1  from anywhere using telnet, icmp, or SSH.

I got it from R2 but I can not do it from R3. Why? I do not know. I think the problem is the NAT.

I appreciate your help

Hi Juan,

on r3

You have an incorrect static route on r3. You have this:

ip route 192.168.1.128 255.255.255.192 213.19.2.182

Change it to this:

ip route 0.0.0.0 0.0.0.0 192 213.190.2.182

on r2

ip address 192.168.0.2 255.255.255.128 secondary
ip address 192.168.1.30 255.255.255.240

replace with

ip address 192.168.0.2 255.255.255.128

And try pinging again

HTH

Reza

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco