私有的自治系统实验(2006-12-06 15:41:18)
原创
私有的自治系统实验
与RFC1918的私有IP地址类似,一些自治系统号码也被保留给不需要公共自治系统号码的网络使用。但是在私有的BGP网络情况下当向公共互连网通告路由时还是需要删除私有的自制系统号码。
可以通过neigbor ip address
remove-private-as
来删除私有自治系统。
可以在路径通告给外部对等体之前在自治系统的出口将私有的AS号删除。
R7:interface Serial0
ip address
197.45.21.129 255.255.255.252
encapsulation
ppp
no
fair-queue
interface
Serial1
ip address
197.45.21.49 255.255.255.252
encapsulation
ppp
clock rate
64000
router bgp
3628
no
synchronization
bgp
log-neighbor-changes
network
197.45.21.0
neighbor 197.45.21.50
remote-as 57648
neighbor 197.45.21.130
remote-as 57648
no
auto-summary
R6:
interface
Ethernet0
ip address
192.168.10.183 255.255.255.0
interface
Serial0
ip address
198.203.57.81 255.255.255.252
encapsulation
ppp
no
fair-queue
interface
Serial1
ip address
197.45.21.130 255.255.255.252
encapsulation
ppp
clockrate
64000
router bgp
57648
no
synchronization
bgp
log-neighbor-changes
network
192.168.10.0
network
197.45.21.0
network
198.203.57.0
neighbor
192.168.10.184 remote-as 57648
neighbor 197.45.21.129
remote-as 3628
neighbor
197.45.21.129 remove-private-as
neighbor 198.203.57.82
remote-as 64785
no
auto-summary
加载中,请稍候...