设置RHEL 6.5优先使用Wifi网络,次优先使用本地eth0网络

在RHEL6.5上设置了两个网络,一个使用无线网卡连接上Wifi网络,另一个使用eth0网线,两个网络都正确分配了网络地址,可以正常连通。理想状况是,使用Wifi网络连接互连网,本地eth0网卡连接网线,连接本地路由,不上网。那么问题来了,现在电脑优先使用本地eth0网线,无法连接互联网,可以看到,ping 8.8.8.8没有走192.168.0.1连接互联网,转而走了192.168.26.2的本地eth0网络,症状如下: [root@ipa ~]# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.26.2 icmp_seq=1 Destination Net Unreachable From 192.168.26.2 icmp_seq=2 Destination Net Unreachable From 192.168.26.2 icmp_seq=3 Destination Net Unreachable 两个网络状态显示如下, 192.168.0.* wlan0 网络是本地Wifi路由,连接了上互联网的路由器。 192.168.26.* eth0 网络是本地eth0网线,连接了不上网的路由器,主要是访问本地网络。 [root@ipa ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:8B:AF:22:C2 inet addr:192.168.26.120 Bcast:192.168.26.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:feaf:22c2/64 Scope:Link UP […]

Problem after VirtualBox upgrade – Network & USB

After upgrade my VirtualBox from version 5.0.18 to version 5.0.20, both network and USB cannot work anymore, 1, Network issue, the virtual instance cannot start at all. It reads Failed to open/create the internal network ‘HostInterfaceNetworking-VirtualBox Host – Only Ethernet Adapter #3’ (VERR_INTNET_IF_NOT_FOUND). Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND). Result Code: E_FAIL (0x80004005) Component: […]