[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: network config




> Gilbert.Li> 請問如果用ifconfig 要如何來設定呢
> Gilbert.Li> 我使用過 ifconfig eth0 xxx.xxx.xxx.xxx netmask 
> 255.255.255.0 
> Gilbert.Li> 但是他說 eth0: unknown interface 請問我該如何設定 ?
> 
> Please write a network configuration in the file of 
> /etc/network/interfaces
> 
> Wen

auto eth0 
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask 2555.255.255.0
gateway 10.166.253.254

Gilbert



Reply to: