LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2014, 03:25 AM   #1
sindh
LQ Newbie
 
Registered: Aug 2014
Posts: 23

Rep: Reputation: Disabled
Assigning management IP for kvm guest other than eth0


Hi,
I am starting kvm guest through command line from kvm.

-device pci-assign,host=04:00.0 \
-device pci-assign,host=07:00.0 -device pci-assign,host=07:00.1 \
-device pci-assign,host=07:00.2 -device pci-assign,host=07:00.3 \
-device pci-assign,host=82:00.0 -device pci-assign,host=82:00.1 \
-device pci-assign,host=82:00.2 -device pci-assign,host=82:00.3 \
-device e1000,netdev=net0 -netdev tap,id=net0,script=/etc/qemu-ifup0 \


When I use this to start guest, management IP is getting assigned to eth0 and eth9. where 04:00.0 is eth9.

Problem 1: Management IP is getting assigned to all free interfaces with same IP address
Problem 2: Assigning IP address to kvm guest during bootup.

I just want one management IP that is assigned to host=04:00.0


I tried removing ifcfg-eth0 file. But I got eth0 and eth9 up with no IP assigned.

Pls help, If I can assign IP through guest start up script in kvm.

Your help is greatly appreciated!

Last edited by sindh; 10-08-2014 at 06:17 AM.
 
  


Reply


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
Network setup KVM guest to use eth0 as is. on CentOS Air-Global Linux - Virtualization and Cloud 7 02-28-2013 07:33 AM
[SOLVED] KVM/libvirt - all traffic from eth0 to virtual guest ericson007 Linux - Virtualization and Cloud 3 04-02-2012 10:43 PM
KVM with Ubuntu guest - guest crashes when some apps are 'full screened' TonyRogers Linux - Virtualization and Cloud 0 05-15-2011 01:18 PM
[SOLVED] Qemu kvm : No eth0 inside a Slackware-13.0 guest, although listed in lspci and lsmod Linux.tar.gz Slackware 9 02-08-2010 07:36 PM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 03:50 PM


All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration