Files
tldr/pages.tr/linux/ip-neighbour.md
2022-10-31 06:52:35 -03:00

25 lines
752 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ip neighbour
> Komşu/ARP tablosu yönetimi IP alt komutu.
> Daha fazla bilgi için: <https://manned.org/ip-neighbour.8>.
- Komşu/ARP tablosu girdilerini görüntüle:
`ip neighbour`
- `eth0` aygıtının komşu tablosundaki girdileri kaldır:
`sudo ip neighbour flush dev {{eth0}}`
- Bir komşu araması gerçekleştir ve bir komşu girdisi döndür:
`ip neighbour get {{aranacak_ip}} dev {{eth0}}`
- `eth0` arayüzüne komşu IP adresi için bir ARP girdisi ekle veya sil:
`sudo ip neighbour {{add|del}} {{ip_adresi}} lladdr {{mac_adresi}} dev {{eth0}} nud reachable`
- `eth0` arayüzünde komşu IP adresi için bir ARP girdisini değiştir:
`sudo ip neighbour {{change|replace}} {{ip_adresi}} lladdr {{yeni_mac_adresi}} dev {{eth0}}`