ipv6以太坊测评 以太网ipv6是什么

本篇文章给大家谈谈ipv6以太坊测评,以及以太网ipv6是什么对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

linux配置ip_静态ip/动态ip/临时ip的配置方法步骤

配置 静态 ip

配置网络需要的文件 ifcfg-eth0文件 路径:eth/sysconfig/network-scripts/ifcfg-eth0

ifcfg-eth0文件配置解析:

TYPE=Ethernet

DEVICE=eth0

BOOTPROTO=none

ONBOOT=yes

IPADDR=10.0.1.27

NETMASK=255.255.255.0

GATEWAY=10.0.1.1

BROADCAST=10.10.1.255

HWADDR=00:0C:29:13:5D:74

PEERDNS=yes

DNS1=10.0.1.41

USERCTL=no

NM_CONTROLLED=no

IPV6INIT=yes

IPV6ADDR=FD55:faaf:e1ab:1B0D:10:14:24:106/64

1. 配置参数说明

注:这些参数值不区分大小写,不区分单引号和双引号,甚至可以不用引号。

TYPE:配置文件接口类型。在/etc/sysconfig/network-scripts/目录有多种网络配置文件,有Ethernet 、IPsec等类型,网络接口类型为Ethernet。

DEVICE:网络接口名称

BOOTPROTO:系统启动地址协议

none:不使用启动地址协议

bootp:BOOTP协议

dhcp:DHCP动态地址协议

static:静态地址协议

ONBOOT:系统启动时是否激活

yes:系统启动时激活该网络接口

no:系统启动时不激活该网络接口

IPADDR:IP地址

NETMASK:子网掩码

GATEWAY:网关地址

BROADCAST:广播地址

HWADDR/MACADDR:MAC地址。只需设置其中一个,同时设置时不能相互冲突。

PEERDNS:是否指定DNS。如果使用DHCP协议,默认为yes。

yes:如果DNS设置,修改/etc/resolv.conf中的DNS

no:不修改/etc/resolv.conf中的DNS

DNS{1, 2}:DNS地址。当PEERDNS为yes时会被写入/etc/resolv.conf中。

NM_CONTROLLED:是否由Network

Manager控制该网络接口。修改保存后立即生效,无需重启。被其坑过几次,建议一般设为no。 yes:由Network Manager控制

no:不由Network Manager控制

USERCTL:用户权限控制

yes:非root用户允许控制该网络接口

no:非root用户不运行控制该网络接口

IPV6INIT:是否执行IPv6

yes:支持IPv6

no:不支持IPv6

IPV6ADDR:IPv6地址/前缀长度

2.配置生效

为了使网络配置永久有效,就需要在/etc/sysconfig/network-scripts/下修改网络接口配置文件。但是,这些文件修改后,并不能立即生效。有两种方式使修改文件的网络配置生效:

(1) 执行service network restart命令,重启网络服务(推荐)

(2) 重启计算机

配置 动态 ip(自动分配)

使用chkconfig命令让网络服务在系统启动级别是2345时默认启动。

chkconfig –level 2345 network on

修改ifcfg-eth0文件,设置ONBOOT的值为yes,让网络服务启动时使用该网卡。设置BOOTPROTO的值为dhcp,让网卡从DHCP服务器自动获取IP地址。

修改ifcfg-eth0文件,设置ONBOOT的值为yes,让网络服务启动时使用该网卡。设置BOOTPROTO的值为dhcp,让网卡从DHCP服务器自动获取IP地址。

使用 命令 修改 vi /etc/sysconfig/network-scripts/ifcfg-eth0

ONBOOT=yes

BOOTPROTO=dhcp

临时 配置 ip

使用命令来执行 ifconfig eth0 192.168.0.1(自己要设置的IP)这个命令是更改主机IP ,回车后你什么都看不到,就表示成功了,但是此命令所做的更改在下次重启后就会失效。

ifconfig eth0 network 255.255.255.0(自己设置的子网掩码)该命令是设置主机的子网掩码,所做的设置也是临时的。

linux grep命令详解

简介

grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大ipv6以太坊测评的文本搜索工具,它能使用正则表达式搜索文本,并把匹配ipv6以太坊测评的行打印出来。

