I have a VB VM as a local repo for packages used by my server and test machines. The host (PCLinuxOS) is configured as follows:
(LAN IP address munged) and the guest on tap6 with bridged networking using the emulated Intel 8254OEM adapter. Iptables is used on the host to forward packets to and from the VM. This worked well on 11.4 and mostly works on 13.0.
However, on upgrading to 13.0 yesterday I had great difficulty updating and reinstalling packages on my machines because when downloading packages by http from the VM, every few files the connectivity from the VM would drop. There were no error messages, but communication between the VM and the rest of the network would stop until I issued
I have tried changing the network adapter in VB but nothing other than the current card will work. Paravirtualisation fails, possibly because as a build and serve packaging machine it does not have Guest Additions installed since X is not used.
In the absence of error messages it's difficult to know how to troubleshoot this problem.
Code:
]$ /sbin/ifconfig
br0 Link encap:Ethernet HWaddr 1A:D3:64:EC:9D:3A
inet addr:10.0.2.100 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::f1:c1ff:fe34:7c22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:271 errors:0 dropped:0 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25182 (24.5 KiB) TX bytes:33729 (32.9 KiB)
eth0 Link encap:Ethernet HWaddr FC:AA:14:94:8B:14
inet addr:192.168.1.xx Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::feaa:14ff:fe94:8b14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:477832 errors:0 dropped:0 overruns:0 frame:0
TX packets:256791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:400610989 (382.0 MiB) TX bytes:119935506 (114.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5807 (5.6 KiB) TX bytes:5807 (5.6 KiB)
tap0 Link encap:Ethernet HWaddr 6A:09:69:99:B8:EC
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap1 Link encap:Ethernet HWaddr 1A:D3:64:EC:9D:3A
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap2 Link encap:Ethernet HWaddr FE:97:FD:6B:4C:ED
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap3 Link encap:Ethernet HWaddr 2A:73:44:CD:20:B2
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap4 Link encap:Ethernet HWaddr AE:5A:8E:34:A8:03
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap5 Link encap:Ethernet HWaddr FE:63:A5:2C:D8:0C
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap6 Link encap:Ethernet HWaddr DA:E0:CD:E5:1F:C3
inet6 addr: fe80::d8e0:cdff:fee5:1fc3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:329 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap7 Link encap:Ethernet HWaddr 9A:80:1E:FA:01:66
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Code:
]# ifconfig
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER,NOMAP>
ether 08:00:27:db:c2:15
inet 10.0.2.161 netmask 0xffffff00 broadcast 10.0.2.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
However, on upgrading to 13.0 yesterday I had great difficulty updating and reinstalling packages on my machines because when downloading packages by http from the VM, every few files the connectivity from the VM would drop. There were no error messages, but communication between the VM and the rest of the network would stop until I issued
init 1
and exited, which would restart the network. It would then be possible to download a few more packages to the local machine before the VM lost networking again. It is as if the VM chokes on uploading large files to the machine requesting them.I have tried changing the network adapter in VB but nothing other than the current card will work. Paravirtualisation fails, possibly because as a build and serve packaging machine it does not have Guest Additions installed since X is not used.
In the absence of error messages it's difficult to know how to troubleshoot this problem.