SMEOnffLine: Set Static IP address Untuk Ethernet: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) New page: Edit /etc/network/interfaces # vi /etc/network/interfaces Bisa di isi dengan # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto ... |
Onnowpurbo (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''Tidak di sarankan untuk menset ini supaya menset /etc/rc.local menjadi mudah.''' | |||
Edit /etc/network/interfaces | Edit /etc/network/interfaces | ||
| Line 19: | Line 21: | ||
# dns-* options are implemented by the resolvconf package, if installed | # dns-* options are implemented by the resolvconf package, if installed | ||
dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222 | dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222 | ||
dns-search | dns-search ukm.co.id | ||
Restart Networking | Restart Networking | ||
| Line 30: | Line 32: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[SMEOnffLine: Server Berbasis Sabily | * [[SMEOnffLine: Server Berbasis Sabily]] | ||
* [[SMEOnffLine: Server Berbasis Ubuntu | * [[SMEOnffLine: Server Berbasis Ubuntu]] | ||
Latest revision as of 00:15, 6 January 2010
Tidak di sarankan untuk menset ini supaya menset /etc/rc.local menjadi mudah.
Edit /etc/network/interfaces
# vi /etc/network/interfaces
Bisa di isi dengan
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.254
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222
dns-search ukm.co.id
Restart Networking
# /etc/init.d/networking restart