Unix的grep家族包括grep、egrep和fgrep。egrep和fgrep的命令只跟grep有很小不同。egrep是grep的扩展,支持更多的re元字符, fgrep就是fixed grep或fast grep,它们把所有的字母都看作单词,也就是说,正则表达式中的元字符表示回其自身的字面意义,不再特殊。linux使用GNU版本的grep。它功能更强,可以通过-G、-E、-F命令行选项来使用egrep和fgrep的功能。

grep常用用法

[root@www ~]#grep[-acinv] [--color=auto]'搜寻字符串' filename

选项与参数ipv6以太坊测评:-a :将 binary 文件以 text 文件的方式搜寻数据-c :计算找到'搜寻字符串' 的次数-i :忽略大小写的不同,所以大小写视为相同-n :顺便输出行号-v :反向选择,亦即显示出没有'搜寻字符串' 内容的那一行!--color=auto :可以将找到的关键词部分加上颜色的显示喔!

 

将/etc/passwd,有出现 root 的行取出来

# greproot /etc/passwdroot:x:0:0:root:/root:/bin/bash

operator:x:11:0:operator:/root:/sbin/nologin

或# cat/etc/passwd|grep root

root:x:0:0:root:/root:/bin/bash

operator:x:11:0:operator:/root:/sbin/nologin

将/etc/passwd,有出现 root 的行取出来,同时显示这些行在/etc/passwd的行号

#grep-n root /etc/passwd1:root:x:0:0:root:/root:/bin/bash30:operator:x:11:0:operator:/root:/sbin/nologin

 在关键字的显示方面,grep 可以使用 --color=auto 来将关键字部分使用颜色显示。 这可是个很不错的功能啊!但是如果每次使用 grep 都得要自行加上 --color=auto 又显的很麻烦~ 此时那个好用的 alias 就得来处理一下啦!ipv6以太坊测评你可以在 ~/.bashrc 内加上这行:『alias grep='grep --color=auto'』再以『 source ~/.bashrc 』来立即生效即可喔! 这样每次运行 grep 他都会自动帮ipv6以太坊测评你加上颜色显示啦

将/etc/passwd,将没有出现 root 的行取出来

#grep-v root /etc/passwdroot:x:0:0:root:/root:/bin/bash

operator:x:11:0:operator:/root:/sbin/nologin

将/etc/passwd,将没有出现 root 和nologin的行取出来

#grep-v root /etc/passwd|grep-v nologin

root:x:0:0:root:/root:/bin/bash

operator:x:11:0:operator:/root:/sbin/nologin

用 dmesg 列出核心信息,再以 grep 找出内含 eth 那行,要将捉到的关键字显色,且加上行号来表示:

[root@www ~]# dmesg |grep-n --color=auto'eth'247:eth0: RealTek RTL8139 at0xee846000,00:90:cc:a6:34:84, IRQ10248:eth0: Identified8139chip type'RTL-8139C'294:eth0: link up, 100Mbps, full-duplex, lpa0xC5E1305:eth0: no IPv6 routers present

# 你会发现除了 eth 会有特殊颜色来表示之外,最前面还有行号喔!

在关键字的显示方面,grep 可以使用 --color=auto 来将关键字部分使用颜色显示。 这可是个很不错的功能啊!但是如果每次使用 grep 都得要自行加上 --color=auto 又显的很麻烦~ 此时那个好用的 alias 就得来处理一下啦!你可以在 ~/.bashrc 内加上这行:『alias grep='grep --color=auto'』再以『 source ~/.bashrc 』来立即生效即可喔! 这样每次运行 grep 他都会自动帮你加上颜色显示啦

用 dmesg 列出核心信息,再以 grep 找出内含 eth 那行,在关键字所在行的前两行与后三行也一起捉出来显示

[root@www ~]# dmesg |grep-n -A3 -B2 --color=auto'eth'245-PCI: setting IRQ10as level-triggered246-ACPI: PCI Interrupt0000:00:0e.0[A] - Link [LNKB] ...247:eth0: RealTek RTL8139 at0xee846000,00:90:cc:a6:34:84, IRQ10248:eth0: Identified8139chip type'RTL-8139C'249-input: PC Speaker as /class/input/input2250-ACPI: PCI Interrupt0000:00:01.4[B] - Link [LNKB] ...251-hdb: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)

