Dear Experts,
I am trying to configure IP ADDRESS for my virtual machine.
As Oracle DBA, i am struggling to understand LINUX 7.
do we need to use setup command to configure IP ADDRESS ?
[root@dgp ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.9 (Maipo)
[root@dgp ~]# uname -a
Linux dgp 5.4.17-2102.201.3.el7uek.x86_64 #2 SMP Fri Apr 23 09:05:55 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@dgp ~]# ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.227.128 netmask 255.255.255.0 broadcast 192.168.227.255
inet6 fe80::6ad2:a23:ff48:a3f5 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:38:e4:7b txqueuelen 1000 (Ethernet)
RX packets 716761 bytes 1021165063 (973.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 244447 bytes 14860901 (14.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens34: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0c:29:38:e4:85 txqueuelen 1000 (Ethernet)
RX packets 51 bytes 5358 (5.2 KiB)
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
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 228 bytes 17380 (16.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 228 bytes 17380 (16.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:bf:57:79 txqueuelen 1000 (Ethernet)
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
[root@dgp ~]#