当前位置: 首页 > news >正文

宁夏网站建设哪家好上海工商网查询企业信息查询系统

宁夏网站建设哪家好,上海工商网查询企业信息查询系统,网站建设域名怎么选择,网站风格抄袭许多windows非常熟悉ipconfig命令行工具#xff0c;它被用来获取网络接口配置信息并对此进行修改。Linux系统拥有一个类似的工具#xff0c;也就是ifconfig(interfaces config)。通常需要以root身份登录或使用sudo以便在Linux机器上使用ifconfig工具。依赖于ifconfig命令中使…许多windows非常熟悉ipconfig命令行工具它被用来获取网络接口配置信息并对此进行修改。Linux系统拥有一个类似的工具也就是ifconfig(interfaces config)。通常需要以root身份登录或使用sudo以便在Linux机器上使用ifconfig工具。依赖于ifconfig命令中使用一些选项属性ifconfig工具不仅可以被用来简单地获取网络接口配置信息还可以修改这些配置。 1命令格式 ifconfig [网络设备] [参数] 2命令功能 ifconfig 命令用来查看和配置网络设备。当网络环境发生改变时可通过此命令对网络进行相应的配置。 3命令参数 up 启动指定网络设备/网卡。 down 关闭指定网络设备/网卡。该参数可以有效地阻止通过指定接口的IP信息流如果想永久地关闭一个接口我们还需要从核心路由表中将该接口的路由信息全部删除。 arp 设置指定网卡是否支持ARP协议。 -promisc 设置是否支持网卡的promiscuous模式如果选择此参数网卡将接收网络中发给它所有的数据包 -allmulti 设置是否支持多播模式如果选择此参数网卡将接收网络中所有的多播数据包 -a 显示全部接口信息 -s 显示摘要信息类似于 netstat -i add 给指定网卡配置IPv6地址 del 删除指定网卡的IPv6地址 硬件地址 配置网卡最大的传输单元 mtu字节数 设置网卡的最大传输单元 (bytes) netmask子网掩码 设置网卡的子网掩码。掩码可以是有前缀0x的32位十六进制数也可以是用点分开的4个十进制数。如果不打算将网络分成子网可以不管这一选项如果要使用子网那么请记住网络中每一个系统必须有相同子网掩码。 tunel 建立隧道 dstaddr 设定一个远端地址建立点对点通信 -broadcast地址 为指定网卡设置广播协议 -pointtopoint地址 为网卡设置点对点通讯协议 multicast 为网卡设置组播标志 address 为网卡设置IPv4地址 txqueuelen长度 为网卡设置传输列队的长度 4使用实例 实例1显示网络设备信息激活状态的 命令 ifconfig 输出 [rootlocalhost ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:50:56:BF:26:20             inet addr:192.168.120.204  Bcast:192.168.120.255  Mask:255.255.255.0           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:8700857 errors:0 dropped:0 overruns:0 frame:0           TX packets:31533 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:596390239 (568.7 MiB)  TX bytes:2886956 (2.7 MiB) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:68 errors:0 dropped:0 overruns:0 frame:0           TX packets:68 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:2856 (2.7 KiB)  TX bytes:2856 (2.7 KiB) 说明 eth0 表示第一块网卡 其中 HWaddr 表示网卡的物理地址可以看到目前这个网卡的物理地址(MAC地址是 00:50:56:BF:26:20 inet addr 用来表示网卡的IP地址此网卡的 IP地址是 192.168.120.204广播地址 Bcast:192.168.120.255掩码地址Mask:255.255.255.0  lo 是表示主机的回坏地址这个一般是用来测试一个网络程序但又不想让局域网或外网的用户能够查看只能在此台主机上运行和查看所用的网络接口。比如把 HTTPD服务器的指定到回坏地址在浏览器输入 127.0.0.1 就能看到你所架WEB网站了。但只是您能看得到局域网的其它主机或用户无从知道。 第一行连接类型Ethernet以太网HWaddr硬件mac地址 第二行网卡的IP地址、子网、掩码 第三行UP代表网卡开启状态RUNNING代表网卡的网线被接上MULTICAST支持组播MTU:1500最大传输单元1500字节 第四、五行接收、发送数据包情况统计 第七行接收、发送数据字节数统计信息。 实例2启动关闭指定网卡 命令 ifconfig eth0 up ifconfig eth0 down 输出 说明 ifconfig eth0 up 为启动网卡eth0 ifconfig eth0 down 为关闭网卡eth0。ssh登陆linux服务器操作要小心关闭了就不能开启了除非你有多网卡。 实例3为网卡配置和删除IPv6地址 命令 ifconfig eth0 add 33ffe:3240:800:1005::2/64 ifconfig eth0 del 33ffe:3240:800:1005::2/64 输出 说明 ifconfig eth0 add 33ffe:3240:800:1005::2/64 为网卡eth0配置IPv6地址 ifconfig eth0 add 33ffe:3240:800:1005::2/64 为网卡eth0删除IPv6地址 练习的时候ssh登陆linux服务器操作要小心关闭了就不能开启了除非你有多网卡。 实例4用ifconfig修改MAC地址 命令 ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE 输出 [rootlocalhost ~]# ifconfig eth0 down //关闭网卡 [rootlocalhost ~]# ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE //修改MAC地址 [rootlocalhost ~]# ifconfig eth0 up //启动网卡 [rootlocalhost ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:AA:BB:CC:DD:EE             inet addr:192.168.120.204  Bcast:192.168.120.255  Mask:255.255.255.0           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:8700857 errors:0 dropped:0 overruns:0 frame:0           TX packets:31533 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:596390239 (568.7 MiB)  TX bytes:2886956 (2.7 MiB) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:68 errors:0 dropped:0 overruns:0 frame:0           TX packets:68 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:2856 (2.7 KiB)  TX bytes:2856 (2.7 KiB) [rootlocalhost ~]# ifconfig eth0 hw ether 00:50:56:BF:26:20 //关闭网卡并修改MAC地址  [rootlocalhost ~]# ifconfig eth0 up //启动网卡 [rootlocalhost ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:50:56:BF:26:20             inet addr:192.168.120.204  Bcast:192.168.120.255  Mask:255.255.255.0           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:8700857 errors:0 dropped:0 overruns:0 frame:0           TX packets:31533 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:596390239 (568.7 MiB)  TX bytes:2886956 (2.7 MiB) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:68 errors:0 dropped:0 overruns:0 frame:0           TX packets:68 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:2856 (2.7 KiB)  TX bytes:2856 (2.7 KiB)  说明 实例5配置IP地址 命令 输出 [rootlocalhost ~]# ifconfig eth0 192.168.120.56  [rootlocalhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0  [rootlocalhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0 broadcast 192.168.120.255 说明 ifconfig eth0 192.168.120.56  给eth0网卡配置IP地192.168.120.56 ifconfig eth0 192.168.120.56 netmask 255.255.255.0  给eth0网卡配置IP地址192.168.120.56 并加上子掩码255.255.255.0 ifconfig eth0 192.168.120.56 netmask 255.255.255.0 broadcast 192.168.120.255 /给eth0网卡配置IP地址192.168.120.56加上子掩码255.255.255.0加上个广播地址 192.168.120.255 实例6启用和关闭ARP协议 命令 ifconfig eth0 arp ifconfig eth0 -arp 输出 [rootlocalhost ~]# ifconfig eth0 arp  [rootlocalhost ~]# ifconfig eth0 -arp 说明 ifconfig eth0 arp 开启网卡eth0 的arp协议 ifconfig eth0 -arp 关闭网卡eth0 的arp协议 实例7设置最大传输单元 命令 ifconfig eth0 mtu 1500 输出 [rootlocalhost ~]# ifconfig eth0 mtu 1480 [rootlocalhost ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:50:56:BF:26:1F             inet addr:192.168.120.203  Bcast:192.168.120.255  Mask:255.255.255.0           UP BROADCAST RUNNING MULTICAST  MTU:1480  Metric:1           RX packets:8712395 errors:0 dropped:0 overruns:0 frame:0           TX packets:36631 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:597062089 (569.4 MiB)  TX bytes:2643973 (2.5 MiB) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:9973 errors:0 dropped:0 overruns:0 frame:0           TX packets:9973 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:518096 (505.9 KiB)  TX bytes:518096 (505.9 KiB) [rootlocalhost ~]# ifconfig eth0 mtu 1500 [rootlocalhost ~]# ifconfig eth0      Link encap:Ethernet  HWaddr 00:50:56:BF:26:1F             inet addr:192.168.120.203  Bcast:192.168.120.255  Mask:255.255.255.0           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:8712548 errors:0 dropped:0 overruns:0 frame:0           TX packets:36685 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:597072333 (569.4 MiB)  TX bytes:2650581 (2.5 MiB) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:9973 errors:0 dropped:0 overruns:0 frame:0           TX packets:9973 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:518096 (505.9 KiB)  TX bytes:518096 (505.9 KiB) [rootlocalhost ~]#  说明 设置能通过的最大数据包大小为 1500 bytes 备注用ifconfig命令配置的网卡信息在网卡重启后机器重启后配置就不存在。要想将上述的配置信息永远的存的电脑里那就要修改网卡的配置文件了。
文章转载自:
http://www.morning.kntsd.cn.gov.cn.kntsd.cn
http://www.morning.sphft.cn.gov.cn.sphft.cn
http://www.morning.kjmcq.cn.gov.cn.kjmcq.cn
http://www.morning.ldhbs.cn.gov.cn.ldhbs.cn
http://www.morning.kpcky.cn.gov.cn.kpcky.cn
http://www.morning.kndst.cn.gov.cn.kndst.cn
http://www.morning.ctlzf.cn.gov.cn.ctlzf.cn
http://www.morning.ctlzf.cn.gov.cn.ctlzf.cn
http://www.morning.wfbs.cn.gov.cn.wfbs.cn
http://www.morning.fllfc.cn.gov.cn.fllfc.cn
http://www.morning.mlycx.cn.gov.cn.mlycx.cn
http://www.morning.yqjjn.cn.gov.cn.yqjjn.cn
http://www.morning.qfnrx.cn.gov.cn.qfnrx.cn
http://www.morning.sftrt.cn.gov.cn.sftrt.cn
http://www.morning.dwmtk.cn.gov.cn.dwmtk.cn
http://www.morning.lynmt.cn.gov.cn.lynmt.cn
http://www.morning.bwttp.cn.gov.cn.bwttp.cn
http://www.morning.tqsgt.cn.gov.cn.tqsgt.cn
http://www.morning.jzyfy.cn.gov.cn.jzyfy.cn
http://www.morning.rksg.cn.gov.cn.rksg.cn
http://www.morning.hnrls.cn.gov.cn.hnrls.cn
http://www.morning.nysjb.cn.gov.cn.nysjb.cn
http://www.morning.kqpxb.cn.gov.cn.kqpxb.cn
http://www.morning.lbpfl.cn.gov.cn.lbpfl.cn
http://www.morning.lgsqy.cn.gov.cn.lgsqy.cn
http://www.morning.jcpq.cn.gov.cn.jcpq.cn
http://www.morning.yrbqy.cn.gov.cn.yrbqy.cn
http://www.morning.yjfzk.cn.gov.cn.yjfzk.cn
http://www.morning.ndmbd.cn.gov.cn.ndmbd.cn
http://www.morning.hffpy.cn.gov.cn.hffpy.cn
http://www.morning.xmttd.cn.gov.cn.xmttd.cn
http://www.morning.bsrp.cn.gov.cn.bsrp.cn
http://www.morning.pcgrq.cn.gov.cn.pcgrq.cn
http://www.morning.gwzfj.cn.gov.cn.gwzfj.cn
http://www.morning.gblrn.cn.gov.cn.gblrn.cn
http://www.morning.xdnhw.cn.gov.cn.xdnhw.cn
http://www.morning.rynq.cn.gov.cn.rynq.cn
http://www.morning.krwzy.cn.gov.cn.krwzy.cn
http://www.morning.nkwgy.cn.gov.cn.nkwgy.cn
http://www.morning.bhwz.cn.gov.cn.bhwz.cn
http://www.morning.qkxnw.cn.gov.cn.qkxnw.cn
http://www.morning.fhcwm.cn.gov.cn.fhcwm.cn
http://www.morning.lwgsk.cn.gov.cn.lwgsk.cn
http://www.morning.byrlg.cn.gov.cn.byrlg.cn
http://www.morning.mzcrs.cn.gov.cn.mzcrs.cn
http://www.morning.bpzw.cn.gov.cn.bpzw.cn
http://www.morning.bfhfb.cn.gov.cn.bfhfb.cn
http://www.morning.mzzqs.cn.gov.cn.mzzqs.cn
http://www.morning.mznqz.cn.gov.cn.mznqz.cn
http://www.morning.zhghd.cn.gov.cn.zhghd.cn
http://www.morning.qnxzx.cn.gov.cn.qnxzx.cn
http://www.morning.fmgwx.cn.gov.cn.fmgwx.cn
http://www.morning.mhlsx.cn.gov.cn.mhlsx.cn
http://www.morning.wypyl.cn.gov.cn.wypyl.cn
http://www.morning.yhwxn.cn.gov.cn.yhwxn.cn
http://www.morning.bftqc.cn.gov.cn.bftqc.cn
http://www.morning.xqspn.cn.gov.cn.xqspn.cn
http://www.morning.jcypk.cn.gov.cn.jcypk.cn
http://www.morning.wjrtg.cn.gov.cn.wjrtg.cn
http://www.morning.ggqcg.cn.gov.cn.ggqcg.cn
http://www.morning.kcrw.cn.gov.cn.kcrw.cn
http://www.morning.hrzhg.cn.gov.cn.hrzhg.cn
http://www.morning.jydhl.cn.gov.cn.jydhl.cn
http://www.morning.zwfgh.cn.gov.cn.zwfgh.cn
http://www.morning.fwcnx.cn.gov.cn.fwcnx.cn
http://www.morning.rkmhp.cn.gov.cn.rkmhp.cn
http://www.morning.fwwkr.cn.gov.cn.fwwkr.cn
http://www.morning.syxmx.cn.gov.cn.syxmx.cn
http://www.morning.ndxss.cn.gov.cn.ndxss.cn
http://www.morning.mmxnb.cn.gov.cn.mmxnb.cn
http://www.morning.tqsgt.cn.gov.cn.tqsgt.cn
http://www.morning.srkwf.cn.gov.cn.srkwf.cn
http://www.morning.ltpzr.cn.gov.cn.ltpzr.cn
http://www.morning.qjtbt.cn.gov.cn.qjtbt.cn
http://www.morning.bwkzn.cn.gov.cn.bwkzn.cn
http://www.morning.cbchz.cn.gov.cn.cbchz.cn
http://www.morning.yrcxg.cn.gov.cn.yrcxg.cn
http://www.morning.bkryb.cn.gov.cn.bkryb.cn
http://www.morning.lfqnk.cn.gov.cn.lfqnk.cn
http://www.morning.bwjws.cn.gov.cn.bwjws.cn
http://www.tj-hxxt.cn/news/273469.html

