首页 > 技术文章 > 配置bond过程中出现的问题

dayu-liu 2019-09-24 10:50 原文

 

 

***************
有bond1时候的route
***************
[root@dbjf-otc-db1 network-scripts]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 bond1
10.17.28.0      0.0.0.0         255.255.252.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1009   0        0 bond1
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 bond

*****************
修改完bond1之后的route
*****************
[root@dbjf-otc-db1 network-scripts]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 bond1
10.17.28.0      0.0.0.0         255.255.252.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1009   0        0 bond1
0.0.0.0         10.17.28.4      0.0.0.0         UG    0      0        0 bond0




*****************
修改完bond1之后的route
*****************
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 bond1
10.17.28.0      0.0.0.0         255.255.252.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1009   0        0 bond1




[root@dbjf-otc-db1 network-scripts]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.17.28.0      0.0.0.0         255.255.252.0   U     0      0        0 bond0
169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 bond0

 

推荐阅读