Temporarily modify IP address, gateway, host name, DNS, immediately effective, no reboot (failure after reboot)
1. Modify Host Name
The code is as follows:
#hostname Slyar
2. Modify IP address (eth0 is the name of the network card)
The code is as follows:
#ifconfig eth0 192.168.1.5 netmask 255.255.255.0
3. Modify the default gateway (Eth0 is the name of th
D:/>netshNetsh>ipNetsh>interfaceNetsh interface>ipCommands in this context:Set address-Sets the IP or default gateway for the specified interface.Set DNS-sets the DNS server mode and address.Set wins-sets the WINS server mode and address.netsh interface ip>set address
Usage: Set address [name=][[Source=]dhcp |[source=]
found12-dec-2005 13:55:46. 825 listening on IPv4 interface fxp0, 219.132.1.1 #5312-dec-2005 13:55:46. 825 listening on IPv4 interface lo0, 127.0.0.1 #53......12-dec-2005 13:55:46. 866 runningAs long as there is the last line, your configuration is basically successful.Press Ctrl + C on the keyboard to stop BIND 9 first.
6. Add an NSWhen you modify the domain name information, you will find that there is a DNS information modification, there will be s
This technique is very useful for friends who often use laptops for business trips, such as in another environment, such as the customer's company, you always need to change the network to someone else's intranet address, gateway, DNS, and so on. Write a batch processing file, and then change it to the next one. It's faster than the mouse operation.
Form: http://blog.csdn.net/zmxjModify the IP address, sub
This article describes in detail the IP and DNS setting method under CentOS. Share to everyone for your reference, specific as follows:
1, CentOS Modify DNS
To modify the DNS profile of the corresponding network adapter
# vi/etc/resolv.conf
Modify the following content
NameServer 8.8.8.8 #googl
interface ip address "Ethernet" static 192.168.13.23 255.255.255.0 192.168.13.254 1
In addition, the DNS modification method is similar. Just change the address to dns.
Command Format: dns ""
Command explanation:
Parameters
Explanation
Network Connection
Network Connection name, which can be fo
Students who often travel to and from the lab will always encounter a problem:
The router of dormitory usually is to obtain IP automatically,
But the lab is usually static IP.
Every round-trip, every day will be modified, very troublesome.
Here's an easy way to do this: (This method is Win7, see the last line under XP)
First step: Create a TXT file
Step Two: Add the following to the file:
netsh inter
Modifying a DNS domain name forwarder to resolve an IP address resolution error caused by a website that cannot be accessedFirst of all, thank colleagues off guidance, to solve the problem smoothlyOpen a Web site, access a domain name, DNS resolves to the wrong IP address, then the site will not be properly accessed1,
That, since the domestic technology has appeared the DNS pollution problem, often caused a lot of foreign site access is not normal, so by reference to some blog to avoid DNS pollution method, decided to build an Ubuntu JeOS DNS cache server, the server uses TCP to obtain IP resolution, This avoids the problem of
sent by the client are actually received.Ii. protocols that are closely related to http: ip,tcp and DNSIP protocol : From this, you can know that the IP protocol belongs to the network layer, may be someone will confuse the "IP" and "IP Protocol", "IP" is actually a name of
Refer to the followingArticle:
Https://gist.github.com/fernandoaleman/2172388
Http://www.lifelinux.com/how-to-configure-static-ip-address-on-centos/
Http://www.ehowstuff.com/how-to-configure-static-ip-address-on-centos-6-2-linux-server/
Http://www.liurongxing.com/centos-dns-ifcfg-resolv.html
Http://bbs.csdn.net/topics/390162805
Http://www.cnblogs.com/
Custom configuration of network IP, gateway, DNS. bat
CopyCodeThe Code is as follows: @ echo off
Set slection1 =
Set/P slection1 = enter the IP Address:
Netsh interface IP Set address name = "Local Connection" Source = static ADDR = % slection1 % mask = 255.255.255.0
Set slection2 =
Set/P slection2 = enter the ga
Ubuntu set IP and DNS Category: Ubuntu novice 2009-04-15 01:41 15311 people read comments (1) Collection report installed Ubuntu The first thing is to connect the Internet, change the source, to update the operation, but the prerequisite is to match the IP and DNS. below the process of recording their own configurati
Refer to the following articles:https://gist.github.com/fernandoaleman/2172388http://www.lifelinux.com/how-to-configure-static-ip-address-on-centos/http://www.ehowstuff.com/how-to-configure-static-ip-address-on-centos-6-2-linux-server/Http://www.liurongxing.com/centos-dns-ifcfg-resolv.htmlhttp://bbs.csdn.net/topics/390162805Http://www.cnblogs.com/shawnloong/archi
: System: UbuntuServer11.10IP address: 192.168.21.168 subnet mask: 255.255.255.0 Gateway: 192.168.21.2DNS: 8.8.8.88.8.4.4 operation: 1. Set IP address, Gateway nano/
Note:
The system is Ubuntu Server 11.10.
IP Address: 192.168.21.168
Subnet Mask: 255.255.255.0
Gateway: 192.168.21.2
DNS: 8.8.8.8
8.8.4.4
Operation:
1. Set IP
Internet as a distributed database that maps domain names and IP addresses to each other, making it easier for people to access the Internet without remembering the number of IP strings that can be read directly by the machine.relationship of IP address, subnet mask, gateway, DNSAn IP address that indicates your compu
If you have the opportunity to build your own server in your local area network to configure a static ip address and dns, you must modify the ip address so that the ip address remains unchanged for future access convenience. Next, let's talk about how to set such an ip addre
Original address: http://blog.sina.com.cn/s/blog_669421480102v3bb.htmlUse a network in VMware to set up a static IP for a virtual machine:Set the static IP in Ubuntu for a total of two steps:1> settings ip;2> setting up DNS1> Setting IPEdit/etc/network/interface File:sudo vi/etc/network/interfaceAuto Eth0Iface eth0 inet static//designated as a quiescent IPAddress
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.