嘟嘟社区

[疑问] 有玩公网的大佬嘛,想请教个问题


我在v.ps广播了一段IPv6,但是在广播后不可达,问了客服客服回复的有点没看懂,有大佬知道该怎么做嘛?
  1. Hi,
  2. Currently you are announcing to us 2a0e:aa07:e039::/48 & leaking our prefix which is filtered -> 2a0c:59c0:12::/48
  3. Routes: 1 imported, 1 filtered, 145955 exported, 1 preferred
  4. Regards,
  5. Willem Ouwehand

复制代码

下面是我的配置文件

  1. router id 78.142.xxx.xxx;
  2. define BOGON_ASNS = [
  3.     0,                        # RFC 7607
  4.     23456,                    # RFC 4893 AS_TRANS
  5.     64496..64511,                # RFC 5398 and documentation/example ASNs
  6.     64512..65534,                # RFC 6996 Private ASNs
  7.     65535,                    # RFC 7300 Last 16 bit ASN
  8.     65536..65551,                # RFC 5398 and documentation/example ASNs
  9.     65552..131071,                # RFC IANA reserved ASNs
  10.     4200000000..4294967294,        # RFC 6996 Private ASNs
  11.     4294967295                # RFC 7300 Last 32 bit ASN
  12. ];
  13. filter sample_import
  14. int set reject_private_asn; {
  15.     if bgp_path ~ BOGON_ASNS then reject;
  16.     accept;
  17. }
  18. protocol bgp xtom
  19. {
  20.     local as 205794;
  21.     source address 2a0c:59c0:12::18c;
  22.     nei**or 2a0c:59c0:12::4 as 3204;
  23.     password "xxxxxxxxx";
  24.     ipv6 {
  25.         import filter sample_import;
  26.         export all;
  27.         graceful restart on;
  28.     };
  29. }
  30. protocol static
  31. {
  32.     ipv6;
  33.     route 2a0e:aa07:e039::/48 via 2a0c:59c0:12::18c;
  34. }
  35. protocol device
  36. {
  37.     scan time 5;
  38. }
  39. protocol direct
  40. {
  41.     interface "eth*";
  42.     ipv6 {
  43.         import all;
  44.     };
  45. }

复制代码