How does one access the Internet in linux?

Source: Internet
Author: User
Linux is how to access the Internet 1/etc/sysconfig/network-scripts/ifcfg-eth0 the content of this file is as follows: 1DEVICEeth02BOOTPROTOdhcp3DHCPCLASS4HWADDR00: 0C: 29: 9B: 8C: others linux is how the Internet 1/etc/sysconfig/network-scripts/ifcfg-eth0 the content of this file is as follows: 1 DEVICE = eth02BOOTPROTO = dhcp3DHCPCLASS = 4 HWADDR = 00: 0C: 29: 9B: 8C: BC5ONBOOT = yes6IPADDR = 192.168.10.1287NETMASAK = zookeeper 08gateway = 192.168.10.2Bootproto: static or DHCP Host Configuration Protocol ). GateWay: this must be the ip address of the router machine, because all ping ip, telnet ip port, and other operations will be found through the GateWay. To call service network start, follow these steps: Find the Gateway and register the ip address to register all the sockets of the mac address, and perform ping and other operations. Domain name operations are performed through resolve. conf.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.