背景描述:一个客户搭建proxmox ve系统,要求上联出口双网卡绑定bond, proxmox ve下载地址:超链接 记录日期:2020/5/9 前期准备:服务器接好2个网卡 交换机:H3C 1.pve系统支持以下几种bond模式 2.当交换机上的2个端口没有lacp的时候,单纯只做了端口聚合的时候只有第一模式网络才可以通:balance-rr 其他几个模式要么不通要么就是网络掉包丢包影响访问链接. 3.客户要求LACP(802.3ad)模式或者最后一种balance-alb模式,这边采用LA…
一.CentOS 查看外网出口IP 1---------------- # curl ifconfig.me 2----------------# curl icanhazip.com 二.Traceroute最简单的基本用法是:traceroute hostname Traceroute程序的设计是利用ICMP及IP header的TTL(Time To Live)栏位(field).首先,traceroute送出一个TTL是1的IP datagram(其实,每次送出的为3个40字节的包,包括…
VMware虚拟机有三种网络模式,分别是Bridged(桥接模式).NAT(网络地址转换模式).Host-only(主机模式). VMware workstation安装好之后会多出两个网络连接,分别是VMware Network Adapter VMnet1和VMware Network Adapter VMnet8,这两个是可以在主机的网络连接中可以查看到的,还有一个是VMnet0,可以在virtual network editor中看到.这三个虚拟网络都是VMware安装好之后自动生成的,…
Curl 纯文本格式输出: curl icanhazip.com curl ifconfig.me curl curlmyip.com curl ip.appspot.com curl ipinfo.io/ip curl ipecho.net/plain curl www.trackip.net/i curl JSON格式输出: curl ipinfo.io/jsoncurl ifconfig.me/all.jsoncurl www.trackip.net/ip?json (有点丑陋) curl…
curl ifconfig.me 或 curl cip.cc…
原文:http://www.cnblogs.com/wudonghang/p/354289a61129731e7d2075968356e6ad.html Curl 纯文本格式输出: curl icanhazip.com curl ifconfig.me curl curlmyip.com curl ip.appspot.com curl ipinfo.io curl ipecho.net/plain curl www.trackip.net/i curl JSON格式输出: curl ipinf…
临时生效方法(添加路由网关),执行: #route add default gw 192.168.92.1   #根据实际网关IP填写 如果不行,使用下面方法: 一:使用 route 命令添加使用route 命令添加的路由,机器重启或者网卡重启后路由就失效了,方法://添加到主机的路由# route add –host 192.168.1.11 dev eth0# route add –host 192.168.1.12 gw 192.168.1.1//添加到网络的路由# route add –…
操作环境Oracle Linux Server release 6.4内核Linux rac1 2.6.39-400.17.1.el6uek.x86_64 [root@RAC-2 ~]# vi /etc/sysconfig/network-scripts/ifcfg-bond0DEVICE=bond0 BOOTPROTO=static IPADDR=192.168.254.2 NETMASK=255.255.255.0 BROADCAST=192.168.254.1 ONBOOT=yes TYP…
static void Main()         {             string baseAddress = "http://localhost:4004/";             /*Render application             Application.EnableVisualStyles();             Application.SetCompatibleTextRenderingDefault(false);            …
下载:redis-3.2.5.tar.gz 拷贝到指定目录解压:tar -xzvf redis-3.2.5.tar.gz 进入到解压目录redis-3.2.5下安装: makemake install 安装成功后需要配置:redis.conf 编辑如下(红色部分): # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started w…