LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oracle Linux server 6.2 will work on Hyper-V (https://www.linuxquestions.org/questions/linux-newbie-8/oracle-linux-server-6-2-will-work-on-hyper-v-4175675651/)

ajithborra 05-21-2020 08:04 AM

Oracle Linux server 6.2 will work on Hyper-V
 
Hi all,

I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use.

Please help me on this.

TB0ne 05-21-2020 08:21 AM

Quote:

Originally Posted by ajithborra (Post 6125666)
Hi all,
I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use. Please help me on this.

The latest version is 8.x....why are you installing something so old? And why Oracle Linux??? Unless you're paying for it, and *NEED* to run an Oracle database (which is NOT free), there are better choices.

Beyond that, unless you enable the virtual network adapter to be shared, you will NEVER get an address to anything but the guest machine. Go under "Action->Virtual Switch manager", and set things up according to the documentation.

ajithborra 05-21-2020 09:37 AM

@TB0ne
Hi TB0ne,

I know that i can use latest version but as per my company requirement i have to install 6.2 only and I configured Virtual Switch Manager as per the documentation but its not working and the same is working for Linux other versions and it is working fine.

MadeInGermany 05-21-2020 09:50 AM

Does
Code:

ifconfig -a
show a NIC? ?

dc.901 05-21-2020 10:02 AM

Quote:

Originally Posted by ajithborra (Post 6125666)
Hi all,

I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use.

Please help me on this.

Did you check:
- default gateway
- DNS entries in resolv.conf

Some companies require NAC agent to be installed, do you have this requirement?

TB0ne 05-21-2020 10:12 AM

Quote:

Originally Posted by ajithborra (Post 6125704)
I know that i can use latest version but as per my company requirement i have to install 6.2 only and I configured Virtual Switch Manager as per the documentation but its not working and the same is working for Linux other versions and it is working fine.

I find it hard to believe that your 'company requirement' is to use something old with well-known vulnerabilities. Again, WHY do you need this particular version??? Oracle can run on many versions of Linux...why OEL 6.2? And again, are you PAYING for your use of Oracle??? Are you even running an Oracle database???

And saying "not working" doesn't give us anything to go on. What documentation did you follow? What other versions of Linux are working? Have you compared the two? What network interfaces do you have available?

berndbausch 05-21-2020 10:40 AM

Quote:

Originally Posted by ajithborra (Post 6125666)
After installation Guest OS is not getting internet from static ip.

Do you mean DHCP? If so, run the dhclient on the guest manually. If you get nothing from the DHCP server, the Hyper-V network configuration or DHCP server configuration must be the culprits.
If you get a response from the DHCP server, the error is in the Linux configuration.

Or do you mean a static IP address set in an ifcfg file?

Could there be a problem related to NetworkManager?

In any case, share the guest's network configuration.


All times are GMT -5. The time now is 08:31 PM.