RHEL7 system nmcli connection add con - name company ifname eno16777728 after the command, the following error:
Error: 'type' argument is required. How to solve it? Is in the virtual machine,
CodePudding user response:
Let you plus type and type of Ethernet
CodePudding user response:
reference 1st floor zhouchao6 response: let you plus type and type Ethernet Excuse me which type is can let me enter the IP address? Is what I want to a fixed IP address CodePudding user response:
Nmcli connection add type Ethernet con - name ens33 ifname ens33 ipv4. Method manual ipv4. Addresses 192.168.1.1/24 ipv4 gateway 192.168.1.254 ipv4. DNS=8.8.8.8 autoconnect yes CodePudding user response:
reference zhouchao6 reply: 3/f nmcli connection add type Ethernet con - name ens33 ifname ens33 ipv4. Method manual ipv4. Addresses 192.168.1.1/24 ipv4 gateway 192.168.1.254 ipv4. DNS=8.8.8.8 autoconnect yes Ok, thank you for your patience to answer