[Lguest] Need help for networking inside lguest
octane indice
octane at alinto.com
Fri Mar 7 00:07:14 EST 2008
Rusty Russell <rusty at rustcorp.com.au> :
> On Tuesday 04 March 2008 21:50:25 octane indice wrote:
> > @%@%> ifconfig eth0 down
> > @%@%> ifconfig eth0 hw ether 00:FF:91:46:D5:EB 10.0.2.2 up
> > @%@%> ping -c 2 10.0.2.15
> > PING 10.0.2.15 (10.0.2.15): 56 data bytes
> > virtio_net 1: id 0 is not a head!
> > lguest: Guest moved used index from 23 to 160
> > root at slackwall:~#
> >
> > And I come back inside the host!
>
> Yep, this is a known issue. Reopening the network device in
> the Guest in 2.6.24 makes it go out of sync, and the Launcher
> kills it.
>
Ok, I understand.
> I don't know what your core issue is though: that network
> setup works fine here. Do you have something else using
> 10. addresses?
>
My real network is 192.168.1.x and one public IP.
But I finally found what causes the problem:
The issue is that the host and the guest have the same MAC
address. Which is a nonsense in a network point of view.
I don't understand why they have the same MAC address.
The issue here to solve the problem is the following:
1. launch lguest.
Inside lguest, don't configure eth0, nor DHCP, nor static.
It's the first step.
2. In the host, change the mac of the tap0
3. Configure eth0 in lguest
then everything works fine.
Every other way to do either crash lguest, either doesn't work.
If eth0 is set up once before changing the MAC of the tap0, it
will never work after.
My question is: why lguest and tap0 have the same MAC
address?
Thanks
Eurolines : Voyagez au meilleur prix : http://www.alinto.com/pub/
More information about the Lguest
mailing list