# 如上所示,你会发现关键字 247所在的前两行及248 后三行也都被显示出来!

# 这样可以让你将关键字前后数据捉出来进行分析啦!

根据文件内容递归查找目录

#grep‘energywise’ *          #在当前目录搜索带'energywise'行的文件

# grep-r ‘energywise’ *        #在当前目录及其子目录下搜索'energywise'行的文件

# grep-l -r ‘energywise’ *    #在当前目录及其子目录下搜索'energywise'行的文件,但是不显示匹配的行,只显示匹配的文件

这几个命令很使用,是查找文件的利器。

grep与正规表达式

 字符类

字符类的搜索:如果我想要搜寻 test 或 taste 这两个单字时,可以发现到,其实她们有共通的 't?st' 存在~这个时候,我可以这样来搜寻:

[root@www ~]#grep-n't[ae]st' regular_express.txt8:I can't finish the test.9:Oh! The soup taste good.

其实 [] 里面不论有几个字节,他都谨代表某『一个』字节, 所以,上面的例子说明了,我需要的字串是『tast』或『test』两个字串而已!

字符类的反向选择 [^] :如果想要搜索到有 oo 的行,但不想要 oo 前面有 g,如下

[root@www ~]#grep-n'[^g]oo' regular_express.txt2:apple is my favorite food.3:Football game is not use feet only.18:google is the best toolsfor search keyword.19:goooooogle yes!

第 2,3 行没有疑问,因为 foo 与 Foo 均可被接受!

但是第 18 行明明有 google 的 goo 啊~别忘记了,因为该行后面出现了 tool 的 too 啊!所以该行也被列出来~ 也就是说, 18 行里面虽然出现了我们所不要的项目 (goo) 但是由於有需要的项目 (too) , 因此,是符合字串搜寻的喔!

至於第 19 行,同样的,因为 goooooogle 里面的 oo 前面可能是 o ,例如: go(ooo)oogle ,所以,这一行也是符合需求的!

字符类的连续:再来,假设我 oo 前面不想要有小写字节,所以,我可以这样写 [^abcd....z]oo , 但是这样似乎不怎么方便,由於小写字节的 ASCII 上编码的顺序是连续的, 因此,我们可以将之简化为底下这样:

[root@www ~]#grep-n'[^a-z]oo' regular_express.txt3:Football game is not use feet only.

也就是说,当我们在一组集合字节中,如果该字节组是连续的,例如大写英文/小写英文/数字等等, 就可以使用[a-z],[A-Z],[0-9]等方式来书写,那么如果我们的要求字串是数字与英文呢? 呵呵!就将他全部写在一起,变成:[a-zA-Z0-9]。

我们要取得有数字的那一行,就这样:

[root@www ~]#grep-n'[0-9]' regular_express.txt5:However, this dress is about $3183 dollars.15:You are the best is mean you are the no.1.

行首与行尾字节 ^ $

行首字符:如果我想要让 the 只在行首列出呢? 这个时候就得要使用定位字节了!我们可以这样做:

[root@www ~]#grep-n'^the' regular_express.txt12:the symbol'*'is represented as start.

此时,就只剩下第 12 行,因为只有第 12 行的行首是 the 开头啊~此外, 如果我想要开头是小写字节的那一行就列出呢?可以这样:

[root@www ~]#grep-n'^[a-z]' regular_express.txt2:apple is my favorite food.4:this dress doesn't fit me.10:motorcycle is cheap than car.12:the symbol'*' is represented as start.18:google is the best toolsfor search keyword.19:goooooogle yes!20:go! go! Let's go.

如果我不想要开头是英文字母,则可以是这样:

[root@www ~]#grep-n'^[^a-zA-Z]' regular_express.txt1:"Open Source" is a good mechanism to develop programs.21:# I am VBird

^ 符号,在字符类符号(括号[])之内与之外是不同的! 在 [] 内代表『反向选择』,在 [] 之外则代表定位在行首的意义!

那如果我想要找出来,行尾结束为小数点 (.) 的那一行:

