Linux отвечает адресом источника виртуального интерфейса

Вы захотите выполнить brew install boost@1.55

$ brew search boost
==> Formulae
boost ✔                           boost-build                       
boost-python                      boost-python@1.59                 
boost@1.57                        boost@1.60 ✔
boost-bcp                         boost-mpi                     
boost-python3                     boost@1.55                        boost@1.59

==> Casks
boostnote                                focus-booster                            
iboostup                                 nosqlbooster-for-mongodb                 
turbo-boost-switcher
0
07.06.2018, 00:51
2 ответа

Si entiendo bien esto es un problema con dnsmasq,el software ofrece algunas soluciones a su problema :interfaz para forzar la escucha de una interfaz específica, por ejemplo:

interface=lo:10

no -dhcp -interfaz para deshabilitar la distribución de DHCP en esta interfaz, por ejemplo:

no-dhcp-interface=ens256

escucha la dirección -, que parece una interfaz pero especifica una IP vinculante en su lugar, por ejemplo,:

listen-address=10.10.12.12

De la documentación de dnsmasq:

-i, --interface=<interface name> Listen only on the specified interface(s). 
Dnsmasq automatically adds the loopback (local) interface to the list of 
interfaces to use when the --interface option is used. If no --interface or 

-2, --no-dhcp-interface=<interface name>
Do not provide DHCP or TFTP on the specified interface, but do provide DNS 
service.

-a, --listen-address=<ipaddr>
Listen on the given IP address(es). Both --interface and --listen-address 
options may be given, in which case the set of both interfaces and addresses 
is used. Note that if no --interface option is given, but --listen-address 
is, dnsmasq will not automatically listen on the loopback interface. To 
achieve this, its IP address, 127.0.0.1, must be explicitly given as a -- 
listen-address option.
0
28.01.2020, 02:42

Basado en iptables :cambiar la dirección de origen local si la dirección de destino coincide Pude encontrar una solución con una ruta ip simple agregada.

ip route add 192.168.69.1/32 via 172.18.25.1 src 10.10.12.12

o

ip route add 0.0.0.0/0 via 172.18.25.1 src 10.10.12.12
1
28.01.2020, 02:42

Теги

Похожие вопросы