Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] the user mode linux can't access network..
Date: Mon, 21 Aug 2006 10:41:57
Message-Id: 5cd9791d0608210337m72ddf43eue8cdd3ae5b00b5c4@mail.gmail.com
In Reply to: Re: [gentoo-user] the user mode linux can't access network.. by Etaoin Shrdlu
1 On 8/21/06, Etaoin Shrdlu <shrdlu@×××××××××××××.org> wrote:
2 >
3 > On Monday 21 August 2006 11:24, fei huang wrote:
4 >
5 > > yep, that's why I get so frustrated, I did exactly the same as what
6 > > the guide instructs..
7 > > any other posibilities that may cause the problem?
8 >
9 > Ok, let's see: you say that your eth0 (which I guess is the interface
10 > connected to the ADSL and thus to the Internet) has ip address
11 > 192.168.0.1. Then, you use this command to start uml:
12 >
13 > UML> linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.0.1
14 >
15 > this means that the *host's* tun/tap interface gets ip address
16 > 192.168.0.1 as well. So, the host ends up with its two interfaces having
17 > the same ip address (do "ip addr" or "ifconfig" when uml is running to
18 > confirm this) .
19
20
21 yep, I did notice this problem, and tried to change the tun/tap interface
22 to 192.168.0.3,
23 I guess this must be the same network with eth0 of my host system,, but no
24 luck...
25
26 If the above is true, try using different addresses for the tun/tap<->uml
27 > network, for example from the 10.0.0.0 pool.
28 > --
29
30
31 I'll try it out... hope this works. thanks.
32
33 gentoo-user@g.o mailing list
34
35
36 regards.
37
38 daniel.

Replies

Subject Author
Re: [gentoo-user] the user mode linux can't access network.. fei huang <daniel.huangfei@×××××.com>