Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Trying to set up bridged networking in redhat linux guest vmware image

Posted on 2010-09-18
8
Medium Priority
?
1,338 Views
Last Modified: 2012-05-10
I have a guest redhat linux 5.1 image that was set up for NAT but I want to switch it to bridged so that I can access the image from another remote physical machine. However no ip address gets assigned (ip address is assigned just fine to the physical host) and when I go into the Network Configuration gui the eth0 device is shown as inactive and I'm unable to activate it.
0
Comment
Question by:opike
  • 4
  • 3
8 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 33707999
Any error in /var/log/messages? You could try deleting the adapter and then creating a new adapter and configure that, though you really shouldn't have to. What VMware product? Workstation? What version?
0
 

Author Comment

by:opike
ID: 33708201
It's vmware player 3.1.1.

This is what gets written to /var/log/messages when I try to activate eth0:

Sep 17 20:41:53 oracleepm kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 17 20:41:55 oracleepm kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sep 17 20:41:55 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 17 20:41:56 oracleepm avahi-daemon[3872]: New relevant interface eth0.IPv6 for mDNS.
Sep 17 20:41:56 oracleepm avahi-daemon[3872]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::20c:29ff:fecb:c268.
Sep 17 20:41:56 oracleepm avahi-daemon[3872]: Registering new address record for fe80::20c:29ff:fecb:c268 on eth0.
Sep 17 20:41:58 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 17 20:42:01 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 17 20:42:04 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 17 20:42:12 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Sep 17 20:42:29 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
Sep 17 20:42:42 oracleepm dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Sep 17 20:42:59 oracleepm dhclient: No DHCPOFFERS received.
Sep 17 20:42:59 oracleepm dhclient: Trying recorded lease 192.168.2.9
Sep 17 20:42:59 oracleepm avahi-daemon[3872]: New relevant interface eth0.IPv4 for mDNS.
Sep 17 20:42:59 oracleepm avahi-daemon[3872]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.2.9.
Sep 17 20:42:59 oracleepm avahi-daemon[3872]: Registering new address record for 192.168.2.9 on eth0.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Withdrawing address record for 192.168.2.9 on eth0.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.2.9.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: iface.c: interface_mdns_mcast_join() called but no local address available.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Interface eth0.IPv4 no longer relevant for mDNS.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Interface eth0.IPv6 no longer relevant for mDNS.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::20c:29ff:fecb:c268.
Sep 17 20:43:03 oracleepm avahi-daemon[3872]: Withdrawing address record for fe80::20c:29ff:fecb:c268 on eth0.
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33708778
Make sure the connect at power on is checked
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
LVL 7

Expert Comment

by:darrickhartman
ID: 33711489
If you want to change the vmware networking options for the guest, make sure the host pc supports this change.  You may have set up the host pc to only support NAT.  If that's the case, you'll need to re-run the vmware-config.pl script and change the networking options on the host.

After you've done that, you'll need to restart the vmware service on the host, then make any changes to your guests.
0
 

Author Comment

by:opike
ID: 33744992
I'm running player on a host pc running windows. I wasn't able to find a vmware-config script.
0
 
LVL 28

Accepted Solution

by:
bgoering earned 2000 total points
ID: 33747710
Yeah, vmware has removed the virtual network editor in player so it is a bit inconvinient. What you will need to do is first shut down your vm and close it in player, then browse to and open the machinename.vmx file in an editor and change the parameters there,

Changed connection type from whatever it is (or add this line if missing) to
ethernet0.connectionType = "bridged"

Same for:
ethernet0.vnet = "vmnet0"

It will need to specify vmnet0 from bridged.

Open the vm back up in player and it should be on bridged

Good Luck
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33747733
On further reflection you probably won't need the ethernet0.vnet parm - I think that is only for network type of custom
0
 

Author Comment

by:opike
ID: 33862708
Still working on this...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question