Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-21-2009, 04:34 AM
|
#1
|
|
Member
Registered: Aug 2007
Location: Perth, Australia
Distribution: RHEL 5 + 4.5, Fedora
Posts: 88
Rep:
|
Centos in VMware no network access
hi guys, long time no see.
im trying to set up a test machine in VMware Server, running CentOS (with asterix)
local IP's assigned:
Code:
Connection-specific DNS Suffix . : mycompany.local
Description . . . . . . . . . . . : Broadcom 440x 10/100 Integrated Controlle
r
Physical Address. . . . . . . . . : 00-1C-23-A8-F3-AB
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::217b:8670:4d4:8e81%11(Preferred)
IPv4 Address. . . . . . . . . . . : 10.x.x.112(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, 21 October 2009 11:04:36 AM
Lease Expires . . . . . . . . . . : Tuesday, 27 October 2009 12:31:21 PM
Default Gateway . . . . . . . . . : 10.x.x.2
DHCP Server . . . . . . . . . . . : 10.x.x.20
DHCPv6 IAID . . . . . . . . . . . : 234888227
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-5B-2A-92-00-1C-23-A8-F3-AB
DNS Servers . . . . . . . . . . . : 10.x.x.20
10.x.x.21
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::9141:d2bf:3c7a:d139%19(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.177.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, 21 October 2009 4:54:43 PM
Lease Expires . . . . . . . . . . : Wednesday, 21 October 2009 5:24:42 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.177.254
DHCPv6 IAID . . . . . . . . . . . : 486559830
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-5B-2A-92-00-1C-23-A8-F3-AB
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7ce2:bbe7:97da:6625%21(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.60.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, 21 October 2009 4:54:58 PM
Lease Expires . . . . . . . . . . : Wednesday, 21 October 2009 5:24:57 PM
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.60.254
DHCPv6 IAID . . . . . . . . . . . : 520114262
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-12-5B-2A-92-00-1C-23-A8-F3-AB
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
Primary WINS Server . . . . . . . : 192.168.60.2
NetBIOS over Tcpip. . . . . . . . : Enabled
what do i set the ip address etc to in the centos box? the dhcp doesnt work. im very confused, and if you need more info, please let me know
oh, and i have installed VMware tools (but dont know if i need to configure it)
|
|
|
|
10-21-2009, 11:06 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,805
|
Currently you have Vmnet 1 and 8 available so unless you route between networks traffic won't go anywhere. The easiest would be to configure the guest in VMWare to use "bridge" mode then configure the guest itself to use 'dhclient'. This way the guest will be able to get an IP from your LAN DHCPd like any other LAN machine.
|
|
|
|
10-21-2009, 11:54 PM
|
#3
|
|
Member
Registered: Aug 2007
Location: Perth, Australia
Distribution: RHEL 5 + 4.5, Fedora
Posts: 88
Original Poster
Rep:
|
i set the network adapted to bridged in VM Server, and used system-config-network to set DHCP, then did service network restart, and it says "Determining IP configuration for eth0... failed."
also, when i set manual IP, i can connect using ssh & telnet from the host machine, but cant get the linux VM to contact outside addresses
i just ran dhclient, and it came back with "no dhcpoffers received", however i do use a dhcp server...
Last edited by Astol; 10-22-2009 at 12:03 AM.
|
|
|
|
10-22-2009, 04:20 PM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,805
|
Quote:
Originally Posted by Astol
i set the network adapted to bridged in VM Server, and used system-config-network to set DHCP, then did service network restart, and it says "Determining IP configuration for eth0... failed." also, when i set manual IP, i can connect using ssh & telnet from the host machine, but cant get the linux VM to contact outside addresses. i just ran dhclient, and it came back with "no dhcpoffers received", however i do use a dhcp server...
|
That information does not contain enough information to help us help you. We would need to know the address the DHCP server is at, the contents of the /etc/sysconfig/network-scripts/*eth* configuration file, if the DHCP server blocks unknown MAC addresses from getting a lease, any (error) output. In short: we need factual information not descriptions.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|