Changing eth1's IP address

This is for discussing general topics about how to use VirtualBox.
Post Reply
philroc
Posts: 10
Joined: 10. Jul 2012, 10:55

Changing eth1's IP address

Post by philroc »

Hello,

when I start Centos in my VirtualBox VM, and type ifconfig, several interfaces appear:

- eth1
- lo
- virbr0

How are those interfaces created?

Can I make the IP address associated with eth1 static and, if so, how?

I have created an ifcfg-eth1 file in /etc/sysconfig/network-scripts and defined a static IP address in it, but to no avail.

What is the recommended way to change eth1's IP address?

Many thanks.

Philroc
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Changing eth1's IP address

Post by Perryg »

Your question concerning specific configuration and use of a particular distro would be better asked at the distros forum.
http://www.centos.org/modules/newbb/
Post Reply