Re: CentOS7 Minimal installation on Vmware missing network interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 31/08/14 02:15 PM, reynierpm@xxxxxxxxx wrote:
> Hi there, I'm playing with CentOS 7 (don't know if it's recommended at all
> have this one as a development server as maybe is not stable enough yet)

This is something of a loaded question and also quite dependent on what 
you are doing. If the server is very critical, I would probably wait 
until 7.1 or 7.2. If the server is not very critical, then sure, use EL7 
and start learning it (and report bugs! :) ).

> and I installed it on a Vmware VM with two network interfaces: one as a
> bridged connected directly to the physical network and replicating the
> network state and the second one as a host only interface (the one I use to
> manage the VM) so after I got the CentOS installed I can see the first
> interface but not the second one and I don't know how to enable it. If I
> run the command ifconfig -a this is what I see:
>
> eno16777728: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>          inet 192.168.1.112  netmask 255.255.255.0  broadcast 192.168.1.255
>          inet6 fe80::250:56ff:fe2e:e245  prefixlen 64  scopeid 0x20<link>
>          ether 00:50:56:2e:e2:45  txqueuelen 1000  (Ethernet)
>          RX packets 126  bytes 17122 (16.7 KiB)
>          RX errors 0  dropped 0  overruns 0  frame 0
>          TX packets 83  bytes 12627 (12.3 KiB)
>          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
>          inet 127.0.0.1  netmask 255.0.0.0
>          inet6 ::1  prefixlen 128  scopeid 0x10<host>
>          loop  txqueuelen 0  (Local Loopback)
>          RX packets 8  bytes 552 (552.0 B)
>          RX errors 0  dropped 0  overruns 0  frame 0
>          TX packets 8  bytes 552 (552.0 B)
>          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

If 'ifconfig -a' doesn't see it, the kernel probably doesn't, either. Do 
you see it in lspci or dmidecode? If not, I would look at the hypervisor 
for a problem.

> What I need to do in order to enable the other interface? Also how I change
> the name eno16777728 to eth0-internet without get down my server?
>
> Thanks in advace

Yes you can do it without rebooting, but it still requires taking the 
network down.

I wrote this a while ago:

https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B

It probably needs to be updated/cleaned up, but it should be good enough 
to help you.

digimer

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux