Jump to content


Debian vaste ip


dark-angel-djin

Recommended Posts


ff copy paste andere site (ggogle op debian en cccam).

 

Assigning static IP

Log in as root with the right password

then type in the following command

 

Code:

vim /etc/network/interfacesnow remove the following line

 

Code:

iface eth0 inet dhcpand replace it with

 

Code:

auto eth0

iface eth0 inet static

address 192.168.1.225

netmask 255.255.255.0

broadcast 192.168.1.255

gateway 192.168.1.1These IP adresses might be different for you're situation.

Remember to replace them with the numbers you need.

You can save the file with the following commands

 

Code:

<esc>:wqOnce the file is saved, you can restart the network and check if you're linux server is running with it's new IP adress

 

Code:

/etc/init.d/networking restart

ifconfig

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Lees alvorens je verder gaat onze Terms of Use en Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.