Changes between Version 2 and Version 3 of Network_tips
- Timestamp:
- May 18, 2009 1:23:35 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Network_tips
v2 v3 2 2 == Network tracing == 3 3 4 The network problem usually could be detected by log, but pcap files might talks more then other sources of information because it contains information about all packets received/send by guest. 5 To enable network tracing do the following 4 Network problems could be detected by enabling packet logging at the guest side or the host side, but using the built-in capability of !VirtualBox to create pcap files might provide even more useful information because it contains a log of really ''all'' packets received and sent by guest. 5 6 To enable network tracing do the following: 6 7 {{{ 7 # VBoxManage modify [your-vm] -nictrace[adapter-number] on -nic atracefile[adapter-number] file.pcap8 # VBoxManage modify [your-vm] -nictrace[adapter-number] on -nictracefile[adapter-number] file.pcap 8 9 # VirtualBox -startvm [your-vm] 9 10 }}} 10 11 11 e.g. 12 For example 12 13 {{{ 13 # VBoxManage modify "ubuntu" -nictrace1 on -nic atracefile1 file.pcap14 # VBoxManage modify "ubuntu" -nictrace1 on -nictracefile1 file.pcap 14 15 # VirtualBox -startvm "ubuntu" 15 16 }}} 16 17 17 '''Note:''' Don't forget to switch tracing of because your hdd will be eaten by pcap files in case of intensive network usage. The port-forwarding configuration might be affected by this setting also.18 '''Note:''' Don't forget to disable tracing because your hard disk will quickly be filled by pcap files in case of intensive network usage. The port-forwarding configuration might be affected by this setting as well.