?
Solved

How to Change Interface on Cisco IOU

Posted on 2016-08-03
11
Medium Priority
?
164 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 9

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
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41740810
James,

Thanks spot on.

Cheers
0
 
LVL 1

Author Comment

by:Member_2_7966113
ID: 41740813
James

Can you let me know how to save the configuration?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 9

Expert Comment

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

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 9

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
 
LVL 1

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 9

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
 
LVL 1

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 9

Accepted Solution

by:
James Bilous earned 2000 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
 
LVL 1

Author Closing Comment

by:Member_2_7966113
ID: 41753094
Perfect .  Thanks
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
Considering cloud tradeoffs and determining the right mix for your organization.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

719 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