QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8363|回复: 0

centos7 必须先关闭网卡 然后在重新打开 才能上网

[复制链接]
发表于 2014-12-5 08:05:39 | 显示全部楼层 |阅读模式
新安装的centos7,使用中发现, 每次重启系统后都必须先关闭网卡 然后在重新打开才能上网。网卡设置的是开机启动,开机后看网卡的状态很正常,各个网络参数的设置也很正确(校园网,动态ip),可是登陆锐捷时提示正常登陆,但是无法打开网页,必须把网卡由On变为Off,然后再On才能登陆网页。请教下这是什么原因?网卡驱动的问题?
未登录锐捷时的网络信息:
[@localhost ]$ ifconfig -a
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.128.xx.xxx netmask 255.255.255.0  broadcast 10.128.xx.xxx
        inet6 fe80::d685:64ff:fea2:959b  prefixlen 64  scopeid 0x20<link>
        inet6 2001:250:1004:144:d685:64ff:fea2:959b  prefixlen 64  scopeid 0x0<global>
        ether d4:85:64:a2:95:9b  txqueuelen 1000  (Ethernet)
        RX packets 431  bytes 45205 (44.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 79  bytes 9605 (9.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  memory 0xf3000000-f3020000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 13  bytes 1360 (1.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 1360 (1.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
登录锐捷后:
[@localhost ]$ ifconfig -a
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.128.xx.xxx  netmask 255.255.255.0  broadcast 10.128.xx.xxx
        inet6 fe80::d685:64ff:fea2:959b  prefixlen 64  scopeid 0x20<link>
        inet6 2001:250:1004:144:d685:64ff:fea2:959b  prefixlen 64  scopeid 0x0<global>
        ether d4:85:64:a2:95:9b  txqueuelen 1000  (Ethernet)
        RX packets 907  bytes 92404 (90.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 107  bytes 15387 (15.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  memory 0xf3000000-f3020000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 13  bytes 1360 (1.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 1360 (1.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
登录锐捷并重新启动网卡后:
[@localhost ]$ ifconfig -a
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.128.xx.xxx  netmask 255.255.255.0  broadcast 10.128.xx.xxx
        inet6 fe80::d685:64ff:fea2:959b  prefixlen 64  scopeid 0x20<link>
        inet6 2001:250:1004:144:d685:64ff:fea2:959b  prefixlen 64  scopeid 0x0<global>
        ether d4:85:64:a2:95:9b  txqueuelen 1000  (Ethernet)
        RX packets 2616  bytes 833557 (814.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1009  bytes 127475 (124.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  memory 0xf3000000-f3020000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 17  bytes 1780 (1.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17  bytes 1780 (1.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 18:18 , Processed in 0.036991 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表