Hi,
Configured VM on VirtualBox, used DHCP to for the network, not showing ipv4 address when use ifconfig, plz find the following information for reference for the issue ans also find the network settings for VM from virtual box console(attachment).
The ifconfig output:
blips-server@localhost ~]$ ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::b279:f78cfbe1 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:b2:81:35 txqueuelen 1000 (Ethernet)
RX packets 37 bytes 5105 (4.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 60 bytes 5574 (5.4 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 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
******************************************************************************
the file contents from /etc/sysconfig/networ-scripts/ifcfg-enp0s3
Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s3
UUID=d702eae4-948e-4a09-bbed-dd34b0f6b6c7
DEVICE=enp0s3
ONBOOT=yes
IPV6_PRIVACY=no
Thanks, in advance for the help.
Not Sowing IPV4 Addess for ifconfig, the VM created on Virtual Box
-
- Posts: 1
- Joined: 2019/10/24 17:42:16
Not Sowing IPV4 Addess for ifconfig, the VM created on Virtual Box
- Attachments
-
- VM-netwrok-setting.PNG (58.15 KiB) Viewed 1175 times
Re: Not Sowing IPV4 Addess for ifconfig, the VM created on Virtual Box
What's that then? Looks like an ip address to me...inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke