[질문]arp 관련 arping 패킷 문의

nidle의 이미지

안녕하세요.
arp를 공부중에 arping 를 실행하다가 패킷내용이 궁금해서 질문드립니다.
arping 에 -D옵션 (Duplicate address detection mode (DAD)) 이라고 해서 실행해봤습니다.
#arping -D 172.16.1.3
그런데 실제 하나의ip 에대해 두개의 pc에서 reply 를 보냈습니다. (그런데도 arping에서는 특별한 중복 메시지가 없었습니다)
패킷내용을 보았을때 request 내용과 reply 내용이 일반적인 arp 패킷과 내용이 달랐습니다. 아래의 패킷처럼 보내는의미가 무엇인가요??
참고로 mac 주소는 172.16.1.1 : M1
172.16.1.3 : M2
172.16.1.3동일 1p에 다른 mac : M3 수정했습니다.
패킷덤프 내용은 이더리얼로 했습니다.
.
.
.

 
No.     Time        Source                Destination           Protocol Info
      1 0.000000    172.16.1.1        Broadcast             ARP      Who has 172.16.1.3?  Tell 0.0.0.0
 
Frame 1 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: 172.16.1.1 (M1), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
    Source: 172.16.1.1 (M1)
    Type: ARP (0x0806)
Address Resolution Protocol (request)
    Hardware type: Ethernet (0x0001)
    Protocol type: IP (0x0800)
    Hardware size: 6
    Protocol size: 4
    Opcode: request (0x0001)
    Sender MAC address: 172.16.1.1 (M1)
    Sender IP address: 0.0.0.0 (0.0.0.0)
    Target MAC address: Broadcast (ff:ff:ff:ff:ff:ff)
    Target IP address: 172.16.1.3 (172.16.1.3)

위의 패킷에서 일반적인 arp request는 Sender IP address: 0.0.0.0 (0.0.0.0) 가 아닌 자신의 ip 를 넣는것으로 알고있는데
0.0.0.0 이 들어가 있습니다.
.
.
.

No.     Time        Source                Destination           Protocol Info
      2 0.000355    AbitComp_4a:21:b8     172.16.1.1        ARP      172.16.1.3 is at M2
 
Frame 2 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: AbitComp_4a:21:b8 (M2), Dst: 172.16.1.1 (M1)
    Destination: 172.16.1.1 (M1)
    Source: AbitComp_4a:21:b8 (M2)
    Type: ARP (0x0806)
    Trailer: 000000000000000000000000000000000000
Address Resolution Protocol (reply)
    Hardware type: Ethernet (0x0001)
    Protocol type: IP (0x0800)
    Hardware size: 6
    Protocol size: 4
    Opcode: reply (0x0002)
    Sender MAC address: AbitComp_4a:21:b8 (M2)
    Sender IP address: 172.16.1.3 (172.16.1.3)
    Target MAC address: AbitComp_4a:21:b8 (M2)
    Target IP address: 172.16.1.3 (172.16.1.3)
 
No.     Time        Source                Destination           Protocol Info
      3 0.000360    172.16.1.3        172.16.1.1        ARP      172.16.1.3 is at M3
 
Frame 3 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 172.16.1.3 (M3), Dst: 172.16.1.1 (M1)
    Destination: 172.16.1.1 (M1)
    Source: 172.16.1.3 (M3)
    Type: ARP (0x0806)
    Trailer: 000000000000000000000000000000000000
Address Resolution Protocol (reply)
    Hardware type: Ethernet (0x0001)
    Protocol type: IP (0x0800)
    Hardware size: 6
    Protocol size: 4
    Opcode: reply (0x0002)
    Sender MAC address: 172.16.1.3 (M3)
    Sender IP address: 172.16.1.3 (172.16.1.3)
    Target MAC address: 172.16.1.3 (M3)
    Target IP address: 172.16.1.3 (172.16.1.3)

응답으로 위의 두 패킷이 왔습니다. 여기서도 일반적인 arp reply 는 Target 주소에 requtet한 장비의 주소 (mac, ip)를
넣는것으로 알고 있는데 자신의 주소를 넣어서 보냈습니다.
.
.
.

No.     Time        Source                Destination           Protocol Info
      4 11.248128   172.16.1.1        Broadcast             ARP      Who has 172.16.1.3?  Tell 172.16.1.1
 
Frame 4 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: 172.16.1.1 (M1), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
    Source: 172.16.1.1 (M1)
    Type: ARP (0x0806)
Address Resolution Protocol (request)
    Hardware type: Ethernet (0x0001)
    Protocol type: IP (0x0800)
    Hardware size: 6
    Protocol size: 4
    Opcode: request (0x0001)
    Sender MAC address: 172.16.1.1 (M1)
    Sender IP address: 172.16.1.1 (172.16.1.1)
    Target MAC address: Broadcast (ff:ff:ff:ff:ff:ff)
    Target IP address: 172.16.1.3 (172.16.1.3)

위의 4번패킷은 arping 에서 옵션없이 #arping 172.16.1.3 한 request 패킷입니다.
Target MAC address: Broadcast (ff:ff:ff:ff:ff:ff) 에서 일반적인 arp패킷은 0.0.0.0(00:00:~~:00)을
넣는것으로 알고있습니다. 이런 내용들이 무슨기능이 있는것인지 궁금합니다.

아 그리고 arp request 할때 이더넷 소스 주소(Ethernet Src)와 Sender MAC address 와 다를수도 있나요??

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.