|
|

楼主 |
发表于 2004-6-9 21:30:19
|
显示全部楼层
smile787兄..
我把上面的<用 Linux 打造路由器>
搞定了..有一个问题问你...
Password:
bgpd> enable
Password:
bgpd# configure terminal
bgpd(config)# router bgp 65530 /*配置 BGP,65530 是自治系统编号。也就是将该系统配置成自治系统 65530 上的外部网关*/
bgpd(config-router)# network 192.168.66.0/24 /*由 BGP 广播的网络*/ 192.168.0.66.0/24 /*<是不是自己的内网DHCP与网关呢?>
bgpd(config-router)# neighbor 10.0.0.5 remote-as 65531 /*静态指定自治系统 65531 上 IP 地址为 10.0.0.5 的路由器为本机的邻机*/ 10.0.0.5>>>是我上网的DNS吗?<61.144.56.100>这样是不是对的..
bgpd(config-router)# end
bgpd# write file
Configuration saved to /etc/zebra/bgpd.conf |
|