Hi,
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 62.109.123.197. 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?
Code:
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 62.109.123.197 ( im host 85.181.32.24)
Code:
17:36:25.526445 PPPoE [ses 0x1a0b] IP 85.181.32.24 > 62.109.123.197: 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 85.181.32.24 > 62.109.123.197: ICMP echo request, id 32529, seq 2, length 64
17:36:27.478259 PPPoE [ses 0x1a0b] IP 85.181.32.24.57448 > 62.109.123.197.53: 30364+[|domain]
17:36:27.526149 PPPoE [ses 0x1a0b] IP 85.181.32.24 > 62.109.123.197: 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 85.181.32.24 > 62.109.123.197: ICMP echo request, id 32529, seq 4, length 64
Network traffic in which i receive packets from host 85.181.195.82. The unknown Host 85.181.195.82 wants to establish a connection with me because it assumes that another host behind the ip address that i have now.
Code:
17:36:10.402173 PPPoE [ses 0x1a0b] IP 85.181.32.24 > 213.191.89.8: ICMP echo request, id 31505, seq 2, length 64
17:36:10.926890 PPPoE [ses 0x1a0b] IP 85.181.195.82.1655 > 85.181.32.24.135: S 1036725825:1036725825(0) win 60352 <mss 1452,nop,wscale 2,nop,nop,sackOK>
17:36:11.402184 PPPoE [ses 0x1a0b] IP 85.181.32.24 > 213.191.89.8: ICMP echo request, id 31505, seq 3, length 64