---
title: "modify ip"
author: "edwards0307"
date: "2012-02-10T17:45:10Z"
tags: []
categories: ["移动开发"]
slug: "modify-ip"
draft: false
lastmod: "2012-02-10T17:45:10Z"
id: 1402232
url: "https://killdbs.iteye.com/blog/1402232"
---

1.netconfig

2./etc/sysconfig/network-scripts, find ifcfg-eth0,ifcfg-eth1.... modify IPADDR

3./etc/rc.d/init.d/network

ifconfig eth0 hw ether 192.168.2.252  
ifconfig eth0 192.168.2.252 netmask 255.255.255.

 

last:service network restart