Use tap, you'll likely have better luck. If you're going to use slirp, I would recommend forwarding individual ports as needed as it doesn't allow for incoming connections by default.
Tyler > > Hi, all. > > I have looked through all the marssx86 mail list, but I cannot connect to > the internet through the VM using below commad, > > "qemu/qemu-system-x86_64 -net nic,model=ne2k_pci -net user > ubuntu-natty.qcow2" , the "ifconfig" is as follows: > > > > > eth0 Link encap:Ethernet HWaddr 52:54:00:12:34:56 > inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 > > inet6 add > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:15 errors:0 dropped:0 overruns:0 frame:0 > TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:2404 (2.4 KB) TX bytes:2214 (2.2 KB) > Interrupt:11 Base address:0xc100 > > > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > > > My host machine network is OK. Who can give me some tips ? Thanks a lot. > > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > _______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
