2

I have virtual box with RHEL installed. My virtual box is running on windows 7 64 -bit. I configured bridged connection, but when I am restarting network interfaces, I receive following error:

Determining IP information for eth1... failed

On Windows XP it works without problems. I disabled Windows Firewall and installed latest Virtual Box, still without success.

NAT is working without any problems. What did I missed?

UPDATE

Ouput of ifconfig -a is:

eth0      Link encap:Ethernet  HWaddr 08:00:27:B6:FC:69
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:feb6:fc69/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:36520 (35.6 KiB)  TX bytes:31455 (30.7 KiB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:C3:84:4A
          inet6 addr: fe80::a00:27ff:fec3:844a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1464 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:135419 (132.2 KiB)  TX bytes:4230 (4.1 KiB)

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:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Output of route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         10.0.2.2        0.0.0.0         UG    0      0        0 eth0

Output of dhclient -v eth1 is:

Listening on LPF/eth1/08:00:27:c3:84:4a
Sending on   LPF/eth1/08:00:27:c3:84:4a
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6 (xid=0x6afb6c4c)
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9 (xid=0x6afb6c4c)
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15 (xid=0x6afb6c4c)
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18 (xid=0x6afb6c4c)
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13 (xid=0x6afb6c4c)
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Moreover the same machine with the same configuration works well on Windows XP. The problem is only on Windows 7.

15
  • Did you perhaps perform the installation on NAT? I know I've done that a few times and then had to reconfigure the network because the bridged adapter settings are different. I don't know 100% sure about Redhat but many distributions, especially those intended for servers, will set you up with a static IP to begin with.
    – Dylan
    Dec 16, 2013 at 16:23
  • How many adapters do you have? Why do you say: when I restart networking...? Do you mean to say it works when you start up the VM? Dec 16, 2013 at 17:49
  • @Dylan with NAT everything is ok. Dec 17, 2013 at 9:20
  • @MariusMatutiae No it doesn't. I tried to restart network service to see what is wrong. Dec 17, 2013 at 9:20
  • Can you pls post the output of ifconfig -a , and of route -n, in the guest? Dec 17, 2013 at 11:21

1 Answer 1

3

The problem was not with my machine, but my company DHCP server, which block more than one mac on port. It took me two days to find out that problem was "outside" my machine

1
  • In my case it was a corporate network devices configuration - they had to "whitelist" MAC of my virtual machine "somewhere in the network". Not sure where, but for sure it helped! Apr 6, 2016 at 15:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .