[2024.05.16]
> 고정 IP 주소
1) Kali Linux: 192.168.10.250
> 경로 및 파일명: #vi /etc/network/interfaces
----------------------------------------------------
auto lo
iface lo inet lookback
auto eth0
iface eth0 inet static
address 192.168.10.250
netmask 255.255.255.0
gateway 192.168.10.2
network 192.168.10.0
broadcast 192.168.10.255
dns-nameservers 168.126.63.1
-------------------------------------------------------
2) CentOS7: 192.168.10.50
> 경로 및 파일명: /etc/sysconfig/network-scripts/ifcfg-ens33
--------------------------------------------------------
se nu
BOOTPROTO="static"
IPADDR="192.168.10.50"
NETMASK="255.255.255.0"
GATEWAY="192.168.10.2"
DNS1="168.126.63.1"
systemctl restart
-----------------------------------------------------------
3) Windows7: 192.168.10.201
4) Windows10: 192.168.10.202