#CORE_ROUTER
#ROUTER_A[admin@MikroTik] > system identity set name=CORE_ROUTER [admin@CORE_ROUTER] > ip address add address=12.12.12.38/29 interface=ether1 [admin@CORE_ROUTER] > ip address print Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK INTERFACE 0 12.12.12.38/29 12.12.12.32 ether1 [admin@CORE_ROUTER] >
#ROUTER_B[admin@MikroTik] > system identity set name=Router_A [admin@Router_A] > ip address add address=12.12.12.33/29 interface=ether1 [admin@Router_A] > ip address add address=120.100.10.94/27 interface=ether2 [admin@Router_A] > ip dhcp-server setup Select interface to run DHCP server on dhcp server interface: ether2 Select network for DHCP addresses dhcp address space: 120.100.10.64/27 Select gateway for given network gateway for dhcp network: 120.100.10.94 Select pool of ip addresses given out by DHCP server addresses to give out: 120.100.10.65-120.100.10.93 Select DNS servers dns servers: 8.8.8.8 Select lease time lease time: 3d [admin@Router_A] >
#ROUTER_C[admin@MikroTik] > system identity set name=Router_B [admin@Router_B] > ip address add address=12.12.12.34/29 interface=ether1 [admin@Router_B] > ip address add address=120.100.30.94/27 interface=ether2 [admin@Router_B] > ip dhcp-server setup Select interface to run DHCP server on dhcp server interface: ether2 Select network for DHCP addresses dhcp address space: 120.100.30.64/27 Select gateway for given network gateway for dhcp network: 120.100.30.94 Select pool of ip addresses given out by DHCP server addresses to give out: 120.100.30.65-120.100.30.93 Select DNS servers dns servers: 8.8.8.8 Select lease time lease time: 3d [admin@Router_B] >
[admin@MikroTik] > system identity set name=Router_C [admin@Router_C] > ip address add address=12.12.12.35/29 interface=ether1 [admin@Router_C] > ip address add address=120.100.40.94/27 interface=ether2 [admin@Router_C] > ip dhcp-server setup Select interface to run DHCP server on dhcp server interface: ether2 Select network for DHCP addresses dhcp address space: 120.100.40.64/27 Select gateway for given network gateway for dhcp network: 120.100.40.94 Select pool of ip addresses given out by DHCP server addresses to give out: 120.100.40.65-120.100.40.93 Select DNS servers dns servers: 8.8.8.8 Select lease time lease time: 3d [admin@Router_C] >
PC1> dhcp DORA IP 120.100.10.93/27 GW 120.100.10.94 PC1> sh ip NAME : PC1[1] IP/MASK : 120.100.10.93/27 GATEWAY : 120.100.10.94 DNS : 8.8.8.8 DHCP SERVER : 120.100.10.94 DHCP LEASE : 259109, 259200/129600/226800 MAC : 00:50:79:66:68:00 LPORT : 10015 RHOST:PORT : 127.0.0.1:10014 MTU: : 1500 PC1> ping 120.100.10.92 84 bytes from 120.100.10.92 icmp_seq=1 ttl=64 time=1.000 ms 84 bytes from 120.100.10.92 icmp_seq=2 ttl=64 time=0.000 ms 84 bytes from 120.100.10.92 icmp_seq=3 ttl=64 time=0.000 ms PC1>
Test ping dari PC1 ke PC2 (Antar PC pada network yang sama)#PC2 PC2> sh ip NAME : PC2[1] IP/MASK : 0.0.0.0/0 GATEWAY : 0.0.0.0 DNS : MAC : 00:50:79:66:68:01 LPORT : 10016 RHOST:PORT : 127.0.0.1:10017 MTU: : 1500 PC2> dhcp DORA IP 120.100.10.92/27 GW 120.100.10.94 PC2> sh ip NAME : PC2[1] IP/MASK : 120.100.10.92/27 GATEWAY : 120.100.10.94 DNS : 8.8.8.8 DHCP SERVER : 120.100.10.94 DHCP LEASE : 259188, 259200/129600/226800 MAC : 00:50:79:66:68:01 LPORT : 10016 RHOST:PORT : 127.0.0.1:10017 MTU: : 1500 PC2>
PC1> ping 120.100.10.92 84 bytes from 120.100.10.92 icmp_seq=1 ttl=64 time=1.000 ms 84 bytes from 120.100.10.92 icmp_seq=2 ttl=64 time=0.000 ms 84 bytes from 120.100.10.92 icmp_seq=3 ttl=64 time=0.000 ms PC1>
#PC1#PC9 PC9> sh ip NAME : PC9[1] IP/MASK : 0.0.0.0/0 GATEWAY : 0.0.0.0 DNS : MAC : 00:50:79:66:68:08 LPORT : 10030 RHOST:PORT : 127.0.0.1:10031 MTU: : 1500 PC9> dhcp DORA IP 120.100.40.93/27 GW 120.100.40.94 PC9> sh ip NAME : PC9[1] IP/MASK : 120.100.40.93/27 GATEWAY : 120.100.40.94 DNS : 8.8.8.8 DHCP SERVER : 120.100.40.94 DHCP LEASE : 259176, 259200/129600/226800 MAC : 00:50:79:66:68:08 LPORT : 10030 RHOST:PORT : 127.0.0.1:10031 MTU: : 1500
#PC10 PC10> sh ip NAME : PC10[1] IP/MASK : 0.0.0.0/0 GATEWAY : 0.0.0.0 DNS : MAC : 00:50:79:66:68:09 LPORT : 10032 RHOST:PORT : 127.0.0.1:10033 MTU: : 1500 PC10> dhcp DORA IP 120.100.40.92/27 GW 120.100.40.94 PC10> PC9> ping 120.100.40.92 84 bytes from 120.100.40.92 icmp_seq=1 ttl=64 time=0.000 ms 84 bytes from 120.100.40.92 icmp_seq=2 ttl=64 time=0.000 ms 84 bytes from 120.100.40.92 icmp_seq=3 ttl=64 time=0.000 ms
No comments:
Post a Comment
Tak ada gading yang tak retak!!
Komentar dan masukan yang bersifat membangun selalu kami harapkan, demi kebaikan bersama.