[root@www ~]#grep-n'\.$' regular_express.txt1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.4:this dress doesn't fit me.10:motorcycle is cheap than car.11:This window isclear.12:the symbol'*' is represented as start.15:You are the best is mean you are the no.1.16:The world is the same with"glad".17:I like dog.18:google is the best toolsfor search keyword.20:go! go! Let's go.

特别注意到,因为小数点具有其他意义(底下会介绍),所以必须要使用转义字符(\)来加以解除其特殊意义!

找出空白行:

[root@www ~]#grep-n'^$' regular_express.txt22:

因为只有行首跟行尾 (^$),所以,这样就可以找出空白行啦!

任意一个字节 . 与重复字节 *

这两个符号在正则表达式的意义如下:

. (小数点):代表『一定有一个任意字节』的意思;* (星号):代表『重复前一个字符,0到无穷多次』的意思,为组合形态

假设我需要找出 g??d 的字串,亦即共有四个字节, 起头是 g 而结束是 d ,我可以这样做:

[root@www ~]#grep-n'g..d' regular_express.txt1:"Open Source" is a good mechanism to develop programs.9:Oh! The soup taste good.16:The world is the same with"glad".

因为强调 g 与 d 之间一定要存在两个字节,因此,第 13 行的 god 与第 14 行的 gd 就不会被列出来啦!

如果我想要列出有 oo, ooo, oooo 等等的数据, 也就是说,至少要有两个(含) o 以上,该如何是好?

因为 * 代表的是『重复 0 个或多个前面的 RE 字符』的意义, 因此,『o*』代表的是:『拥有空字节或一个 o 以上的字节』,因此,『 grep -n 'o*' regular_express.txt 』将会把所有的数据都列印出来终端上!

当我们需要『至少两个 o 以上的字串』时,就需要 ooo* ,亦即是:

[root@www ~]#grep-n'ooo*' regular_express.txt1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.9:Oh! The soup taste good.18:google is the best toolsfor search keyword.19:goooooogle yes!

如果我想要字串开头与结尾都是 g,但是两个 g 之间仅能存在至少一个 o ,亦即是 gog, goog, gooog.... 等等,那该如何?

[root@www ~]#grep-n'goo*g' regular_express.txt18:google is the best toolsfor search keyword.19:goooooogle yes!

如果我想要找出 g 开头与 g 结尾的行,当中的字符可有可无

[root@www ~]#grep-n'g.*g' regular_express.txt1:"Open Source" is a good mechanism to develop programs.14:The gd software is a libraryfor drafting programs.18:google is the best toolsfor search keyword.19:goooooogle yes!20:go! go! Let's go.

因为是代表 g 开头与 g 结尾,中间任意字节均可接受,所以,第 1, 14, 20 行是可接受的喔! 这个 .* 的 RE 表示任意字符是很常见的.

如果我想要找出『任意数字』的行?因为仅有数字,所以就成为:

[root@www ~]#grep-n'[0-9][0-9]*' regular_express.txt5:However, this dress is about $3183 dollars.15:You are the best is mean you are the no.1.

限定连续 RE 字符范围 {}

我们可以利用 . 与 RE 字符及 * 来配置 0 个到无限多个重复字节, 那如果我想要限制一个范围区间内的重复字节数呢?

举例来说,我想要找出两个到五个 o 的连续字串,该如何作?这时候就得要使用到限定范围的字符 {} 了。 但因为 { 与 } 的符号在 shell 是有特殊意义的,因此, 我们必须要使用字符   \ 来让他失去特殊意义才行。 至於 {} 的语法是这样的,假设我要找到两个 o 的字串,可以是:

[root@www ~]#grep-n'o\{2\}' regular_express.txt1:"Open Source" is a good mechanism to develop programs.2:apple is my favorite food.3:Football game is not use feet only.9:Oh! The soup taste good.18:google is the best toolsfor search ke19:goooooogle yes!

假设我们要找出 g 后面接 2 到 5 个 o ,然后再接一个 g 的字串,他会是这样:

[root@www ~]#grep-n'go\{2,5\}g' regular_express.txt18:google is the best toolsforsearch keyword.

