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 
smarter people around on this subject...

Maybe you can find them on the #uml IRC channel. Also there are various 
resources / HOWTO about networking, which you'll be able to find by searching 
the archives (I've also collected a few links on my site, including the one 
to the UML wiki).
>     . a few days ago ,i  send a 
> 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=256M ubd0=/home/test/root_fs.cow
> ubd1=/home/test/swap ubd2=/home/test/storage.test eth0=tuntap,testeth0
> umid=test
>
> ##########################################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=512M ubd0=/home/test2/root_fs.cow
> ubd1=/home/test2/swap ubd2=/home/test2/storage.koobi eth0=tuntap,test2eth0
> umid=test2 #####################################end
>
>
> ======= 2005-04-30 04:58:34 æåæääåéï=======

-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to