LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how are network cards represented on a vm? (https://www.linuxquestions.org/questions/linux-newbie-8/how-are-network-cards-represented-on-a-vm-4175613218/)

sigint-ninja 09-04-2017 08:24 AM

how are network cards represented on a vm?
 
if im running a vm of centos7
in my /etc/sysconfig/network-scripts what is the file representing
my wifi card or ethernet card?

thanks

jsbjsb001 09-04-2017 08:31 AM

Quote:

Originally Posted by sigint-ninja (Post 5755446)
if im running a vm of centos7
in my /etc/sysconfig/network-scripts what is the file representing
my wifi card or ethernet card?

thanks

The virtual machine software presents "virtual network adapters" (fake network cards) to the VM, therefore the OS installed within the VM, thinks the "represented" network interface(s), are real network interface/cards/hardware.

The naming of the network interfaces in a VM, is the same as on a real PC, as far as I know.

Have a look at the following for more info;

https://www.virtualbox.org/manual/ch06.html

jefro 09-05-2017 04:26 PM

I assume above is correct.

Just to be positive maybe post a few bits of information. Are you using any sort of pass through? Usb or pci? The vm choice may help too. Also might as well tell us bridged or nat?

Ztcoracat 09-05-2017 08:15 PM

One way to find out is to run this cmd and see what the output reveals:-

Code:

lspci | grep -i network
OR just read through the output of lspci.

Are you using Virtual Box or some other VM?

https://www.vmware.com/support/ws55/...vadapters.html


All times are GMT -5. The time now is 04:55 PM.