LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2014, 10:29 PM   #1
e0a
LQ Newbie
 
Registered: May 2014
Posts: 6

Rep: Reputation: Disabled
i can ping 10.0.2.2 but can not ping host ip


my linux running in qemu
use dhcp
i can ping 10.0.2.2 but can not ping host ip why
thanks for any help
 
Old 06-04-2014, 03:09 AM   #2
orb
LQ Newbie
 
Registered: Nov 2002
Location: USA
Distribution: Fedora 20
Posts: 16

Rep: Reputation: 0
Is 10.0.2.2 used for the virtual machine? How is your network setup? What have you tried thus far? Are there any other devices in the network? Any information that you can provide to us will help us to help you better. I don't visit much these days, but I'm sure if you reply with more information someone will be willing to offer assistance. Best of luck to you.
 
Old 06-04-2014, 04:30 AM   #3
e0a
LQ Newbie
 
Registered: May 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orb View Post
Is 10.0.2.2 used for the virtual machine? How is your network setup? What have you tried thus far? Are there any other devices in the network? Any information that you can provide to us will help us to help you better. I don't visit much these days, but I'm sure if you reply with more information someone will be willing to offer assistance. Best of luck to you.

network is dhcp mode

device is e1000
 
Old 06-04-2014, 02:42 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,130

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Qemu uses a virtual router in this situation. Not sure it has the ability to direct ping across to host, at least I knew it didn't for a long time.

Could be also that your host doesn't reply to pings or from ones outside trusted.

Ping is a rather poor test. Why do you want to use it?


You also have to set up dns in client settings if you want to expect to use this virtual router type nat.
 
Old 06-04-2014, 07:07 PM   #5
e0a
LQ Newbie
 
Registered: May 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
i always think the reason is the network device was not found

i have set up dns "8.8.4.4"

important is it just means vitual machines and host communication how to
also issues from qemu booting commands
 
Old 06-04-2014, 09:58 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,130

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
What do you mean network device not found?
 
Old 06-04-2014, 10:17 PM   #7
e0a
LQ Newbie
 
Registered: May 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
iam not sure about if network module has been loaded my pc is yoga pro 2 . its nic inside it i need rj45 to connection u know
 
Old 06-06-2014, 02:59 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,130

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Not really.
 
  


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
guset can ping the host but host can't ping the guest . linuxreza Linux - Newbie 1 07-28-2012 02:47 PM
[SOLVED] ping www.google.co.in gives unknown host error ,ping to LAN address works fine aspiring_stellar Linux - Newbie 10 05-24-2011 03:26 PM
Debian 5 , after SysCp Installation and configure Ping Valure ( ping: unknown host ) brenner23 Linux - Networking 1 07-14-2010 09:01 PM
Unable to ping : ping: unknown host PKumar Linux - Networking 4 10-31-2007 12:43 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM

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

All times are GMT -5. The time now is 08:04 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