Skip to content

Commit

Permalink
Update linux_configuration_common.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Truvis authored Aug 13, 2020
1 parent fee2d9b commit 01f4210
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions linux_configuration_common.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
## Static IP set
- vim /etc/sysconfig/network-scripts/ifcfg-ens192
``` BOOTPROTO="none"
```
BOOTPROTO="none"
PREFIX=24
IPADDR=10.1.2.X
NETMASK=255.255.255.0
GATEWAY=192.168.2.254
DNS1=192.168.2.15```
DNS1=192.168.2.15
```
- systemctl restart network

0 comments on commit 01f4210

Please sign in to comment.