[fedora-virt] Routing only works in one direction

Richard W.M. Jones rjones at redhat.com
Fri Sep 23 14:13:16 UTC 2011


On Fri, Sep 23, 2011 at 12:43:12AM +1000, Philip Rhoades wrote:
> People,
> 
> I have been installing virtual machines for a while on a Fedora 14 
> x86_64 system (the most recent one was F16 Alpha i686) and I have always 
> managed to be able to test what I wanted to but ssh-ing from the host to 
> the virtual machines has never worked (it always works the other way 
> around).  I get:
> 
>    ssh: connect to host 192.168.122.139 port 22: No route to host
> 
> ifconfig shows:
> 
>    virbr0    Link encap:Ethernet  HWaddr FE:54:00:9F:96:2F
>              inet addr:192.168.122.1  Bcast:192.168.122.255  
> Mask:255.255.255.0
> 
> route shows:
> 
>    192.168.122.0   *               255.255.255.0   U     0      0        
> 0 virbr0
> 
> so why the error message?

There's not enough information here to answer the question, but I
would hazard a guess that the problem is because you've overwritten
libvirtd's own firewall rules.  A well-known way of overwriting them
is to restart the firewall after libvirtd has started.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the virt mailing list