dear all.
I am configuring oracle Linux 6.5 on virtual-box. i downloaded the yum utilities and downloaded the oracle-preinstall packages.
When i try to make changes in n/w the two ip eth0 and eth2 gets changes their ip address.
DEVICE=eth0
TYPE=Ethernet
UUID=5d3862db-58e5-4427-9c32-f21553eb7b89
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPADDR=192.168.100.118
NAME="System eth0"
USERCTL=no
NETMASK=255.255.255.0
PREFIX=24
HWADDR=08:00:27:32:DE:88
LAST_CONNECT=1541239970
~
~
~
~
~
~
~
"ifcfg-eth0" 16L, 294C
DEVICE=eth2
TYPE=Ethernet
BOOTPROTO=none
IPADDR=200.200.100.118
PREFIX=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth2
UUID=dd701d01-ca3d-45b7-99a8-5c712ff6325e
ONBOOT=yes
LAST_CONNECT=1541240030
~
~
~
~
~
~
~
~
~
~
~
"ifcfg-eth2" 12L, 209C
But whe try to see the changes after netwrok restart following comes
ifconfig -a
eth0 Link encap:Ethernet HWaddr 08:00:27:32:DE:88
inet addr:200.200.100.118 Bcast:200.200.100.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe32:de88/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4104 (4.0 KiB) TX bytes:1368 (1.3 KiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:42:17:FC
inet addr:192.168.100.119 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe42:17fc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3864 (3.7 KiB) TX bytes:1068 (1.0 KiB)
eth2 Link encap:Ethernet HWaddr 08:00:27:39:B6:56
inet6 addr: fe80::a00:27ff:fe39:b656/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:258 (258.0 b)
eth3 Link encap:Ethernet HWaddr 08:00:27:CD:3D:E1
inet addr:10.0.5.15 Bcast:10.0.5.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fecd:3de1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:215546 errors:0 dropped:0 overruns:0 frame:0
TX packets:80058 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:245784264 (234.3 MiB) TX bytes:4811848 (4.5 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 b) TX bytes:960 (960.0 b)
[root@rac3 network-scripts]#
One ip takes another device ip and that interface is none. in this case eth0 takes eth2 ip. eth2 ip is gone.
Could anyone guide what is happening inside the system !.I even made changes through network-scripts files.
Regards.
Syed.