1 / 12
文档名称:

ubuntu配置ip地址命令.docx

格式:docx   大小:61KB   页数:12
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

ubuntu配置ip地址命令.docx

上传人:sssmppp 2019/7/21 文件大小:61 KB

下载得到文件列表

ubuntu配置ip地址命令.docx

文档介绍

文档介绍:mandlineisconfiguredasfollowsSudoGEDIT/wor'k/interfacesDHCPTheDHCPconfigurationisasfollows(essviaethl)#DHCP//designatedasDHCPThenrestartSudo/etc/(workinterface#)static////IPaddressGateway/・255・・workingrestartDNSConfigureDNSifnecessarySudoGEDIT/etc/,adetailedexplanationisgiven:workparametersoftheUbuntuarestoredinthefile/work/interfaces,andthedefaultsettingusesDHCP,whichreadsasfollows:workinterface#DHCPThemethodforsettingstaticIPisasfollows:edit/work/workinterface#workinterface#,$hO$sudoifupethOIfconfigWhethertheLinuxisinstalledautomaticallyorwemanuallyinstallit,workandconfiguresthesoftware・workcardisifconfig・mandisexecuted,work・mandhasthefollowingtwoformats:Youifconfig[interface]Theifconfiginterface[aftype]optionaddress|・・・Thefirstformofifconfig(mandwithoutanyarguments)'vejustinstalledthesystem,workconnection,butyoucanmakeitthroughifconfigWorkaroundtheway,'mand,workinterface:[******@machinel/sbin]#ifconfigEthO,Link,encap:,Hwaddr,52:54:AB:DD:6F:addr:::,BROADCAST,RUNNING,MULTICAST,MTU:1500,Metric:1RX,packets:46299,errors:0,dropped:0,overruns:0,frame:189TX,packets:3057,errors:0,dropped:0,overruns:0,carrier:0Collisions:0txqueuelen:100Interrupt:5Baseaddress:0xece0LoLinkencap:addr::,LOOPBACK,RUNNING,MTU:3924,Metric:!RX,packets:44,errors:0,dropped:0,overruns:0,frame:0TX,packets:44,errors:0,dropped:0,overruns:0,carrier:0Collisions:0txqueuelen:0PressAmongthem,cardconfigurationparameters,workcardinthesystemunderthedevicename,/dev/ethOandhardwareMACTheaddress52:54:AB:DD:6F:61,MACaddressisthemanufacturer,