Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
[root@vm20 source]# ifconfig ens12:1 10.0.0.85 netmask 255.255.255.0

[root@vm20 source]# ifconfig ens12 ens12: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.0.0.86 netmask 255.255.255.0 broadcast 10.0.0.255 inet6 fe80::4b65:8ac3:b64:e09c prefixlen 64 scopeid 0x20<link> ether 52:54:00:ec:11:49 txqueuelen 1000 (Ethernet) RX packets 24 bytes 3677 (3.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 34 bytes 4931 (4.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 84

[root@vm20 source]# ifconfig ens12:1 ens12:1: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 10.0.0.85 netmask 255.255.255.0 broadcast 10.0.0.255 ether 52:54:00:ec:11:49 txqueuelen 1000 (Ethernet)

does this fir requirementing ?

[root@vm20 source]# ifconfig ens12:1 10.0.0.85 netmask 255.255.255.0
255.255.255.0

[root@vm20 source]# ifconfig ens12 ens12: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.0.86 netmask 255.255.255.0 broadcast 10.0.0.255 inet6 fe80::4b65:8ac3:b64:e09c prefixlen 64 scopeid 0x20<link> ether 52:54:00:ec:11:49 txqueuelen 1000 (Ethernet) RX packets 24 bytes 3677 (3.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 34 bytes 4931 (4.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 84

84

[root@vm20 source]# ifconfig ens12:1 ens12:1: flags=4163<up,broadcast,running,multicast> flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.0.85 netmask 255.255.255.0 broadcast 10.0.0.255 ether 52:54:00:ec:11:49 txqueuelen 1000 (Ethernet)

(Ethernet)

does this fir requirementing ?

?