1
I am newbie in networking and virtual box configuration, I have spent several days dealing with this problem. My goal is to get Bridged network working.
When I try to UP interface in my Virtual Box VM, it tries some DHCPDISCOVER
messages, but eventually I get No DHCPOFFERS
received.
I find where is the problem.
On my host machine I have following network interface configuration (interface I want to have bridge with).
HWADDR=5c:9a:d8:68:45:ff
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp3s0
DEVICE=enp3s0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=195.XX.YY.ZZ
NETMASK=255.255.255.0
NETWORK=195.XX.YY.0
GATEWAY=195.XX.YY.GGG
BROADCAST=195.XX.YY.255
DNS1=195.XX.YY.DDD
DNS2=8.8.8.8
DOMAIN=some.domain.com
So configuration is static.
If use BridgedAdapter on interface that in turn uses dhcp to get access to the Internet everything works great. as expected.
I guess that I have missed something or configuration should be done in another way, to be honest, I don't really understand how bridged network works internally.
Maybe problem can easily solved, but have not enough knowledge know to fix it by myself, so I am asking here.
Please help to solve this problem. Thanks everyone in advance for any help
Your interface enp3s0 (Fedora or Arch?) has a public IP, and your gateway and network all belong to the public domain. It is quite possible that there is no dhcp server. Have you tried to get an IP address from dhcp on enp3s0, outside VirtualBox? – MariusMatutiae – 2015-05-26T17:15:12.617
There is no dhcp in my public network, how can I configure bridge with this configuration ? – CROSP – 2015-05-27T01:40:42.117