quagga关于vpnv4的配置
来源:互联网 发布:淘宝店铺托管协议 编辑:程序博客网 时间:2024/06/05 10:45
I'm struggling of how to configure VPNv4 routers (AS:NN). Can anyone help?
Here is the topology:
RR1 --------- PE1 --------- CE1
 p; (AS 8034) (AS 64512)
Every time, I have these lines uncommented in PE1 , it crashes.
!network 127.15.3.0/30 rd 8034:100 tag 100
!network 127.0.10.0/24 rd 8034:101 tag 101
!network 127.0.10.0/24 rd 8034:101 tag 101
Also, there was a bug reported that Zebra needs some spaces between the statements in address-family vpnv4.
address-family vpnv4 unicast
neighbor 127.0.10.1 activate
!
!
!
neighbor 127.15.3.2 activate
!
!
!
neighbor 127.0.10.1 activate
!
!
!
neighbor 127.15.3.2 activate
!
!
!
RR1
===========================
!
! Zebra configuration saved from vty
! 2006/05/25 03:32:24
!
hostname rr1
password rr1
enable password rr1
log file /tmp/rr1.log
log stdout
!
debug bgp
debug bgp events
debug bgp keepalives
debug bgp updates
!
bgp config-type cisco
!
router bgp 8034
bgp router-id 127.0.10.1
bgp cluster-id 127.0.10.1
neighbor 127.0.3.1 remote-as 8034
neighbor 127.0.3.1 port 18002
neighbor 127.0.3.1 update-source 127.0.10.1
neighbor 127.0.3.1 capability dynamic
!
address-family ipv4
redistribute connected
neighbor 127.0.3.1 activate
neighbor 127.0.3.1 route-reflector-client
neighbor 127.0.3.1 send-community both
network 127.0.3.0 mask 255.255.255.0
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4 unicast
neighbor 127.0.3.1 activate
neighbor 127.0.3.1 route-reflector-client
exit-address-family
!
line vty
!
! Zebra configuration saved from vty
! 2006/05/25 03:32:24
!
hostname rr1
password rr1
enable password rr1
log file /tmp/rr1.log
log stdout
!
debug bgp
debug bgp events
debug bgp keepalives
debug bgp updates
!
bgp config-type cisco
!
router bgp 8034
bgp router-id 127.0.10.1
bgp cluster-id 127.0.10.1
neighbor 127.0.3.1 remote-as 8034
neighbor 127.0.3.1 port 18002
neighbor 127.0.3.1 update-source 127.0.10.1
neighbor 127.0.3.1 capability dynamic
!
address-family ipv4
redistribute connected
neighbor 127.0.3.1 activate
neighbor 127.0.3.1 route-reflector-client
neighbor 127.0.3.1 send-community both
network 127.0.3.0 mask 255.255.255.0
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4 unicast
neighbor 127.0.3.1 activate
neighbor 127.0.3.1 route-reflector-client
exit-address-family
!
line vty
!
PE1
=========================
!
! Zebra configuration saved from vty
! 2006/05/25 02:53:39
!
hostname pe1
password pe1
enable password pe1
log file /tmp/pe1.log
log stdout
log syslog
!
debug bgp
debug bgp events
debug bgp keepalives
debug bgp updates
debug bgp fsm
!
bgp config-type cisco
!
router bgp 8034
bgp router-id 127.0.3.1
neighbor 127.0.10.1 remote-as 8034
neighbor 127.0.10.1 port 18001
neighbor 127.0.10.1 update-source 127.0.3.1
neighbor 127.0.10.1 weight 10
neighbor 127.0.10.1 distribute-list 4 out
neighbor 127.15.3.2 remote-as 64512
neighbor 127.15.3.2 port 18003
neighbor 127.15.3.2 update-source 127.0.3.1
!
address-family ipv4
neighbor 127.0.10.1 activate
neighbor 127.15.3.2 activate
network 127.0.10.0 mask 255.255.255.0
network 127.15.3.0 mask 255.255.255.252
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4 unicast
neighbor 127.0.10.1 activate
!
!
!
neighbor 127.15.3.2 activate
!
!
!
!network 127.15.3.0/30 rd 8034:100 tag 100
!network 127.0.10.0/24 rd 8034:101 tag 101
!
exit-address-family
!
line vty
!
! Zebra configuration saved from vty
! 2006/05/25 02:53:39
!
hostname pe1
password pe1
enable password pe1
log file /tmp/pe1.log
log stdout
log syslog
!
debug bgp
debug bgp events
debug bgp keepalives
debug bgp updates
debug bgp fsm
!
bgp config-type cisco
!
router bgp 8034
bgp router-id 127.0.3.1
neighbor 127.0.10.1 remote-as 8034
neighbor 127.0.10.1 port 18001
neighbor 127.0.10.1 update-source 127.0.3.1
neighbor 127.0.10.1 weight 10
neighbor 127.0.10.1 distribute-list 4 out
neighbor 127.15.3.2 remote-as 64512
neighbor 127.15.3.2 port 18003
neighbor 127.15.3.2 update-source 127.0.3.1
!
address-family ipv4
neighbor 127.0.10.1 activate
neighbor 127.15.3.2 activate
network 127.0.10.0 mask 255.255.255.0
network 127.15.3.0 mask 255.255.255.252
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4 unicast
neighbor 127.0.10.1 activate
!
!
!
neighbor 127.15.3.2 activate
!
!
!
!network 127.15.3.0/30 rd 8034:100 tag 100
!network 127.0.10.0/24 rd 8034:101 tag 101
!
exit-address-family
!
line vty
!
CE1
=========================
hostname ce1
password ce1
enable password ce1
router bgp 64512
bgp router-id 127.15.3.2
neighbor 127.0.3.1 remote-as 8034
neighbor 127.0.3.1 port 3002
neighbor 127.0.3.1 update-source 127.15.3.2
address-family ipv4
network 127.15.3.0/30
network 204.128.0.0/27
bgp router-id 127.15.3.2
neighbor 127.0.3.1 remote-as 8034
neighbor 127.0.3.1 port 3002
neighbor 127.0.3.1 update-source 127.15.3.2
address-family ipv4
network 127.15.3.0/30
network 204.128.0.0/27
log file /tmp/ce1.log
1 0
- quagga关于vpnv4的配置
- 网上找到 一个关于vpnv4的配置例子
- 关于quagga的Multipath
- quagga的安装与配置
- linux路由器Quagga的配置(一):安装
- Quagga安装配置
- Quagga(Zebra)基本配置
- ubuntu 下quagga配置
- Quagga(zebra)安装配置
- quagga安装配置
- Ubuntu8.04上的Quagga初始化配置手册
- linux路由器Quagga的配置(二):开启RIP协议
- 【教程】Quagga安装与配置
- quagga
- quagga
- Quagga 简介及Quagga使用基础谈用Quagga配置RIP路由协议
- Quagga添加自己的命令
- Quagga里面的宏定义
- WordPress出现循环重定向解决办法
- 帮助新手理解MVC,可以看看,思维导图原件可以找我
- 弹窗关闭
- Make file 函数
- json-c-0.9库解析
- quagga关于vpnv4的配置
- Tomcat内存设置详解
- gdx camera详解
- Lists
- 《Linux内核设计与实现》读书笔记(二)- 内核开发的准备
- 自动化测试软件分类
- 几行代码实现RPC框架
- 20170119总结
- android加固系列—1.如何检验so文件是否加壳成功