On Friday 29 April 2005 03:40, Jack wrote:
> hi ,Blaisorblade
> sorry to send this mail stright to you
Sorry that I can't answer... sadly I'm no UML network expert, there are=20
smarter people around on this subject...
Maybe you can find them on the #uml IRC channel. Also there are various=20
resources / HOWTO about networking, which you'll be able to find by searchi=
ng=20
the archives (I've also collected a few links on my site, including the one=
=20
to the UML wiki).
> . a few days ago ,i send a=20
> mail to the list ,but nobody helped me so far, and i hope you can help me=
.
> belew is the issue
>
> my host kernel is 2.6.10 so the guest kernel it is. and they works
> fine except the network.
>
> my guest system seems like after some time like an hour or a few more
> ,it's network shutdown, can't access it from the internet. but after ssh =
to
> the host ,and in the host send a ping packet to the guest system , the
> guest system network works again. can you tell me the possible reasons ,
> thank you very much.
>
> and below is my network
> i use the tun,tap mode ,and the server runs birdge .
>
> i start them with rc.locl:
> below is my rc.local file:
>
> #!/bin/sh
> #
> # This script will be executed *after* all the other init scripts.
> # You can put your own initialization stuff in here if you don't
> # want to do the full Sys V style init stuff.
>
> touch /var/lock/subsys/local
>
> ####################################start bridge
> echo 1 >/proc/sys/net/ipv4/ip_forward
> echo 1 >/proc/sys/net/ipv4/config/all/proxy_arp
> brctl addbr mybr
> ifconfig mybr 211.222.222.222 netmask 255.255.255.0 up
> brctl stp mybr off
> brctl sethello mybr 1
> brctl setfd mybr 1
> ifconfig eth0 0.0.0.0 promisc up
> brctl addif mybr eth0
> route add default gw 211.222.222.1
> ####################################end
>
> #####################################adduser test
> tunctl -u test -t testeth0
> ifconfig testeth0 0.0.0.0 promisc up
> brctl addif mybr testeth0
> screen -m -d -S test linux mem=3D256M ubd0=3D/home/test/root_fs.cow
> ubd1=3D/home/test/swap ubd2=3D/home/test/storage.test eth0=3Dtuntap,teste=
th0
> umid=3Dtest
>
> ##########################################end
>
> #####################################adduser test2
> tunctl -u test2 -t test2eth0
> ifconfig test2eth0 0.0.0.0 promisc up
> brctl addif mybr test2eth0
> screen -m -d -S test2 linux mem=3D512M ubd0=3D/home/test2/root_fs.cow
> ubd1=3D/home/test2/swap ubd2=3D/home/test2/storage.koobi eth0=3Dtuntap,te=
st2eth0
> umid=3Dtest2 #####################################end
>
>
> =3D=3D=3D=3D=3D=3D=3D 2005-04-30 04:58:34 =E6=82=A8=E5=9C=A8=E6=9D=A5=E4=
=BF=A1=E4=B8=AD=E5=86=99=E9=81=93=EF=BC=9A=3D=3D=3D=3D=3D=3D=3D
=2D-=20
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
|