ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:1b:21:7b:30:04
inet 94.79.32.173 netmask 0xfffffff8 broadcast 94.79.32.175
inet6 fe80::21b:21ff:fe7b:3004%em0 prefixlen 64 scopeid 0x1
inet6 2a02:290:2:5::2 prefixlen 64
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 00:1c:25:6a:d6:93
inet 185.27.80.1 netmask 0xfffffc00 broadcast 185.27.83.255
inet6 2a04:3b00::1 prefixlen 29netstat -rn
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 94.79.32.169 UGS 0 3788986 em0
94.79.32.168/29 link#1 U 0 101065 em0
94.79.32.173 link#1 UHS 0 0 lo0
127.0.0.1 link#8 UH 0 11097 lo0
185.27.80.0/22 link#2 U 0 0 re0
185.27.80.1 link#2 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0 =>
default 2a02:290:2:5::1 UGS em0
::1 link#8 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
2a02:290:2:5::/64 link#1 U em0
2a02:290:2:5::2 link#1 UHS lo0
2a04:3b00::/29 link#2 U re0
2a04:3b00::1 link#2 UHS lo0
fe80::/10 ::1 UGRS lo0
cat bgpd.conf
hostname AS60681
password 123
enable password 123
log file /var/log/bgpd.log
router bgp 60681
bgp router-id 94.79.32.173
no synchronization
#no bgp default ipv4-unicast
!
network 185.27.80.0/23
network 185.27.82.2/23
neighbor 94.79.32.169 remote-as 8732
neighbor 94.79.32.169 description ISP1
neighbor 94.79.32.169 soft-reconfiguration inbound
no bgp default ipv4-unicast
!
neighbor 2a02:290:2:5::1 remote-as 8732
#no bgp default ipv4-unicast
#neighbor 2a02:290:2:5::1 description ipv6
#neighbor 2a02:290:2:5::1 override-capability
#neighbor 2a02:290:2:5::1 description ISP1_IPv6
#neighbor 2a02:290:2:5::1 soft-reconfiguration inbound
#no neighbor 2a02:290:2:5::1 activate
!
address-family ipv6
network 2a04:3b00::/29
redistribute connected
redistribute static
redistribute kernel
neighbor 2a02:290:2:5::1 activate
#neighbor 2a02:290:2:5::1 next-hop-self
neighbor 2a02:290:2:5::1 soft-reconfiguration inbound
#neighbor 2a02:290:2:5::1 route-map only-default6-in in
#neighbor 2a02:290:2:5::1 route-map only-carenet6-out out
#neighbor 2a02:290:2:5::1 route-map set-nexthop out
exit-address-family
!
line vty
bgpd.log
2013/07/22 20:41:17 BGP: Terminating on signal
2013/07/22 20:41:17 BGP: Notification sent to neighbor 94.79.32.169: type 6/3
2013/07/22 20:41:17 BGP: Notification sent to neighbor 2a02:290:2:5::1: type 6/3
2013/07/22 20:41:17 BGP: BGPd 0.99.21 starting: vty@2605, bgp@<all>:179
2013/07/22 20:41:20 BGP: 94.79.32.169 Vendor specific capability 131
2013/07/22 20:41:24 BGP: 2a02:290:2:5::1 Vendor specific capability 131
AS60681> sh ipv6 bgp sum
BGP router identifier 94.79.32.173, local AS number 60681
RIB entries 25545, using 1597 KiB of memory
Peers 2, using 5048 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2a02:290:2:5::1 4 8732 28014 1049 0 0 0 17:25:22 13376
Total number of neighbors 1
AS60681> sh ipv6 bgp neighbors 2a02:290:2:5::1 advertised-routes
BGP table version is 0, local router ID is 94.79.32.173
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 2a04:3b00::/29 :: 0 32768 i
Total number of prefixes 1
AS60681> sh ipv6 bgp neighbors 2a02:290:2:5::1 received-routes
BGP table version is 0, local router ID is 94.79.32.173
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 2001::/32 2a02:290:2:5::1 0 8732 6939 i
*> 2001:200::/32 2a02:290:2:5::1 0 8732 3356 2914 2500 i
*> 2001:200:900::/40
2a02:290:2:5::1 0 8732 6939 2516 7660 i
**** И ТД