내 서버의 /64 서브넷에 다음과 같이 임의의 IPv6 프록시 풀을 설정하려고 합니다.https://github.com/zu1k/http-proxy-ipv6-pool, 하지만 curl --interface 2a05:541:108:26::2 google.com
작동하지 않습니다(무한 로딩). 표준 주소에서는 모든 것이 잘 작동합니다. curl --interface 2a05:541:108:26::1 google.com
유효한 콘텐츠가 반환됩니다.
리눅스 배포판: 우분투 22
ip -6 a
산출:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2a05:541:108:26::1/48 scope global
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe1f:7217/64 scope link
valid_lft forever preferred_lft forever
cat /etc/network/interfaces
산출:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 81.19.139.62
netmask 255.255.255.0
gateway 81.19.139.1
hwaddress ether 52:54:00:1F:72:17
dns-nameservers 8.8.8.8 1.1.1.1
iface eth0 inet6 static
address 2a05:541:108:26::1
netmask 48
gateway 2a05:541:108::1
dns-nameservers 8.8.8.8 1.1.1.1
inet6 라우팅 테이블:
2a05:541:108::/48 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
default via 2a05:541:108::1 dev eth0 metric 1024 onlink pref medium
local ::1 dev lo table local proto kernel metric 0 pref medium
anycast 2a05:541:108:: dev eth0 table local proto kernel metric 0 pref medium
local 2a05:541:108:26::1 dev eth0 table local proto kernel metric 0 pref medium
local 2a05:541:108:26::/64 dev eth0 table local metric 1024 pref medium
anycast fe80:: dev eth0 table local pr`oto kernel metric 0 pref medium
local fe80::5054:ff:fe1f:7217 dev eth0 table local proto kernel metric 0 pref medium
ff00::/8 dev eth0 table local metric 256 pref medium
sysctl.conf 끝:
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.eth0.forwarding=1
net.ipv6.conf.all.proxy_ndp=1
net.ipv6.conf.eth0.proxy_ndp=1
ndppd 구성:
proxy eth0 {
rule 2a05:541:108:26::/64 {
static
}
}
명령을 통해 직접 이웃을 추가해 보았 ip neigh add proxy 2a05:541:108:26::2 dev eth0
으나 역시 작동하지 않았습니다.