Debian Redhat Network Config

Source: Internet
Author: User


For Debian Linux

# Dhcpauto eth0iface eth0 inet dhcp# staticauto eth0iface eth0 inet staticaddress 10.16.3.99netmask 255.255.255.0network 1 0.16.3.0broadcast 10.16.3.255gateway 10.16.3.1/etc/init.d/networking Restart





For Redhat Linux

Temporarily modify the NIC Ipifconfig eth0 172..16.0.5/16 up Add Gateway route add default GW 172.16.0.111 temporarily modify the defaults dnsvim/etc/resolv.confvim/etc/ sysconfig/network-scripts/ifcfg-eth1device=eth1hwaddr=00:0c:29:36:**:* *type=ethernetuuid= 7eaffa26-ee97-4d23-a333-a84da8341***onboot=yesnm_controlled=yesbootproto=staticipaddr=172.16.0.103netmask= 255.255.255.0gateway=172.16.0.111dns1=114.114.114.114dns2=8.8.8.8


Debian Redhat Network Config

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.