Saturday, October 16, 2010

MIkrotik Bag 4: Setting Ip Address

[ropix@IATG-SOLO] > /ip address add
address: 192.168.1.1/24
interface: local
[ropix@IATG-SOLO] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
#      ADDRESS                  NETWORK           BROADCAST INTERFACE
0      192.168.0.254/24        192.168.0.0            192.168.0.255 local
Masukkan IP addres value pada kolom address beserta netmask, masukkan nama interface yg ingin diberikan ip addressnya.Untuk Interface ke-2 yaitu interface public, caranya sama dengan diatas, sehingga jika dilihat lagi akan menjadi 2 interface:
[ropix@IATG-SOLO] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
#     ADDRESS           NETWORK          BROADCAST INTERFACE
0     192.168.0.254/24    192.168.0.0           192.168.0.255 local
1    202.51.192.42/29     202.51.192.40       202.51.192.47 public
personal, fashion, travel, loan, insurance, health, real estate, home, marketing, personal, fashion, travel, loan, insurance, health, real estate, home, marketing,