05-17-2019 02:29 PM
Hi community,
Green hand, first question here, probably a naive one, but I searched and couldn't find the answer. I'm not sure if this is the right board to ask. If not, please kindly let me know which one I should post to.
I'll try to provide as much information as possible, some of them may not be relevant though, however I don't want to miss any possible useful info.
Basically, we, company A, have a Cisco 4431 router installed in the network of company B. The router manages a few servers (mostly Ubuntu, and some Windows). I usually VPN into B, and ssh into one of the Ubuntu servers (U) to work in command line environment. Now we need add an external hard drive, to be specific, Aegis Padlock DT - USB 3.0 Desktop Drive (D) to the router so that I can backup data from U to D. D will be connected to the router via USB portal.
My question is how I can find out the IP of D assigned by the router. What I tried so far were:
1, launch Firefox on U and enter 192.168.1.1 as address, but this could not show me the router admin page but error message. I did so because I can do this at my home and get the admin page). And
2, I ssh into the router command line interface successfully, but I don't know what command(s) to use to see currently used IPs and related info. I tried to search some tutorial but didn't find the commands.
How can I find the IP of D assigned by Cisco 4431 router?
Thank you for your help!
-tx
Solved! Go to Solution.
05-20-2019 12:19 AM
Hello,
the USB port on the router does not have an IP address, it is referred to as 'usbflash0' or something similar. (issue the command 'show dir' to find out what your USB is named).
I don't think you can send the file directly from the Ubuntu to the USB drive, you'll have to do it from the router (which is not a big deal, since you can even schedule these commands to be executed at predefined intervals).
So, if your Ubuntu server has IP address 10.10.10.1, this is how you would transfer files You can use tftp/ftp/rcp/http/https) :
4331#copy tftp/ftp/rcp/http/https usbflash0
If you press <ENTER> you will be prompted for the IP address of the Ubuntu, as well as the source file name.
05-17-2019 10:51 PM
I am not sure if i understand requirement correctly.
Router is meant to perform respect task act as router, it can be a file server for your requirement,(not that it can not be done, but that is wrong approach)
If you looking to backup of router config - Router have USB port for IOS upgrade back of configs. make sure USB is recongnised in the router. you can see the logs as soon as you plug the USB ro router.
by issueing show logging. ( by dir you can see the files in the usb)
There is no IP assigned to USB Drive, Route IP is the IP to contact USB, But USB can not be mapped as Drive, you always need to login to router to copy the files to USB.
make sense ? if not please elaborate more.
05-19-2019 09:20 PM
05-20-2019 12:19 AM
Hello,
the USB port on the router does not have an IP address, it is referred to as 'usbflash0' or something similar. (issue the command 'show dir' to find out what your USB is named).
I don't think you can send the file directly from the Ubuntu to the USB drive, you'll have to do it from the router (which is not a big deal, since you can even schedule these commands to be executed at predefined intervals).
So, if your Ubuntu server has IP address 10.10.10.1, this is how you would transfer files You can use tftp/ftp/rcp/http/https) :
4331#copy tftp/ftp/rcp/http/https usbflash0
If you press <ENTER> you will be prompted for the IP address of the Ubuntu, as well as the source file name.
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