1,737
社区成员
发帖
与我相关
我的任务
分享
root@iis-Lenovo:~/ur0svn/trunk# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
root@iis-Lenovo:~/ur0svn/trunk# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.200
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 180.76.76.76
dns-nameservers 223.5.5.5
root@iis-Lenovo:~/ur0svn/trunk# ifconfig
eth0 Link encap:Ethernet HWaddr 44:8a:5b:bf:73:c8
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::468a:5bff:febf:73c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57048 errors:0 dropped:0 overruns:0 frame:0
TX packets:30695 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9744051 (9.7 MB) TX bytes:18666084 (18.6 MB)
Interrupt:45 Base address:0xe000
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:65536 Metric:1
RX packets:2145 errors:0 dropped:0 overruns:0 frame:0
TX packets:2145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:150435 (150.4 KB) TX bytes:150435 (150.4 KB)