[fedora-virt] Guest networking problem

Adam Huffman adam.huffman at gmail.com
Thu Apr 22 12:14:19 UTC 2010


On Thu, Apr 22, 2010 at 12:41 PM, Dor Laor <dlaor at redhat.com> wrote:
> On 04/22/2010 12:45 PM, Adam Huffman wrote:
>>
>> On Thu, Apr 1, 2010 at 10:18 AM, Dor Laor<dlaor at redhat.com>  wrote:
>>>
>>> On 03/31/2010 07:06 PM, Adam Huffman wrote:
>>>>
>>>> On Wed, Mar 31, 2010 at 11:31 AM, Tom Horsley<horsley1953 at gmail.com>
>>>>  wrote:
>>>>>
>>>>> On Wed, 31 Mar 2010 10:02:17 +0000
>>>>> Adam Huffman wrote:
>>>>>
>>>>>> Is there a way of turning on extra logging to try and see what is (or
>>>>>> isn't) happening?
>>>
>>> What's the nice type used? rtl/e1000/virtio (driver ver?)?
>>>
>>
>> It's using the default - Realtek.
>>
>>>>>
>>>>> I had similar stuff happen to machines I run due to the hopeless
>>>>> timekeeping in virtual machines. The clock gets so far off in
>>>>> the guest that it doesn't bother to renew the lease at what
>>>>> the host thinks is the scheduled time (or vice-veras, I forget
>>>>> which way the time was drifting).
>>>
>>> What's the guest? For winXp you should use the -rtc driftfix=slew
>>>
>>
>> It is XP, though I'm not sure this is the cause - the clock time isn't
>> skewed too badly.
>>
>> It appears to be related to iptables.  If I add some rules to permit
>> access to Samba on the host, the guest networking fails.  Is there an
>> "approved" way of permitting such Samba access?
>
> How do you do it? There is no reason for it to fail
>
This is what I tried:

# Second attempt at local VM Samba access
#-A INPUT -s 192.168.122.0/24 -p tcp -m tcp --dport 445 -j ACCEPT
#-A INPUT -s 192.168.122.0/24 -i vnet0 -p udp -m udp --dport 137:139 -j ACCEPT
#-A INPUT -s 192.168.122.0/24 -i vnet0 -p tcp -m tcp --dport 137:139 -j ACCEPT

When I uncommented and applied them, the guest lost its IP address.
Happy to try other suggestions...


More information about the virt mailing list