#mengganti identitas
system identity set name=andriansyah
#mengganti interface
interface ethernet set name=internet ether1
interface ethernet set name=lokal ether2
interface ethernet set name=router3 ether3
#mengganti ip addres
ip address add address=192.168.0.5/24 interface=internet
ip address add address=20.40.50.225/27 interface=router3
ip address add address=10.10.10.125/28 interface=lokal
#mengganti gateway
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.1
#dns server
ip dns set servers=180.131.145.145,180.131.144.144 allow-remote-requests=yes
#masquerade
ip firewall nat add chain=srcnat out-interface=internet action=masquerade
system identity set name=andriansyah
#mengganti interface
interface ethernet set name=internet ether1
interface ethernet set name=lokal ether2
interface ethernet set name=router3 ether3
#mengganti ip addres
ip address add address=192.168.0.5/24 interface=internet
ip address add address=20.40.50.225/27 interface=router3
ip address add address=10.10.10.125/28 interface=lokal
#mengganti gateway
ip route add dst-address=0.0.0.0/0 gateway=192.168.0.1
#dns server
ip dns set servers=180.131.145.145,180.131.144.144 allow-remote-requests=yes
#masquerade
ip firewall nat add chain=srcnat out-interface=internet action=masquerade
0 komentar:
Posting Komentar