Review Lab 2

No Comments


TOPOLOGI :


Configuration :

1. First step, we check LAN interface we use, using interface print command, Then here i will use wlan1 as AP-Client to configure internet access.


2. After that, we have to active wlan1, type command interface wireless enable wlan1 . Then we check using interface wireless print command, and we can see that wlan1 was active.


3. Next, we create a security profile for wireless. Type command interface wireless security-profiles add name=ekaanrll mode=dynamic-keys authentication=wpa-psk,wpa2-psk unicast-ciphers=aes-ccm,tkip group-ciphers=aes-ccm,tkip wpa-pre-shared-key=bintangkecil wpa2-pre-shared-key=bintangkecil. Then we check security-profile using command, interface wireless security-profile print, and we can see that security profile has been loaded.


4. Next, wo set wlan1 using the command interface wireless set wlan1 mode=station band=2ghz-b/g/n ssid=Wien security-profile=ekaanrll. Then do the checking using interface wireless print. And we can see that wlan1 was R (running).


5. After that we make the router connected to the internet, using the dhcp-client. Type the command ip dhcp-client add interface=wlan1 disabled=no. Do the checking using command ip dhcp-client print. We can see that wlan1 has got ip address 192.168.43.179 automatically with status is bound.


6. Do test ping, to checking router has been connect with internet. Type ping google.com.


7. Next, add ip address with command :

    ip address add address=172.168.10.11/24 interface=ether1 
    ip address add address=172.168.20.11/24 interface=ether2 
    ip address add address=172.168.30.11/24 interface=ether3
    ip address add address=172.168.40.11/24 interface=ether4

Then do checking with command ip addreess print. We can see that we successfull to added ip address.


8. Next we do configuration ip pool to make range for ip dhcp-server, create ip pool for each client by limiting 10 client. using command :

    ip pool addname=dhcp1 range=172.168.10.12-172.168.10.21
    ip pool addname=dhcp2 range=172.168.20.12-172.168.20.21
    ip pool addname=dhcp3 range=172.168.30.12-172.168.30.21
    ip pool addname=dhcp4 range=172.168.40.12-172.168.40.21

Next do checking using ip pool print then we could see that ip pool successfully created.


9. next, add ip pool for dhcp-server using command :

ip dhcp-server add name=review2-ether1 address-pool=dhcp1 interface=ether1 disabled=no 

ip dhcp-server add name=review2-ether2 address-pool=dhcp2 interface=ether2 disabled=no 

ip dhcp-server add name=review2-ether3 address-pool=dhcp3 interface=ether3 disabled=no

ip dhcp-server add name=review2-ether4 address-pool=dhcp4 interface=ether4 disabled=no 

Then do checking use ip dhcp-server print we could see that ip pool was successfully added to dhcp-server.


10. Then, we make network configuration for dhcp-server to each interface using comand :

ip dhcp-server network add address=172.168.10.0/24 gateway=172.168.10.11 netmask=24 dns-server=8.8.8.8

ip dhcp-server network add address=172.168.20.0/24 gateway=172.168.20.11 netmask=24 dns-server=8.8.8.8

ip dhcp-server network add address=172.168.30.0/24 gateway=172.168.30.11 netmask=24 dns-server=8.8.8.8

ip dhcp-server network add address=172.168.40.0/24 gateway=172.168.40.11 netmask=24 dns-server=8.8.8.8


Then do checking using ip dhcp-server network print i here we could see that dhcp-server network was successfully created.


11. Next we do arp configuration, check dhcp server first. then add arp to each interface using command :

    ip dhcp-server set number=0 add-arp= yes
    ip dhcp-server set number=1 add-arp= yes
    ip dhcp-server set number=2 add-arp= yes
    ip dhcp-server set number=3 add-arp= yes

Next do checking using ip dhcp-server print command. We could see that arp successfully added.


12. Then, now we change the ARP configuration


    interface ethernet set ether1 arp=reply-only 
    interface ethernet set ether2 arp=reply-only 
    interface ethernet set ether3 arp=reply-only 
    interface ethernet set ether4 arp=reply-only 

Next do checking using interface ethernet print command, it can be seen that it succeed in changing the arp configuration to reply only.


TESTING : 

Client-1

1.  Open change adapter options and then click ethernet > properties > ipv4 > properties. make sure the setting of ethernet was obtain


2. Do disable-enable and then wait for a while, then we got ip address 172.168.10.21/24


3. Then we do testing client in cmd. ping 172.168.10.11 if the result was reply, that means we successfull to do configuration.


4. We change the ip client to static. Add address 172.168.10.15 and gateway 171.168.10.11 


5. Last, do testing in cmd type command ping 172.168.10.11 and we can see that the result was request time out, that means router is not connect anymore.


Client-2

1.  Open change adapter options and then click ethernet > properties > ipv4 > properties. make sure the setting of ethernet was obtain


2. Do disable-enable and then wait for a while, then we got ip address 172.168.20.21/24


3. Then we do testing client in cmd. ping 172.168.20.11 if the result was reply, that means we successfull to do configuration.


4. We change the ip client to static. Add address 172.168.20.15 and gateway 171.168.20.11 


5. Last, do testing in cmd type command ping 172.168.20.11 and we can see that the result was request time out, that means router is not connect anymore.


Client-3

1.  Open change adapter options and then click ethernet > properties > ipv4 > properties. make sure the setting of ethernet was obtain


2. Do disable-enable and then wait for a while, then we got ip address 172.168.30.21/24


3. Then we do testing client in cmd. ping 172.168.30.11 if the result was reply, that means we successfull to do configuration.


4. We change the ip client to static. Add address 172.168.30.15 and gateway 171.168.30.11 


5. Last, do testing in cmd type command ping 172.168.30.11 and we can see that the result was request time out, that means router is not connect anymore.



Client-4

1.  Open change adapter options and then click ethernet > properties > ipv4 > properties. make sure the setting of ethernet was obtain


2. Do disable-enable and then wait for a while, then we got ip address 172.168.40.21/24


3. Then we do testing client in cmd. ping 172.168.40.11 if the result was reply, that means we successfull to do configuration.


4. We change the ip client to static. Add address 172.168.40.15 and gateway 171.168.40.11 


5. Last, do testing in cmd type command ping 172.168.40.11 and we can see that the result was request time out, that means router is not connect anymore.

Next PostPosting Lebih Baru Previous PostPosting Lama Beranda

0 komentar

Posting Komentar