본문 바로가기

Tip/네트워크

kali network setting

vi /etc/network/interfaces

 

auto lo

iface lo inet loopback

 

auto eth0

iface eth0 inet dhcp

 

////////////////////////////////

 

iface eth0 inet static

address 192.168.0.2

netmask 255.255.255.0

broadcast 192.168.0.255

gateway 192.168.0.1

 

////////////////////////////////

 

service networking restart ( /etc/init.d/networking restart)

 

ifconfig -a

 

'Tip > 네트워크' 카테고리의 다른 글