商家V.PS
在使用bird广播后,V6前缀能够正常的广播出去,且在全球ping,都能够正常ping通
但是,在广播后,机器端会出现无法访问V6,包括商家分配的V6,都无法访问互联网,甚至连网关和商家给的对端也无法ping通(正常是能ping通的)
下面是配置文件(相关内容已删除或替代)
router id ;
log "/etc/bird/debug.log" { info, remote, warning, error, auth, fatal, bug };
# debug protocols all;
define PEER_ASN = ;
protocol kernel {
scan time 20;
ipv6 {
import none;
export filter {
krt_prefsrc = ;
if source = RTS_STATIC then reject;
accept;
};
};
};
protocol static {
ipv4 {
import all;
export none;
};
}
protocol direct local_if {
ipv6;
interface "dummy0";
}
protocol static {
route 2404::/48 reject;
ipv6 {
import all;
export none;
};
}
protocol static {
ipv6;
route 对端 via 网关;
}
protocol device {
scan time 10;
}
protocol bgp xtom_v6 {
ipv6 {
import all;
export filter {
if net ~ [2404::/48] then accept;
reject;
};
};
interface "eth0";
local as PEER_ASN;
graceful restart on;
direct;
bfd graceful;
source address 2405::1;
nei**or 2405::2 as 7720;
password "";
}