How To Change Setup Network Linux Debian Ip Address
how to change setup network linux debian ip address
how, to, change, setup, network, linux, debian, ip, address
How To Change Setup Network Linux Debian Ip Address
Post Description: how to change setup network linux debian ip address
POST# 1006
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: How To Change Setup Network Linux Debian Ip Address
during our installation of debian, by default, the system has our network as DHCP or as dynamic IP. To change your interface network setting from dynamic to static ip, we must do these steps:

login as root

send command:
nano /etc/network/interfaces


now when you open interfaces you will see something like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inte loopback

#The primary network interface
auto eth0
iface eth0 inet dhcp


now to change it to a static ip change the file to look like this for example:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inte loopback

#The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


after you have made changes, save file and restart your network.


Next Step: Restart Network

(if you need to connect remotely later on, you can install ssh so you can configure your machine remotely. Click here to install SSH )



Tue Dec 02, 2008 10:36 am
1
justin lobos
Reply #2190
ah, yeah. how to change my ip on debian this was hard to find

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload