Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2005, 06:30 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
Manually configuring DHCP for static IP -- cannot assign IP

I'm trying to setup eth0 with a static IP address so the router knows what computer is the DMZ host and never has problems with mis-matched IPs.

The connection works file when I set it to automatically configure DHCP. What I want to do is manually choose as my IP and keep it like that. Here is what I enter in system-config-network:

IP Address:
Subnet mask:
Default Gateway:
That IP isn't in use. Whenever I change it manually, I save the changes, deactivate the device and reactivate it. After that, I don't have any connection whatsoever until I go back to the option to automatically configure DHCP.

Why is this?
Old 10-15-2005, 06:31 PM   #2
LQ Newbie
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Just to add, when I did this on XP, I assigned everything like above except I used instead and it worked perfect without problems.
Old 10-16-2005, 02:07 AM   #3
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
Blog Entries: 6

Rep: Reputation: 75
are u comfortable with command line , if yes i have step for this
(sorry i never touch system setting via GUI mode, headace for me)

drop u to root konsole
#first step
/sbin/ifcofig eth0 netmask broadcast

/etc/rc.d/init.d/network restart
/etc/rc.d/init.d/network status <- see what is output


Last edited by routers; 10-16-2005 at 02:09 AM.
Old 10-16-2005, 02:34 AM   #4
LQ Newbie
Registered: Oct 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I was able to figure it out through the GUI. I had the DHCP server incorrect. Thank you for the reply though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:51 AM
assign static ip allelopath Linux - Software 1 04-27-2005 08:04 PM
assign static IP to the server ashley75 Linux - General 2 03-10-2005 04:47 PM
How do I assign a static IP to eth0 louisb Linux - Networking 4 02-19-2005 09:10 PM
Can't assign a static IPv6 address guzo Linux - Networking 0 02-11-2005 07:22 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 PM.

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