fedora ip configure

cuma mo mindahin catatan biar gampang nyari kalo lupa.. 😀

Setting DNS

# vim /etc/resolv.conf

trus tambahin di dalemnya

search name-of-domain.com – Name of your domain or ISP’s domain if using their name server

nameserver XXX.XXX.XXX.XXX – IP address of primary name server

nameserver XXX.XXX.XXX.XXX – IP address of secondary name server

Setting localhost

# vim /etc/hosts

trus tambahin di dalemnya

127.0.0.1 your-node-name.your-domain.com localhost.localdomain localhost

XXX.XXX.XXX.XXX node-name

Setting IP address

# ifconfig eth0 XXX.XXX.XXX.XXX netmask XXX.XXX.XXX.XXX broadcast XXX.XXX.XXX

Setting gateway

# route add default gw XXX.XXX.XXX.XXX

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