当前位置: 技术问答>linux和unix
Ubuntu设置成静态IP地址、网关、DNS后无法上网
来源: 互联网 发布时间:2016-02-06
本文导语: ifconfig eth0 提示信息: eth0 Link encap:Ethernet HWaddr 00:1A:92:DA:BC:C8 inet6 addr: fe80::21a:92ff:feda:bcc8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2...
ifconfig eth0 提示信息:
eth0 Link encap:Ethernet HWaddr 00:1A:92:DA:BC:C8
inet6 addr: fe80::21a:92ff:feda:bcc8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2874 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1100143 (1.0 MiB) TX bytes:468 (468.0 b)
Interrupt:225 Base address:0xac00
设置成了静态IP:172.16.16.133 255.255.0.0
网关:172.16.1.1
DNS:172.16.1.1
重新启动后发现上不了网。
eth0 Link encap:Ethernet HWaddr 00:1A:92:DA:BC:C8
inet6 addr: fe80::21a:92ff:feda:bcc8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2874 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1100143 (1.0 MiB) TX bytes:468 (468.0 b)
Interrupt:225 Base address:0xac00
设置成了静态IP:172.16.16.133 255.255.0.0
网关:172.16.1.1
DNS:172.16.1.1
重新启动后发现上不了网。
|
IPv6居然~~~~