Perintah ping , ifconfig dan ip Mengganti MAC Address

Perintah ping dengan 10 kali count ;

# ping 192.168.16.1 -c 10
PING 192.168.16.1 (192.168.16.1) 56(84) bytes of data.
64 bytes from 192.168.16.1: icmp_seq=1 ttl=64 time=0.654 ms
64 bytes from 192.168.16.1: icmp_seq=2 ttl=64 time=1.06 ms
64 bytes from 192.168.16.1: icmp_seq=3 ttl=64 time=0.841 ms
64 bytes from 192.168.16.1: icmp_seq=4 ttl=64 time=1.01 ms
64 bytes from 192.168.16.1: icmp_seq=5 ttl=64 time=1.02 ms
64 bytes from 192.168.16.1: icmp_seq=6 ttl=64 time=1.07 ms
64 bytes from 192.168.16.1: icmp_seq=7 ttl=64 time=1.02 ms
64 bytes from 192.168.16.1: icmp_seq=8 ttl=64 time=0.943 ms
64 bytes from 192.168.16.1: icmp_seq=9 ttl=64 time=1.02 ms
64 bytes from 192.168.16.1: icmp_seq=10 ttl=64 time=1.06 ms

--- 192.168.16.1 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9052ms
rtt min/avg/max/mdev = 0.654/0.969/1.073/0.123 ms

Perintah ping dengan mengatur interval :

# ping -i 3 -c 5 www.google.com

Perintah ping dengan -s ukuran paket total dari nilai yang diberikan ditambah 8 byte tambahan untuk header ICMP

# ping -s 1000 molaviarman.web.id
PING molaviarman.web.id (104.21.82.235) 1000(1028) bytes of data.
1008 bytes from 104.21.82.235 (104.21.82.235): icmp_seq=1 ttl=59 time=20.5 ms
1008 bytes from 104.21.82.235 (104.21.82.235): icmp_seq=2 ttl=59 time=11.0 ms
1008 bytes from 104.21.82.235 (104.21.82.235): icmp_seq=3 ttl=59 time=10.7 ms
1008 bytes from 104.21.82.235 (104.21.82.235): icmp_seq=4 ttl=59 time=20.8 ms
1008 bytes from 104.21.82.235 (104.21.82.235): icmp_seq=5 ttl=59 time=21.4 ms

--- molaviarman.web.id ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 10.717/16.908/21.442/4.941 ms

Perintah mengganti MAC Address dengan perintah ip

# ip link set dev eth0 address 44:ef:bc:6c:76:b5

Perintah mengganti MAC Address dengan perintah ifconfig

# ifconfig eth0 hw ether 44:ee:bc:6c:76:ba

Leave a ReplyCancel reply