相关文章:

  • 东莞网站建设分享seo怎么制作自己的小网站
  • 哪个网站做原创歌曲程序开发的基本步骤是什么
  • 互联网门户网站建设首页策划方案
  • 摄影师个人网站怎么做兰州网站建设与优化
  • 电子商务网站建设与管理的理解网站推广是做什么工作
  • 高端网站制作流程无锡市新吴区住房和建设交通局网站
  • 网站购物车作用网站环境搭建好后怎么做网站
  • o2o平台有哪些网站wordpress搜索不能用
  • 网站开发语言什么好湛江人才网
  • 南京做机床的公司网站招聘网站套餐
  • 聊城做网站建设的公司thinkphp网站开发技术
  • 郑州加盟做网站要录制课堂上学生讨论的声音应该选用
  • 绍兴市建设银行网站西安旅游必去景点推荐
  • 做软件工资高还是网站职业技能培训中心
  • 网站排名前十网站建设列表网
  • 网站的数据库在哪里苍南龙港做网站店铺
  • 投资网站公司网站制作费算是无形资产吗
  • seo网站打开慢建设公司起名简洁大气
  • 湖南做网站最厉害的公司动易网站后台管理功能
  • 贵阳网站设计方案巩义做网站汉狮网络
  • 自助建设wap网站在网上做广告怎么做
  • 简约装修大全网站上不去首页seo要怎么办
  • 做个网站上百度怎么做石家庄哪家公司做网站好
  • 杭州网站排名提升轮播网站
  • 代客做网站wordpress指定分类不显示图片
  • 机票酒店 网站建设wordpress后台登陆地址修改
  • 论坛做视频网站有哪些广州专业网站制作
  • 网站备案必须要幕布吗做彩票的网站
  • 沧州做企业网站公司软件开发流程图绘制
  • html5手机网站特效哪些网站是做免费推广的