LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2015, 04:35 AM   #1
h.safe
LQ Newbie
 
Registered: Jun 2014
Posts: 6

Rep: Reputation: Disabled
Issue setting up a static public IP in kvm guests+virt-manager


Hi all
I have a virtualized environment both guests and host Centos 6.5. Now the host is set properly for port forwarding and bridging. Actually there are few guests already on the machine and worknig fine.

The thing is that it is the first time I am trying to config a guest with multiple interfaces: eth1:NAT eth0:bridged. eth0 needs neither receive an IP from libvirtd nor from the LAN it is connected. I would like the guest to be set with a public IP using the virt-manager and static ifcfg-eth0 file.

Now when I try to add interfaces in the guest and configure them to connect to the host br0, it goes fine but a reboot of the server and ifconfig does not yeild any interfaces. I try to create the related ifcfg-eth0 under the network-scripts with correct parameters but it is not being picked. Note that NetworkManager is not present in the minimal installation to cause issues. I submit a dhclient which shows interfaces but then nothing still holds the data I configured!!!

I must be missing something here, please help
 
Old 06-03-2015, 01:30 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
Quote:
have a virtualized environment both guests and host Centos 6.5
before you go to far
double check that 6.5
Code:
cat /etc/redhat-release
CentOS 6.5 is NOT SUPPORTED
it is END OF LIFE

only 6.6 is supported

if it is 6.5
you are missing a YEARS!!! WORTH of security updates as CRITICAL SECURITY FIXES !!!

upgrade to 6.6 ASAP

then worry about the ip address
 
  


Reply

Tags
centos, kvm, public-ip-address, static ip, virt-manager


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing KVM Guests With virt-install On Ubuntu 12.10 Server LXer Syndicated Linux News 0 12-11-2012 05:10 PM
LXer: Installing KVM Guests With virt-install On Ubuntu 11.10 Server LXer Syndicated Linux News 0 11-27-2011 12:40 PM
LXer: Installing KVM Guests With virt-install On Ubuntu 11.04 Server LXer Syndicated Linux News 0 05-10-2011 07:40 AM
LXer: Installing KVM Guests With virt-install On Ubuntu 10.10 Server LXer Syndicated Linux News 0 11-30-2010 11:10 AM
LXer: Installing KVM Guests With virt-install On Ubuntu 8.10 Server LXer Syndicated Linux News 0 03-10-2009 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration