Solved

How to Change Interface on Cisco IOU

Posted on 2016-08-03
11
119 Views
Last Modified: 2016-08-11
Hello Experts,

Can someone please let me know how to change the interface eth0 in the image with the appropriate Unix / Linux commands. I would like to change the interface from 192.168.80.160 to 192.168.99.5.

Thank you

Regards
ciscoIOU.png
0
Comment
Question by:Member_2_7966113
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 8

Expert Comment

by:James Bilous
ID: 41740782
Yup:

ifconfig eth0 192.168.99.5 netmask 255.255.255.0 up

Open in new window

0
 

Author Comment

by:Member_2_7966113
ID: 41740810
James,

Thanks spot on.

Cheers
0
 

Author Comment

by:Member_2_7966113
ID: 41740813
James

Can you let me know how to save the configuration?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:James Bilous
ID: 41740816
Whats your distro? This usually involves editing a config file which is distribution independent.
0
 

Author Comment

by:Member_2_7966113
ID: 41740830
James,

No idea what distro is.

I thought there would be a simple command to save the configuration - or does it work the same was Windows?
0
 
LVL 8

Expert Comment

by:James Bilous
ID: 41740838
Distro is your linux distribution. For example, you may have Ubuntu, Linux Mint, Suse, Red Hat, etc. etc, all linux based but still different operating systems, each with different ways of saving configurations.

If you are on Ubuntu, for example, you can simply use the "network management" application to set and save the IP for the eth0 interface. You can also edit a configuration file, /etc/network/interfaces, and save it to persist the changes across reboot.
0
 

Author Comment

by:Member_2_7966113
ID: 41741219
Hi James,

Can you show me the linux / unix commands to set the default gateway?

Thanks
0
 
LVL 8

Expert Comment

by:James Bilous
ID: 41741266
You can simply use the same command but leave the IP unchanged while changing the default gateway.
0
 

Author Comment

by:Member_2_7966113
ID: 41744619
James,

Do you mean

ifconfig eth0 192.168.99.5 defaultgateway 10.1.1.1
0
 
LVL 8

Accepted Solution

by:
James Bilous earned 500 total points
ID: 41744646
Ah, sorry, thought you meant mask and not gateway.  

route add default gw 10.1.1.1

Open in new window


should work
0
 

Author Closing Comment

by:Member_2_7966113
ID: 41753094
Perfect .  Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question