Bind IP address and MAC address under Ubuntu7.10

Source: Internet
Author: User
I was so happy to receive two CDs of Ubuntu7.10, each of which is 32-bit and 64-bit, sent by the Netherlands free mail. It took more than an hour to successfully install it on the old machine. Because the school IP address is bound to the MAC address, the old machine cannot obtain the IP address, and only the resources of the host allocated with the IP address are borrowed. 1. Modify/etc/network/interfaces, note that the IP address is automatically obtained, and add an automatically obtained IP address from the NIC. # Autolo # ifaceloinetlockl

I was so happy to receive two Ubuntu 7.10 release CDs sent by a free mail from the Netherlands, each of which is 32-bit and 64-bit.

It took more than an hour to successfully install it on the old machine. Because the school IP address is bound to the MAC address, the old machine cannot obtain the IP address, and only the resources of the host allocated with the IP address are borrowed.

1. Modify/etc/network/interfaces, note that the IP address is automatically obtained, and add an automatically obtained IP address from the NIC.

# Auto lo

# Iface lo inet lockloop

Auto eth0

2. Modify/etc/network/interfaces and add static IP information

Iface eth0 inet static

Address ***.***.***.***

Netmask 255.255.255.0

Gateway ***. ***. 254

3. Modify/etc/resolv. conf and set DNS

Namaserver ***.***.***.***

Nameserver ***.***.***.***

4. Restart the network

Run/etc/init. d/networking restart as Administrator

5. Restart the network and enjoy Ubuntu.

Related Article

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.