LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-11-2011, 10:41 AM   #1
priyankgupta1984
LQ Newbie
 
Registered: Sep 2011
Posts: 17

Rep: Reputation: Disabled
Question Nested KVM networking problem


Hi all,

I am using fedora 15 in my physical machine (we can say it PC1) i have kvm, i installed fedora 15 in kvm (PC2) as virtual machine, i have installed another virtual machine (PC3) in PC2, means i did nested virtualization. Now problem what I am facing is.

PC1 ethernet interface virbr0 (192.168.122.1/24, ip forwarding is enable, ip route table is also updated) is connected with PC2 interface eth0 (192.168.122.155/24, ip forwarding is enable, ip route table is also updated), I have another port in PC2 with virbr1 (192.168.100.1/24, ip forwarding is enable, ip route table is also updated) which is connected with PC3 eth0 (192.168.100.168/24, ip forwarding is enable, ip route table is also updated)

Now my PC1 is able to ping both interfaces of PC2 and PC3 is also able to ping both interfaces for PC2 but PC1 is not able to communicate with PC3....

can any one please tell me where i am lacking in configuration

Thanks in advance....
 
Old 11-12-2011, 05:18 AM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
It appears you did not enable IP forwarding on PC2. Or prehaps there is an iptables rule somewhere blocking the traffic. Traceroute and tcpdump/wireshark will help investigating.
 
Old 11-14-2011, 05:27 AM   #3
priyankgupta1984
LQ Newbie
 
Registered: Sep 2011
Posts: 17

Original Poster
Rep: Reputation: Disabled
Exclamation @TimothyEBaldwin

Thanks for your reply

i have enabled ip forwarding, disabled selinux & iptables but not success, however I am using NAT for all virtual machine and I am getting feeling might be bcz of it, it is not working, i tried to use routed network but might be im doing something wrong some where so if u don't mind can you tell me how can i make routed network in KVM.
 
  


Reply



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
KVM with VDE Networking Question dman777 Linux - Virtualization and Cloud 0 09-27-2011 02:01 AM
qemu/kvm virsh networking help zoran119 Linux - Virtualization and Cloud 2 12-02-2010 01:43 AM
KVM networking eyemole80 Linux - Networking 6 02-18-2010 10:25 AM
KVM, and Dos. Networking possible? Gangrif Linux - Virtualization and Cloud 7 02-12-2010 02:32 AM
kvm networking with a wireless dhcp host extendedping Linux - Virtualization and Cloud 7 11-23-2009 04:29 AM

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

All times are GMT -5. The time now is 08:16 AM.

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