On Thursday 06 April 2006 13:53, maheswar reddy wrote: > host# ifconfig eth0 0.0.0.0 promisc up > OR > host# ifconfig eth0 0.0.0.0 promisc up > > when i used to give either of above ,system is hanging.
On the host? Strange. Setting eth0 as 0.0.0.0 is not what you want, but it shouldn't hang (except if you're accessing it over ssh since the connection falls down, but that's not the case, right?) > eth0 is already enable in my pc as 192.168.12.2 . > what is promisc mode ? how can i enable / disable ? man ifconfig -> * enable: ifconfig eth0 promisc * disable: ifconfig eth0 -promisc * what it is: the interface doesn't discard the packets arriving to it but directed to other IPs. Only used for sniffers, which already set it promisc by themselves, so you almost never use this command. > uml_switch -unix -hub -tap tap0 > > PC is hanging What's "PC is hanging"? That command isn't supposed to return to the shell, but it's not hanging. There are tricks to make it return to the shell, see docs. > what is wrong here ? how xcan i connect host tap device 2 uml > eth0 device ? http://user-mode-linux.sourceforge.net/networking.html http://uml.harlowhill.com/ I won't retype it here. Or if you want I'll cut & paste it here. Or if there is _something_ unclear, say what it is and we'll hopefully correct that. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user