Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-06-2009, 12:10 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Run ipcop inside qemu


im using the newest ipcop inside qemu. Therefore i create two nics inside the virtual machine. The vlan 1 nic (eth1 <-> tap1) is the red interface. The red interface is used for establishing a connection to the adsl modem. The connection is succesfully established but when sending any request to the internet i get no answere.

The tcpdump sniplet underneath shows network traffic: Here i send pings to the host And yes the host normally replys to pings, i verified this. I tested a lot of other host including google. No one responded.

I can, however, receive packets. But this packets are not triggered by me. When i connect i get a new ip address. The ip address was owned by another host. This host for example ran a donkey client and we call em host a. Host b waited for a download on host a and sent from time to time a request to host a. Now i have the ip address of host a and i get these request from host b. I observed this with tcpdump (see tcpdump sniplet underneat). So i can receive packets but it seems that my sent packets are never received by other hosts.

Do you have any clue whats going on there?

qemu -boot c -cdrom *.iso  -hda xp.img -net nic,vlan=0,model=rtl8139,macaddr=00:1E:8C:CC:D0:B3 -net tap,vlan=0,ifname=tap0 -net nic,vlan=1,model=rtl8139,macaddr=00:1E:8C:CC:D0:B2 -net tap,vlan=1,ifname=tap1
Network traffic in which i send pings to ( im host

17:36:25.526445 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 32529, seq 1, length 64
17:36:25.678396 802.1d unknown version
17:36:26.526198 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 32529, seq 2, length 64
17:36:27.478259 PPPoE  [ses 0x1a0b] IP >  30364+[|domain]
17:36:27.526149 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 32529, seq 3, length 64
17:36:27.687175 802.1d unknown version
17:36:28.526186 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 32529, seq 4, length 64
Network traffic in which i receive packets from host The unknown Host wants to establish a connection with me because it assumes that another host behind the ip address that i have now.

17:36:10.402173 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 31505, seq 2, length 64
17:36:10.926890 PPPoE  [ses 0x1a0b] IP > S 1036725825:1036725825(0) win 60352 <mss 1452,nop,wscale 2,nop,nop,sackOK>
17:36:11.402184 PPPoE  [ses 0x1a0b] IP > ICMP echo request, id 31505, seq 3, length 64
Old 06-07-2009, 01:19 AM   #2
LQ Newbie
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Anyone got an idea what is wrong?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I run Slackware with QEMU on Windows? asilentmurmur Slackware 2 10-29-2008 12:59 PM
qemu with ipcop xaos5 Linux - Software 7 08-27-2008 01:41 PM
Can't run belenix on qemu eantoranz Linux - Software 7 03-07-2008 05:38 PM
Can IPCop do inside,outside NAT? chort Linux - Networking 0 07-01-2003 06:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration