华为ipv6之bgp配置

华为ipv6之bgp配置_第1张图片

R1

ipv6

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2000::2/96

interface LoopBack0
ipv6 enable
ipv6 address 2001::1/96

bgp 100
router-id 1.1.1.1
peer 2000::1 as-number 100

ipv4-family unicast
undo synchronization

ipv6-family unicast
undo synchronization
network 2001:: 96
peer 2000::1 enable

R2

ipv6

dhcp enable

dhcpv6 pool test
address prefix FD::/96
excluded-address FD::1
dns-server 9999::9

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2000::1/96

interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address FD::1/96
undo ipv6 nd ra halt
ipv6 nd autoconfig managed-address-flag
dhcpv6 server test

interface LoopBack0
ipv6 enable

bgp 100
router-id 2.2.2.2
peer 2000::2 as-number 100

ipv4-family unicast
undo synchronization

ipv6-family unicast
undo synchronization
network FD:: 96
peer 2000::2 enable

你可能感兴趣的:(网络工程,华为,服务器,linux)