edit interface linux

sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 (0-9) silahkan tentukan interface mana yang akan di edit ,

contoh :

TYPE=Ethernet
DEVICE=eth0
HWADDR=
BOOTPROTO=
IPADDR=192.168.2.62
NETMASK=255.255.255.0
GATEWAY=192.168.2.1
DHCP_HOSTNAME=planet.holiday (asumsi router memakai dhcp)
DOMAIN=
ONBOOT=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=n

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s