LinuxQuestions.org
Visit Jeremy's Blog.
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-05-2014, 08:36 PM   #1
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Debian KVM host has no internet access


I installed KVM on my little file server to tinker about. I created a bridge from eth0 so I could ultimately have separate ips for the vms (currently just a minecraft server vm). Out of habit I was going to do an update & upgrade however it says it cannot resolve the sources.list entries. When I try to ping googles dns (8.8.8.8) it says cannot connect to network.

It's on the network because I'm doing all this through SSH. The server itself is headless. It had internet access when I installed KVM. I can only guess this has to do with the bridge I created for KVM. The VM has internet access but the host doesn't...?????????



*EDIT* Solved. For whatever reason when creating the bridge from inside the virt-manager on my laptop over ssh it didn't copy the gateway line from the eth0 settings. Adding that and all is well.

Last edited by Tadaen; 06-05-2014 at 08:56 PM.
 
Old 06-14-2014, 10:15 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
off ZRT
 
  


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
QEMU-KVM outside the Lan - How to access through the internet? sousacanfly Linux - Virtualization and Cloud 10 01-12-2014 11:21 PM
KVM guest unable to ping and access internet from the Physical host machine manuce Linux - Newbie 1 05-28-2013 02:48 AM
KVM guest cannot access internet Neven1986 Linux - Networking 1 10-24-2012 06:21 PM
[SOLVED] Internet access for KVM VM rkski Linux - Virtualization and Cloud 3 10-10-2012 12:52 AM
KVM guest cannot access host thehemi Linux - Virtualization and Cloud 8 03-28-2012 04:36 AM

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

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