Solved

How to Change Interface on Cisco IOU

Posted on 2016-08-03
11
144 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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

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

Author Closing Comment

by:Member_2_7966113
ID: 41753094
Perfect .  Thanks
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

623 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