bmaxa
Buduća legenda
- Poruka
- 42.588
Elem, ako zhelite da vidite sve kompjutere u lanu samo otkucate arp -a
za ipv6 mozhete koristiti ping jer lan adresa za ipv6 ima broadcast adresu.
Za ipv6 ping na lan je uvek potrebno navesti interfejs:
Dakle ovako tje se javiti svi hostovi koji podrzhavaju ipv6 u lan-u...
Kod:
bmaxa@Branimirs-Air odinprograms % arp -a
rt-ax86u-91c8 (192.168.101.1) at 3c:7c:3f:e0:91:c8 on en0 ifscope [ethernet]
maxa-pc-ssh (192.168.101.100) at 70:85:c2:83:69:b8 on en0 ifscope [ethernet]
lola-s-a20e (192.168.101.145) at c6:f:99:f5:cd:8 on en0 ifscope [ethernet]
lola (192.168.101.158) at d8:80:83:ff:74:19 on en0 ifscope [ethernet]
branimirs-air (192.168.101.232) at 1c:91:80:cb:e7:8f on en0 ifscope permanent [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (239.255.102.18) at 1:0:5e:7f:66:12 on en0 ifscope permanent [ethernet]
Za ipv6 ping na lan je uvek potrebno navesti interfejs:
Kod:
bmaxa@Branimirs-Air odinprograms % ping6 -c 2 -I en0 ff02::1
PING6(56=40+8+8 bytes) fe80::1c47:1f23:307e:1fe6%en0 --> ff02::1
16 bytes from fe80::1c47:1f23:307e:1fe6%en0, icmp_seq=0 hlim=64 time=0.150 ms
16 bytes from fe80::6d3e:ca4d:941b:1c6b%en0, icmp_seq=0 hlim=64 time=3.395 ms
16 bytes from fe80::3e7c:3fff:fee0:91c8%en0, icmp_seq=0 hlim=64 time=3.470 ms
16 bytes from fe80::8f5d:aa4b:477d:5bf1%en0, icmp_seq=0 hlim=64 time=45.388 ms
16 bytes from fe80::c40f:99ff:fef5:cd08%en0, icmp_seq=0 hlim=64 time=101.232 ms
16 bytes from fe80::1c47:1f23:307e:1fe6%en0, icmp_seq=1 hlim=64 time=0.202 ms
--- ff02::1 ping6 statistics ---
2 packets transmitted, 2 packets received, +4 duplicates, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.150/25.639/101.232/37.388 ms
bmaxa@Branimirs-Air odinprograms %