Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I have installed Redhat 9 under vmware (3.2). i am trying to get the machine networked. i am unable to get eth0 activated. My Router BEFSX41 is acting as a DHCP server. I have plugged PC into port 1 of router. My broadband connection is plugged into the WAN connection. How do i get the eth0 to pick up addresses from the DHCP Server.
more info pls:
1. which platform you used (linux) for VMware?
2. why do you want to use dhcp from router? VMware usually uses their own dhcp (remeber that NIC of virtual machine is not the same as eth of the phisical box)
3. did you allowed the packet forwarding (iptables on linux, internet connection sharing on win)?
Finally someone with the same problem !
I have been working on same problem, for 2 days now, I began by upgrading a RH8 in the VMAware 3.2 it ggave the same result. I have now got a patch for VMware Utils, but can't get it 2 work
If I give an fixed IP to it, it starts eth0 but the dhcp doesnt recognized the machine and it will not get into the intranet also
any luck by now ?
I am using VMvare on linux platform without any troubles. I could help you buy be more specific and say more about chosen configuration.
What kind of networking have you choosen (Bridged , Network Address Translation (NAT) or Host-Only)?
thx everyone for your help. i am in the same predicament as aero eth0 starts up if i assign it a static ip but won't if i use DHCP. Using bridged networking. I am using windows XP with RH9 running in virtual machine
yeh precisely what I have, I think the driver wont work in RH9, maybe because of the new kernel, I think there is a new VMware 4 Beta available for beta test I think I'll give it a try, meanwhile I'll try to compile the driver that came with the patch if you want I can send the patch to you is only 150k. send me yr e-mail via pm
I have the same problem. Some comments:
1. I have VMWare 4.0 (already upgraded from 3.2 to 4.0 for 99$ ) running on win2k. The problem arises as well.
2. I am using NAT on VMNet8.
3. Running dhclient as root from a console will correctly get DHCP info even if the eth0 interface is inactive and using vnetsniffer on vmnet8 you can see packets. Once dhclient used, DHCP packets are properly sent to DHCP server, although eth0 is down.
4. And as usually, static assignment works.
VMware won't actually be able to pickup an IP from the DHCP server unless you have an extra IP for it to pick up. You have to think of your guest OS as a second machine which is using your Host OS as the router.
Go into your network configurations for the RH 9 Virtual Machine and select Network Address Translation (NAT). This has to be set with the VM powered off. This will make your Host OS assign an local network IP address to your guest OS. Your guest OS can then piggy back on the host's internet connection.
Originally posted by bigkuba Running dhclient as root from a console will correctly get DHCP info even if the eth0 interface is inactive and using vnetsniffer on vmnet8 you can see packets. Once dhclient used, DHCP packets are properly sent to DHCP server, although eth0 is down
What is strange in that and why you are confused?
You have got 3 i/f: lo, eth0 and vmnet8 at linux box. The vmnet8 is virtual interface but acts like phisical inteface. It is 'connected' to virtual switch. This 'switch' is created along with vmnet8 and connects virtual DHCP server and virtual machine inteface. So if you run dhclient and ask for ip you get the answer. See man dhcp: "If no interface names are specified on the command line dhclient will normally identify all network interfaces"
RVK: I am using NAT and DHCP server is my host machine. I am able to handle advanced DHCP setting for VMWare DHCP server in vmnetdhcp.conf (I was able to configure it for full DHCP support for Solaris9). The problem is (looking through vnetsniffer) that RH 9 sends no packets through interface eth0, until you've made static assignment.
Thanks for the input, unfortunatly, If I give the Static IP, it will start eth0, but it wont connect and neither My dhcp server (Linksys Router) will register that Ip, and ofcourse nothing will go out or come in from the ethernet or internet.
I hoped that ver4 would come with another driver for the virtual linux machine, but it seems it won't. My RH8 virtual machine is working very well and i didn't had to bother with ip setings. I think the driver isn't compatible with RH9
The solution for the problem can be found on news.vmware.com in vmware.guest.linux forum.
Shortly, it is bug in kernel Bad luck Fortunately, there is a solution (copied from the news server):
> I've had problems getting bridged or natted networking working with Redhat 9 and VMWare 4460.
> RH9 includes link status detection using (I think) `ethtool eth0` in the ifup script. This command always states that the network link is not connected for the VMWare Adapters.
> Commenting out this code in network-functions (grep for ethtool) seems to solve the problem and the adapter initialises and gets an address from DHCP.
> Looks like a bug somewhere.....
In Linux kernel. Currentl AMD PCnet driver simple cannot return 'link present' on hardware VMware emulates.
On Mandrake 9.1 add
On RedHat 9 add
to the same file (just write it as is, Redhat fortunately allows functions in their config files...).