LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2006, 10:27 AM   #1
murfman89
Member
 
Registered: Jun 2005
Posts: 36

Rep: Reputation: 15
Assign Debian Static IP address - How?


Can someone tell me how (step by step) to assign my Debian Linux box a static ip address? Thanks ahead of time!!
 
Old 11-01-2006, 10:50 AM   #2
nonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by murfman89
Can someone tell me how (step by step) to assign my Debian Linux box a static ip address? Thanks ahead of time!!
/etc/network/interfaces

If your interface is eth0 then it would be like this (very simple):

iface eth0 inet static
address 192.168.0.111
netmask 255.255.255.0
gateway 192.168.0.1

man interfaces, there are many options available



--
Vladimir
Nothing but Unix
http://unix-news.blogspot.com/
 
Old 11-01-2006, 11:00 AM   #3
murfman89
Member
 
Registered: Jun 2005
Posts: 36

Original Poster
Rep: Reputation: 15
how would I save these changes or exit?
 
Old 11-02-2006, 03:17 AM   #4
nonkey
LQ Newbie
 
Registered: Oct 2006
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by murfman89
how would I save these changes or exit?
Save the file, that's all.


--
Vladimir
Nothing but Unix
http://unix-news.blogspot.com/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
How To Assign Static Ip? betrussell23 Linux - Networking 5 09-27-2006 01:25 AM
assign static ip allelopath Linux - Software 1 04-27-2005 07:04 PM
assign static IP to the server ashley75 Linux - General 2 03-10-2005 03:47 PM
Can't assign a static IPv6 address guzo Linux - Networking 0 02-11-2005 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration