Can't set static IP in RHEL 7 Desktop

Latest response

I am using RHEL Desktop. I want to configure RHEL 7 with VLAN tagged connections (I have 8 Ethernet Ports).

After configuration the ports come UP (in fact ALL ports display UP) but without an IP address. My configurations are:

VLAN=yes
DEVICE=eno1.200
BOOTPROTO=static
ONBOOT=yes
IPADDRESS=10.67.152.177
NETMASK=255.255.255.192

VLAN=yes
DEVICE=eno2.101
BOOTPROTO=static
ONBOOT=yes
IPADDRESS=192.168.20.177
NETMASK=255.255.255.0

When I run the ifconfig command I see the following:

enO1.200: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a2d3:c1ff:fefa:6bfc prefixlen 64 scopeid 0x20
ether a0:d3:c1:fa:6b:fc txqueuelen 1000 (Ethernet)
RX packets 5 bytes 340 (340.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 870 (870.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 32

NOTE: There is NO up address assigned.

Nothing changes when I execute service network restart.

When I try the ifup-eth eno1.200 I get the following error:

[root@localhost network-scripts]# ./ifup-eth ifcfg-eno1.200
Could not load file '/etc/sysconfig/network-scripts/ifcfg-eno1.200'
RTNETLINK answers: File exists
Could not load file '/etc/sysconfig/network-scripts/ifcfg-eno1.200'
Could not load file '/etc/sysconfig/network-scripts/ifcfg-eno1.200'
[root@localhost network-scripts]#

So, what am I doing wrong?

Oh yes, one more thing. The port is plugged in and there is link.

Responses