linux

우분투 ip설정 예제

alignG 2009. 6. 17. 02:25


다음음 정적설정

# sudo vi /etc/network/interfaces

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255

다음은 동적설정

auto eth0
iface eth0 inet dhcp

반응형