如果我想要的是 2 个 o 以上的 goooo....g 呢?除了可以是 gooo*g ,也可以是:

[root@www ~]#grep-n'go\{2,\}g' regular_express.txt18:google is the best toolsfor search keyword.19:goooooogle yes!

扩展grep(grep -E 或者 egrep):

使用扩展grep的主要好处是增加了额外的正则表达式元字符集。

打印所有包含NW或EA的行。如果不是使用egrep,而是grep,将不会有结果查出。

#egrep'NW|EA' testfile   

    northwest      NW      Charles Main        3.0.98334    eastern        EA      TB Savage          4.4.84520

对于标准grep,如果在扩展元字符前面加\,grep会自动启用扩展选项-E。

#grep'NW\|EA' testfile

northwest      NW      Charles Main        3.0.98334eastern        EA      TB Savage          4.4.84520

搜索所有包含一个或多个3的行。

#egrep'3+' testfile

# grep-E'3+' testfile

# grep'3\+' testfile       

#这3条命令将会

northwest      NW      Charles Main          3.0.98334western        WE      Sharon Gray          5.3.97523northeast      NE      AM Main Jr.          5.1.94313central        CT      Ann Stephens          5.7.94513

搜索所有包含0个或1个小数点字符的行。

#egrep'2\.?[0-9]' testfile

# grep-E'2\.?[0-9]' testfile

# grep'2\.\?[0-9]' testfile

#首先含有2字符,其后紧跟着0个或1个点,后面再是0和9之间的数字。

western        WE      Sharon Gray          5.3.97523southwest      SW      Lewis Dalsass        2.7.8218eastern        EA      TB Savage            4.4.84520

搜索一个或者多个连续的no的行。

#egrep'(no)+' testfile

# grep-E'(no)+' testfile

# grep'\(no\)\+' testfile  #3个命令返回相同结果,

northwest      NW      Charles Main        3.0.98334northeast      NE      AM Main Jr.        5.1.94313north          NO      Margot Weber        4.5.8959

不使用正则表达式

fgrep 查询速度比grep命令快,但是不够灵活:它只能找固定的文本,而不是规则表达式。

如果你想在一个文件或者输出中找到包含星号字符的行

fgrep  '*' /etc/profile

