Type CD/etc/sysconfig/network - scripts/(enter)
Input the ls (enter) first to see if you have a few card, see you configure the network adapter
Input ifcfg - (your card name)
Modify BOOTPROTO=static
ONBOOT=yes
IPADDR=do you want to change the IP (192.168.21.128)
GATEWAY=set GATEWAY, (192.168.21.2)
PREFIXO=24 subnet mask Settings
:wq!
CodePudding user response:
The method is right,However, here is the Windows under the section of network management and configuration
CodePudding user response: