{"id":1334,"date":"2021-12-03T17:38:20","date_gmt":"2021-12-03T20:38:20","guid":{"rendered":"https:\/\/blog.abratel.com.br\/?p=1334"},"modified":"2021-12-03T17:39:32","modified_gmt":"2021-12-03T20:39:32","slug":"como-descobrir-mac-da-controladora-do-channel-bank-cianet-quando-troca-de-chassi","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=1334","title":{"rendered":"Como descobrir MAC da controladora do Channel Bank Cianet quando troca de chassi"},"content":{"rendered":"<p>1 &#8211; Desabilitar no \/etc\/dahdi\/system.conf a linha de conexao ao channel:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n[root@server ~]# cat \/etc\/dahdi\/system.conf\nloadzone = br\ndefaultzone = br\n#dynamic=eth,enp3s0\/00:19:46:0a:00:32,36,1   # COMENTAR OU APAGAR ESSA LINHA\nfxoks=1-36\nechocanceller=mg2,1-36\n\n<\/pre>\n<p>2 &#8211; Reiniciar o servidor<\/p>\n<p>3 &#8211; Capturar os pacotes da rede ligada ao channel:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n[root@server ~]# tcpdump -e -n -i enp3s0\n\n15:35:02.364078 00:19:46:0a:00:e0 &amp;gt; 90:f6:52:01:28:a9 , ethertype Unknown (0xd00d), length 328:\n0x0000:  0000 0802 ac22 0024 5555 5555 5f55 5555  .....&quot;.$UUUU_UUU\n0x0010:  5555 5555 555f 5555 5555 ffff ffff ffff  UUUUU_UUUU......\n0x0020:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0030:  ffff ffff ffff ffff ffff 0000 0000 0000  ................\n0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................\n0x0050:  0000 0000 0000 0000 0000 ffff ffff ffff  ................\n0x0060:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0070:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0080:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0090:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00a0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00b0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00c0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00d0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00e0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x00f0:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0100:  ffff ffff ffff ffff ffff ffff ffff ffff  ................\n0x0110:  ffff ffff ffff ffff ffff 0000 0000 0000  ................\n0x0120:  0000 0000 0000 0000 0000 0000 0000 0000  ................\n0x0130:  0000 0000 0000 0000 0000                 ..........\n\n<\/pre>\n<p>Em algum momento vc vera MAC passando na troca de mensagens em layer 2. O mac verificado, um sera o seu da sua placa de rede e o outro do channel. Se nao comentar o arquivo dahdi, o mac que aparecer\u00e1 sera o inserido la, o que nao eh nosso objetivo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 &#8211; Desabilitar no \/etc\/dahdi\/system.conf a linha de conexao ao channel: 2 &#8211; Reiniciar o servidor 3 &#8211; Capturar os pacotes da rede ligada ao channel: Em algum momento vc vera MAC passando na troca de mensagens em layer 2. O mac verificado, um sera&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1336,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1334"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1334"}],"version-history":[{"count":4,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1334\/revisions"}],"predecessor-version":[{"id":1341,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1334\/revisions\/1341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/media\/1336"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}