Op dinsdag 11 maart 2014 14:25:09 schreef lux-integ: > Greetings, > > I am new to this list and VirtualBox. > > I have a setup with these. > > --cpu amd64 3 cores, 8Gbytes RAM, single ethernet Interface > --Host OS; Feroda20 (linux-3.11.something), VirtualBox-4.3.8 > --Guest (for virtualBox) Fedora19 > > I am attempting to enable bidge-networking. The host sees the adapter as > p5p1 -by using the ifconfig command. > > > When I start the VM and do ifconfig I see a device called p2p1 ( not p5p1 > as with the host ) and with a different mac-address from the host. > There is no ipv4 address but an ipv6 multicast address begining with > fe80::. If I set an ipv4 ipaddress manually (by ifconfig p2p1 > someIPv4adress up ); I ( unexpectedly ) cannot ping between the host > and the VM. > > I do not know if I need to have an ipv4-enabled-dhcp server on the host > before I start the VM ( or whatever ) to get bridge-based (ipv4) > networking organised on fedora20 host and fedora19 guest in VirtualBox.
When using bridge-networking it looks as if your interface has two MAC- addresses, one used in the host and one used in the guest. Your Ethernet interface is enabled to take all packages (promiscuous mode) and the filtering for the right MAC address is done in the host. The MAC address used for the guest is more or less randomly chosen when initializing the guest. You can change the address when (re)configuring the guest in the host. The name of the interface is chosen based on the hardware position of the interface. In the guest it is based on the virtual hardware position, so it is quite possible to have another name than the interface in the host. The IP address of your host is apparently a fixed address, so you do not use a DHCP server in your network. In case you do not have a DHCP server in your network, apparently you do not have one, you have to configure the same type of parameters in your guest as in your host. Logically you have two separate systems in your hardware, which need both the same type of configuration. So you need to configure, without a DHCP server, the IP address, the netmask, the default gateway and the DNS address(es) in both the guest as in the host. Obviously the IP addresses of the host and the guest must be different, but part of the same subnetwork. -- fr.gr. Freek de Kruijf ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe