Solved

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

Posted on 2010-09-18
8
1,303 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
 
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup Exec Failure 3 50
Vmware PowerCLI script 4 71
virtualization 6 64
DHCP Server 14 67
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

861 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now