Link to home
Start Free TrialLog in
Avatar of chalie001
chalie001

asked on

no IP IN VIRTUAL box

hi i just install vm using vm ware am not geting the ip when i start its oracle linux vm
User generated image
this my setting
User generated image
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

first, this is not virtual box; you are running linux in vmware player
second, where do you expect to get your IP address from?  is there DHCP somewhere? is there a static address configured?
you have an IP 192.168.122.1
You are bridging and set the mimic the host network.

Why are you bridging instead of choosing the custom option?
Avatar of chalie001
chalie001

ASKER

What option must I choose I did not configure static ip I did not enter up when creating vm
Choose custom, specific virtual vmnet0
i still dont have IP
User generated imagepackets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[USERNAMEahubvm ~]$ ifdown enp0s3
usage: ifdown <configuration>
[USERNAEMEahubvm ~]$ ifup enp0s3
/usr/sbin/ifup: configuration for enp0s3 not found.
Usage: ifup <configuration>

User generated image
Did you reboot the VM?

Note, you still have the virbr0 listed. It still reflects the network as bridged.

Did you reboot the vm?
Where bridged I choose custom check image
I did reboot
Was the guest setup for DHCP? or APIPA? is it valid on your network.
Was networking enabled in the guest?

(With bridged traffic check if you can capture some broadcast traffic on the adapter from the inside with tshark, tcpdump, wireshark  etc. )
Any firewall settings on the guest that is blocking DHCP etc.?

Also the bridged adapter on the host does have a working connection?
make sure when the vm is powered off, check both the connected and connect at power

you may have to go and check the /etc/networking/

oracle uses redhat as the base?

seems odd that it gets an IPv6 IP but not an IPV4 on the same interface
I still see the ipv4 address 192.168.122.1
192.168.122.1 is not ip what must i check you may have to go and check the /etc/networking/ there is also no internat in vm
The IP is in the Virbr0 interface which I think points to the bridged setting.
When you were making VM settings changes was the VM off?

Create a new VM and see if you get sonething different.  How many network interfaces did you setup in the VM?
ASKER CERTIFIED SOLUTION
Avatar of Narendra Kumar S S
Narendra Kumar S S
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
And see if you can run these commands:
ip link set dev enp0s3 up
dhclient -v enp0s3

You should execute the above commands inside your vmware guest os (Oracle Linux VM).
Execute 'ifconfig -a' before executing the above commands and after completion of above commands, and show us the o/p.
how do i enable NAT ip is dhcp
In the Network Adapter, instead of 'bridged', select 'NAT'.
NAT stands for "Network Address Translation".
You can read about it here: https://docs.vmware.com/en/VMware-Workstation-Pro/16.0/com.vmware.ws.using.doc/GUID-D9B0A52D-38A2-45D7-A9EB-987ACE77F93C.html
The above page has links to help you configure it.
The image depicting the choice reflects a tie-in as a virtual adapter.
The issue the bridged verbr0 is still reflected.
Potentially it is an /etc/networking
A reconfig to clear devices.

Check the host settings, virtual switch an vmnet0