我在v.ps广播了一段IPv6,但是在广播后不可达,问了客服客服回复的有点没看懂,有大佬知道该怎么做嘛?
- Hi,
- Currently you are announcing to us 2a0e:aa07:e039::/48 & leaking our prefix which is filtered -> 2a0c:59c0:12::/48
- Routes: 1 imported, 1 filtered, 145955 exported, 1 preferred
- Regards,
- Willem Ouwehand
复制代码
下面是我的配置文件
- router id 78.142.xxx.xxx;
-
- define BOGON_ASNS = [
- 0, # RFC 7607
- 23456, # RFC 4893 AS_TRANS
- 64496..64511, # RFC 5398 and documentation/example ASNs
- 64512..65534, # RFC 6996 Private ASNs
- 65535, # RFC 7300 Last 16 bit ASN
- 65536..65551, # RFC 5398 and documentation/example ASNs
- 65552..131071, # RFC IANA reserved ASNs
- 4200000000..4294967294, # RFC 6996 Private ASNs
- 4294967295 # RFC 7300 Last 32 bit ASN
- ];
-
- filter sample_import
- int set reject_private_asn; {
- if bgp_path ~ BOGON_ASNS then reject;
- accept;
- }
-
- protocol bgp xtom
- {
- local as 205794;
- source address 2a0c:59c0:12::18c;
- nei**or 2a0c:59c0:12::4 as 3204;
- password "xxxxxxxxx";
- ipv6 {
- import filter sample_import;
- export all;
- graceful restart on;
- };
- }
-
- protocol static
- {
- ipv6;
- route 2a0e:aa07:e039::/48 via 2a0c:59c0:12::18c;
- }
-
- protocol device
- {
- scan time 5;
- }
-
- protocol direct
- {
- interface "eth*";
- ipv6 {
- import all;
- };
- }
复制代码
|