NAT 169.254. *. * endereço IP para 192.168. *. *

1

Eu tenho um equipamento que possui um IP estático no intervalo de 169.254. . e não pode ser alterado. Eu preciso acessar isso de outra rede. Meu pensamento é usar um roteador e ter a porta WAN como o dispositivo 192.168. . e a porta LAN ser o dispositivo 192.168. . . Eu tentei configurar um roteador com o endereço de LAN de 169.254.1.1 mas não gosta deste endereço IP. O que mais posso fazer para realizar esse NAT?

    
por Eric Johnson 22.02.2017 / 22:47

2 respostas

4

A faixa de endereços IPv4 169.254.0.0/16 é Link-Local e não pode ser roteada.

Consulte RFC 6890, Registros de endereços IP para fins especiais :

                +----------------------+----------------+
                | Attribute            | Value          |
                +----------------------+----------------+
                | Address Block        | 169.254.0.0/16 |
                | Name                 | Link Local     |
                | RFC                  | [RFC3927]      |
                | Allocation Date      | May 2005       |
                | Termination Date     | N/A            |
                | Source               | True           |
                | Destination          | True           |
                | Forwardable          | False          |
                | Global               | False          |
                | Reserved-by-Protocol | True           |
                +----------------------+----------------+

                        Table 5: Link Local

Além disso, os endereços nesse intervalo não podem ser estaticamente atribuídos porque eles não podem executar a detecção de endereço duplicado e alterar o endereçamento se uma duplicata for encontrada.

Consulte RFC 3927, Configuração dinâmica de endereços locais de links IPv4 :

1.6. Alternate Use Prohibition

Note that addresses in the 169.254/16 prefix SHOULD NOT be configured manually or by a DHCP server. Manual or DHCP configuration may cause a host to use an address in the 169.254/16 prefix without following the special rules regarding duplicate detection and automatic configuration that pertain to addresses in this prefix. While the DHCP specification [RFC2131] indicates that a DHCP client SHOULD probe a newly received address with ARP, this is not mandatory. Similarly, while the DHCP specification recommends that a DHCP server SHOULD probe an address using an ICMP Echo Request before allocating it, this is also not mandatory, and even if the server does this, IPv4 Link-Local addresses are not routable, so a DHCP server not directly connected to a link cannot detect whether a host on that link is already using the desired IPv4 Link-Local address.

Administrators wishing to configure their own local addresses (using manual configuration, a DHCP server, or any other mechanism not described in this document) should use one of the existing private address prefixes [RFC1918], not the 169.254/16 prefix.

    
por 22.02.2017 / 22:58
1

O equipamento industrial que possui um endereço fixo pode ser vinculado via NAT a um roteador como o A-B 1783-NATR. Um requisito para o roteamento NAT de 1: 1 é que o lado público e privado deve ter endereços de rede completamente diferentes. Público pode ser: 169.156.1.x, privado pode ser 192.168.1.x

Link link

    
por 24.02.2017 / 01:49