for i in /etc/profile.d/*.sh ; do

grep -F '*' /etc/profile

for i in /etc/profile.d/*.sh ; do

downdelaybond配置

bond的配置实例

1、测试环境

[root@wjq2 ~]# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.4 (Santiago)

[root@wjq2 ~]# uname -r

2.6.32-358.el6.x86_64

2、查看linux是否支持bonding,大部分发行版都支持

[root@wjq2 ~]# cat /boot/config-2.6.32-358.el6.x86_64 | grep -i bonding

CONFIG_BONDING=m

或者

[root@wjq2 ~]# modinfo bonding | more

filename: /lib/modules/2.6.32-358.el6.x86_64/kernel/drivers/net/bonding/bonding.ko

author: Thomas Davis, tadavis@lbl.gov and many others

description: Ethernet Channel Bonding Driver, v3.6.0

version: 3.6.0

license: GPL

srcversion: 990DDFEBDBA03F305236885

depends: 8021q,ipv6

vermagic: 2.6.32-358.el6.x86_64 SMP mod_unload modversions

parm: max_bonds:Max number of bonded devices (int)

parm: tx_queues:Max number of transmit queues (default = 16) (int)

parm: num_grat_arp:Number of gratuitous ARP packets to send on failover event (int)

parm: num_unsol_na:Number of unsolicited IPv6 Neighbor Advertisements packets to send on failover event (int)

parm: miimon:Link check interval in milliseconds (int)

parm: updelay:Delay before considering link up, in milliseconds (int)

parm: downdelay:Delay before considering link down, in milliseconds (int)

parm: use_carrier:Use netif_carrier_ok (vs MII ioctls) in miimon; 0 for off, 1 for on (default) (int)

parm: mode:Mode of operation; 0 for balance-rr, 1 for active-backup, 2 for balance-xor, 3 for broadcast, 4 fo

r 802.3ad, 5 for balance-tlb, 6 for balance-alb (charp)

parm: primary:Primary network device to use (charp)

parm: primary_reselect:Reselect primary slave once it comes up; 0 for always (default), 1 for only if speed o

f primary is better, 2 for only on active slave failure (charp)

parm: lacp_rate:LACPDU tx rate to request from 802.3ad partner; 0 for slow, 1 for fast (charp)

parm: ad_select:803.ad aggregation selection logic; 0 for stable (default), 1 for bandwidth, 2 for count (cha

rp)

parm: xmit_hash_policy:balance-xor and 802.3ad hashing method; 0 for layer 2 (default), 1 for layer 3+4, 2 fo

r layer 2+3 (charp)

parm: arp_interval:arp interval in milliseconds (int)

parm: arp_ip_target:arp targets in n.n.n.n form (array of charp)

parm: arp_validate:validate src/dst of ARP probes; 0 for none (default), 1 for active, 2 for backup, 3 for al

l (charp)

如输出以上信息,则说明支持bonding,如果没有,说明内核不支持bonding,需要重新编译内核

3、查看现有网卡的配置信息

[root@wjq2 ~]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:50:56:B5:4F:F5

inet addr:10.1.1.58 Bcast:10.1.1.255 Mask:255.255.255.0

inet6 addr: fe80::250:56ff:feb5:4ff5/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1302 errors:0 dropped:0 overruns:0 frame:0

TX packets:300 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:105872 (103.3 KiB) TX bytes:38427 (37.5 KiB)

eth1 Link encap:Ethernet HWaddr 00:50:56:B5:2D:0F

inet addr:10.1.1.59 Bcast:10.1.1.255 Mask:255.255.255.0

inet6 addr: fe80::250:56ff:feb5:2d0f/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:923 errors:0 dropped:0 overruns:0 frame:0

TX packets:18 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:69365 (67.7 KiB) TX bytes:1240 (1.2 KiB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:8 errors:0 dropped:0 overruns:0 frame:0

TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:440 (440.0 b) TX bytes:440 (440.0 b)

4、修改物理网卡配置文件

两个物理网口分别是:eth0,eth1 绑定后的虚拟口是:bond0

[root@wjq2 network-scripts]# vim ifcfg-eth0

DEVICE=eth0

TYPE=Ethernet

UUID=adc59d0e-8c6c-4d03-8f98-d77ef5131208

ONBOOT=yes

NM_CONTROLLED=no

BOOTPROTO=none

MASTER=bond0

SLAVE=yes #可以没有此字段,就需要开机执行ifenslave bond0 eth0 eth1命令了

DEFROUTE=yes

IPV4_FAILURE_FATAL=yes

IPV6INIT=no

NAME=”System eth0″

HWADDR=00:50:56:b5:4f:f5

[root@wjq2 network-scripts]# vim ifcfg-eth1

DEVICE=eth1

TYPE=Ethernet

UUID=3fca3e29-7fd1-4355-86c2-2f76e43f4d9c

ONBOOT=yes

NM_CONTROLLED=no

BOOTPROTO=none

HWADDR=00:50:56:b5:2d:0f

MASTER=bond0

SLAVE=yes #可以没有此字段,就需要开机执行ifenslave bond0 eth0 eth1命令了

DEFROUTE=yes

IPV4_FAILURE_FATAL=yes

IPV6INIT=no

NAME=”System eth1″

5、配置逻辑网卡bond0

ifcfg-bond0配置文件需要我们手工创建

[root@wjq2 network-scripts]# vim ifcfg-bond0

DEVICE=bond0

NAME=’System bond0′

TYPE=Ethernet

NM_CONTROLLED=no

USERCTL=no

ONBOOT=yes

BOOTPROTO=none

IPADDR=10.1.1.100

NETMASK=255.255.255.0

GATEWAY=10.1.1.249

6、加载模块,让系统支持bonding

/etc/modprobe.d/modprobe.conf不存在的话,可以手动创建或者使用/etc/modprobe.d/dist.conf文件也可以

写到这里,本文关于ipv6以太坊测评和以太网ipv6是什么的介绍到此为止了,如果能碰巧解决你现在面临的问题,如果你还想更加了解这方面的信息,记得收藏关注本站。

评论