unix

ubuntu linux network 설정 확인

mulderu 2013. 8. 8. 16:27

멀더는 주로 ubuntu 를 이용합니다. 

아래 /etc/network/interfaces 파일의 내용입니다.


root@turbine01:/etc/network# uname -a
Linux ***-server #49-Ubuntu SMP Tue Feb 19 20:21:47 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root@turbine01:/etc/network# cat interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 27.102.***.***
	netmask 255.255.255.0
	gateway 27.102.***.1
	dns-nameservers 164.124.101.2

auto eth1
iface eth1 inet static
	address 192.168.***.***
	netmask 255.255.0.0
root@turbine01:/etc/network#