05-23-2015 07:00 AM - edited 03-05-2019 01:31 AM
Hi
I'm new admin for a network with tow 7606 router. I can connect to one of these routers through ssh from my computer but I can't connect to another router through ip address of connected link between tow routers, and I think it's cause of there is no route from my computer to ip address of connected link between tow routers. There is OSPF routing between tow router too and I can ping ip address of connected link from first router.
My question is how can I find IP addresses of all interfaces (either physical or loopback) on the second router for checking, to which interfaces of that router I have route in the connectable router? Is there any solution?
05-23-2015 09:05 AM
hi,
you can do all the show commands but it might not lead you to anything.
you should check your documentations and review the running-config on the second router (via console) on why you can't connect to the second router. perhaps it might not be setup for SSH yet. have you tried telnet?
another thing to check is for ACL on the vty lines on the second router.
05-29-2015 05:53 PM
A post in this discussion has been removed due to possible misconduct. Please refer to the CSC terms of use for more details.
05-23-2015 11:53 AM
Use the following command:
sh ip interface brief
it will show you all ip address configure on all interfaces.
05-24-2015 11:41 PM
Hi,
why don't you Telnet or ssh from the first router to the second one?
Then you could run
sh ip int bri
to check the IP addresses configured on the second router.
Don't forget to check
sh ip route x.x.x.x
where x.x.x.x is your PC IP address.
It's possible the router doesn't know how to route back to your PC.
Best regards,
Milan
05-25-2015 02:04 AM
Hello,
You can only get all interface address if the address are advertised to your router.But most of the time it is not the case.
I am sure you found your answer. However try this too.
Once you are in your router, do show ip int brief, once you have output, do show ip arp.
This will give you all the ip address of other devices which are connected to your router.
From your interface output compare the arp table you should find a network address in same rage as in your router interface address. Example if your router interface is 172.16.9.10, in your arp table you will find address 172.16.9.11 or 172.16.9.9. Also another check is both the address in arp table will be learnt from same interface.
Then ssh to second router and do show ip int brief.
Regards,
Lakshman
05-25-2015 12:19 PM
Hello,
According to what you said, there are two possible solutions:
1. The one that I said before: ssh to the first router and from there ssh to the second router.
2. If you indeed are runing OSPF on both routers you only have to ssh on the first router and there you execute the folowing comands:
These are the interfaces/networks connected to your router (of course, the one that are enabled in OSPF).
Hope it helps.
Best regards,
Sergiu
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide