'ARP'에 해당하는 글 1건

arp 사용법 [ok]

서버관리 2011.12.08 11:50
root@linuxtip ~
12:48 AM  # arp --help
 arp [-vn]  [<HW>] [-i <if>] [-a] [<hostname>]             <-Display ARP cache
 arp [-v]          [-i <if>] -d  <hostname> [pub][nopub]    <-Delete ARP entry
 arp [-vnD] [<HW>] [-i <if>] -f  [<filename>]            <-Add entry from file
 arp [-v]   [<HW>] [-i <if>] -s  <hostname> <hwaddr> [temp][nopub] <-Add entry
 arp [-v]   [<HW>] [-i <if>] -Ds <hostname> <if> [netmask <nm>] pub      <-''-

       -a                       display (all) hosts in alternative (BSD) style
       -s, --set                set a new ARP entry
       -d, --delete             delete a specified entry
       -v, --verbose            be verbose
       -n, --numeric            don't resolve names
       -i, --device             specify network interface (e.g. eth0)
       -D, --use-device         read <hwaddr> from given device
       -A, -p, --protocol       specify protocol family
       -f, --file               read new entries from file or from /etc/ethers

 <HW>=Use '-H <hw>' to specify hardware address type. Default: ether
 List of possible hardware types (which support ARP):
   strip (Metricom Starmode IP) ash (Ash) ether (Ethernet)
   tr (16/4 Mbps Token Ring) tr (16/4 Mbps Token Ring (New)) ax25 (AMPR AX.25)
   netrom (AMPR NET/ROM) rose (AMPR ROSE) arcnet (ARCnet)
   dlci (Frame Relay DLCI) fddi (Fiber Distributed Data Interface) hippi (HIPPI)
   irda (IrLAP) x25 (generic X.25) eui64 (Generic EUI-64)

12:49 AM  # arp -v
Address                  HWtype  HWaddress           Flags Mask            Iface              ether   00:40:F4:xx:xx:xx   C                     eth0

새 랜카드를 끼웠는데 기존 arp cache 날리려면

root@linuxtip ~
12:50 AM  # arp -d
root@linuxtip ~
12:50 AM  # arp -v
Address                  HWtype  HWaddress           Flags Mask            Iface                      (incomplete)                              eth0
10.x.x.x               ether   00:FF:5C:??:??:?? C                     tap0
Entries: 2      Skipped: 0      Found: 2
root@linuxtip ~
12:50 AM  # arp -v
Address                  HWtype  HWaddress           Flags Mask            Iface              ether   00:40:F4:xx:xx:xx   C                     eth0
10.x.x.x               ether   00:FF:5C:??:??:??  C                     tap0
Entries: 2      Skipped: 0      Found: 2

크리에이티브 커먼즈 라이선스
Creative Commons License

'서버관리' 카테고리의 다른 글

Special-Use IPv4 Addresses [ok]  (0) 2011.12.09
네임서버 라운드 로빈방식 [ok]  (1) 2011.12.09
arp 사용법 [ok]  (0) 2011.12.08
alias 사용법 [ok]  (0) 2011.12.08
ldap 셋팅하기,source [ok]  (0) 2011.12.08
dmesg 클리어 하고 싶을 때 [ok]  (0) 2011.12.07

유용했던 자료를 기록해 두었습니다. 도움이 되시길~~~ Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you fun

받은 트랙백이 없고 , 댓글이 없습니다.