Archive

‘网络技术’ 分类存档

Inter-domain traffic steering solution with EPE and XTC ODN

Introduction

 

Now more customer complains their Peering network not flexible and hard to control, that will cause peering link’s utilization not balance and waste of resources. As follow the example on Router-2, customer peering device connect to multi ISP, each ISP sends full internet route, select only based on the BGP. BGP select rule only based on the route but not real traffics, that may be cause port-A’s traffics have 8G, but port-B and port-C only have 4G, if want to adjust BGP select, only change RPL that more complex, and due to route from internet and multi ISP, so route maybe change at some time, in order to balance peering link, customer must continue to adjust their RPL.

Could we have more flexible and simplest way to resolve the issue? The answer is Yes 🙂 we can achieve the task by Segment Routing – Egress Peer Engineering. Now some customer had deployed the solution, that combine NetFlow, Openbmp to check AS/traffics of prefix, then send BGP LU(EPE label) to ingress node, and easy to control traffics.

完整阅读

0

How to resize LVM on Centos7/Ubuntu14.04 ?

After install Centos7, found disk size less, so I need resize the disk, you can use some tools to achieve the function, e.g: GParted or disk-genius. But if your Server disk format is LVM, you can easy to manual adjust that. I don’t know how to resize LVM by Gparted or disk-genius. For this article, will discuss how to adjust Centos7/Ubuntu14.04 by LVM. That should same action/command in Centos and Ubuntu.

If you want to check steps in Ubuntu, can check this attachment: lvm-resize-ubuntu14.04

1. Follow disk info

Check system contents by “sudo df -H”, check all disk status by “sudo fdisk -l”.

[root@frank ~]# df -H
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/myvg-root  7.4G  7.4G  4.0M 100% /
devtmpfs               2.1G     0  2.1G   0% /dev
tmpfs                  2.1G  250k  2.1G   1% /dev/shm
tmpfs                  2.1G  9.5M  2.1G   1% /run
tmpfs                  2.1G     0  2.1G   0% /sys/fs/cgroup
/dev/mapper/myvg-home  731M  140M  591M  20% /home
/dev/sda1              521M  126M  396M  25% /boot
/dev/sr0               4.2G  4.2G     0 100% /run/media/root/CentOS 7 x86_64

2. Relationship for VG, PV and LV

完整阅读

0

Backup and Restore MacOS Outlook 2011 & 2016

最近换了新的MAC-2015款RMBP,第一代RMBP光荣退伍,虽然是三年前的老电脑,但仍然非常好用,Reimage后跟新的没什么两样。来张配置对比图留念:

2012-rmbp

 

2015-rmbp

MAC用了将近三年,感慨颇多,就不在此文介绍了,有机会在其他独立的文章中聊聊感想。换电脑后第一件事就是恢复老电脑的邮箱,这事比较折腾人,虽然最后弄好了,但还是丢了几个文件夹的邮件,大概3k的邮件损失了,下面详细讲下如何备份MAC的outlook以及如何恢复。

2018-5-29日更新1:

又过了将近三年。。。时间荏苒,这回Mac pro是17款带touch bar的,遗憾的是没赶上18款的,实在等不及了哈哈,另外我感觉最好用的莫属指纹识别解锁了,省去了很多事,只可惜不是所有应用都支持

完整阅读

0

MAC OSX dynamips bundle Loopback Port

在09年我总结过在linux上如何建立tap口,并连接dynampis,传送到《Linux Ubuntu dynamips bundle Loopback Port》,现在工作平台转到MAC上了,MAC如何绑定tap口呢?
首先去http://tuntaposx.sourceforge.net下载相应的driver并安装,安装后你就可以看到dev中已经有相应的设备了:

x-mac:dev yong$ ls /dev/tap*
/dev/tap0	/dev/tap11	/dev/tap14	/dev/tap3	/dev/tap6	/dev/tap9
/dev/tap1	/dev/tap12	/dev/tap15	/dev/tap4	/dev/tap7
/dev/tap10	/dev/tap13	/dev/tap2	/dev/tap5	/dev/tap8

完整阅读

0

PVST与PVST+的区别(转)

PVST BPDU的格式和STP/RSTP BPDU格式已经不一样,发送的目的地址也改成了Cisco保留地址01-00-0C-CC-CC-CD,而且在VLAN Trunk的情况下PVST BPDU被打上了802.1Q VLAN标签。所以,PVST协议并不兼容STP/RSTP协议。

Cisco很快又推出了经过改进的PVST+协议,并成为了交换机产品的默认生成树协议。经过改进的PVST+协议在VLAN 1上运行的是普通STP协议,在其他VLAN上运行PVST协议。PVST+协议可以与STP/RSTP互通,在VLAN 1上生成树状态按照STP协议计算。在其他VLAN上,普通交换机只会把PVST BPDU当作多播报文按照VLAN号进行转发。但这并不影响环路的消除,只是有可能VLAN 1和其他VLAN的根桥状态可能不一致。由于每个VLAN都有一棵独立的生成树,单生成树的种种缺陷都被克服了: 完整阅读

0