qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] No internet access from centos 7 minimal guest


From: Mahmood
Subject: [Qemu-discuss] No internet access from centos 7 minimal guest
Date: Mon, 28 Aug 2017 11:56:42 +0000 (UTC)

Hi,I have installed a Centos 7 minimal installation with the following command
qemu-system-x86_64 -m 4000 -smp 2 -hda  centos7ser.img -boot c -usbdevice 
tablet -enable-kvm -device e1000,netdev=host_files -netdev 
user,net=10.0.2.0/24,id=host_files,restrict=off
Inside the guest, I see this network information
# ip addr show1: lo: .....
2: ens3:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
qlen 1000   link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff   inet 
10.0.2.15/24 brd 10.0.2.255 scope global dynamic ens3       valid_lft 86147sec 
preferred_lft 86147sex   inet6 fe80::25fb:513b:9b8b:3cd8/64 scope link       
valid_lft forever preferred_lft forever


However, the ping to 8.8.8.8 doesn't work.Did I miss anything in the 
configuration?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]