Networking

Info on Networking...

Host Networking on VirtualBox

This is how I got host networking for VirtualBox and have it setup to use bridging on FedoraCore 6 host. This allows for two way traffic between the host and the guest. You will need bridge-utils and uml-utilities.

The first step is to configure the host with a bridge and a tap device. With this only the bridge will get an IP address and not the ethX nor the tapX device.

I am using dhcp to assign the IP addresses so the basic commands on the host are as below and can be put in the rc.local file for it to come up on boot:

# VirtualBox Bridging

# load the tun module
modprobe tun

# Create a tap device with permission for the user running vbox
tunctl -t tap0 -u {user}
chmod 666 /dev/net/tun

# Bring up ethX and tapX in promiscuous mode
ifconfig eth0 0.0.0.0 promisc
ifconfig tap0 0.0.0.0 promisc

# Create a new bridge and add the interfaces to the bridge.
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0

# Give the bridge a dhcp address.
dhclient br0

You should now be able to use host networking in VirtualBox, just change "attached to" to "host interface" and add the interface name of "tap0" in your networking settings for the guest.

Notes:

If you're using a firewall on your host, make sure to turn it off when testing network setup.
I have had success with using APF as firewall which seems compatible with bridging.

References:

  1. VirtualBox
  2. Bridge
  3. uml-utilities
  4. 2.6.6 UML setup

Change your Network card MAC ( Media Access Control) address Using macchanger

Media Access Control address, a hardware address that uniquely identifies each node of a network. In IEEE 802 networks, the Data Link Control (DLC) layer of the OSI Reference Model is divided into two sublayers: the Logical Link Control (LLC) layer and the Media Access Control (MAC) layer. The MAC layer interfaces directly with the network medium.Consequently, each different type of network medium requires a different MAC layer. On networks that do not conform to the IEEE 802 standards but do conform to the OSI Reference Model, the node address is called the Data Link Control (DLC) address.

Network Bandwidth Monitoring Tools

This is list of Network Bandwidth Monitoring Tools for Ubuntu Users includes bmon bwbar,bwm,bwm-ng,iftop,iperf,ipfm speedometer,cbm,ibmonitor,pktstat,mactrack,MRTG,Cacti.This tutorial also contains how to install and configure each tool with examples and screenshots.This is very useful for all Linux users and admins

Read Full article here

Debian Networking Tutorial for Beginners and advanced users

This is detailed step step debian networking tutorial for Beginners and advanced users.This includes Configuring your network using GUI,Command line,using ifconfig with examples and troubleshooting your network tips.

Read Full article here

Syndicate content
Comment