Skip to content

Membuat IP secondary di Linux

July 31, 2007

Untuk membuat ip secondary, perhatikan step-step berikut.

  • copy file ifcfg-eth0 dan rename menjadi ifcfg-eth0:1

        cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1

  • setelah itu buka file ifcfg-eth0:1

        vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
        DEVICE:eth0:1 (telah di-rename menjadi eth0:1)
        BOOTPROTO:static
        IPADDR:192.168.0.XX
        dan seterusnya…
        setelah itu save !

  • reboot network

        service network restart

Powered by ScribeFire.

From → Linux

Leave a Comment

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

%d bloggers like this: