GP/KALI LINUX

ip 자동/고정 할당하는 방법

sjs_2215 2019. 1. 14. 22:23

[자동할당방법]


auto eth0


iface eth0 inet dhcp


 


[수동할당방법]


auto eth0


iface eth0 inet static


address 192.168.xxx.xxx


netmask 255.255.255.0


gateway 192.168.0.xxx


dns-nameservers 8.8.8.8 8.8.4.4




출처: http://linuxstory1.tistory.com/entry/우분투-유무선-네트워크-설정하기 [Linux 세상속으로]