Jump to content

IP static


alex

Recommended Posts

Pasul 1

# nano /etc/network/interfaces

 

interfaces

auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.1.100netmask 255.255.255.0gateway 192.168.1.1

 

 

Pasul 2

DNS-urile date de ISP se trec in /etc/resolv.conf.

# nano /etc/resolv.conf

 

 

resolv.conf

# Generated by NetworkManagernameserver 192.168.1.3nameserver 192.168.1.4					

 

 

 

Pasul 3

Restartam sistemul pentru a salva configuratiile.

# /sbin/reboot

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...