Setting up a static IP Address in debian
To setup a static IP in debian edit the file:
/etc/networking/interfaces
# The loopback interface
auto lo
iface lo inet loopback
# The first network card – this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
In this case the IP of the server is 192.168.1.100, defined by the setting “address”
To apply this configuration type /etc/init.d/networking restart
You’ll get a message that it’s restarting the network interface, If your connected remotely via shell, you might get disconnected sinc you changed the ip address.
also, make sure the necessary DNS settings are changed in the /etc/resolve.conf
tags debian setting up static ip, how to configure a static ip address on debian, how to set up a static ip address for debian, set up static ip address debian, set up static ip debian, setting ip manual debian, setting up a static ip address on debian server, setting up static ip debianTwitter Updates
- RT @JillianEdney: Life is like a ten speed bicycle, Most of us have gears we never use-Charles M. Schulz 1 week ago
- RT @JoyceMeyer:You may think that if someone else doesn't change, you can never be happy. But if you change, you can be happy no matter what 1 week ago
- @OhsiesDaliana sure ;) 3 weeks ago
- @Iris_Manuela thank you :) 3 weeks ago
- RT @rutansey33:There are 2 primary choices in life;to accept conditions as they exist,or accept d responsibility 4 changing them.D. Waitley 3 weeks ago




