LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2005, 05:30 PM   #1
tristanlee85
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 192.168.1.110 as my IP and keep it like that. Here is what I enter in system-config-network:

Code:
IP Address: 192.168.1.110
Subnet mask: 255.255.255.0
Default Gateway: 192.168.1.1
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, 05:31 PM   #2
tristanlee85
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 192.168.1.105 instead and it worked perfect without problems.
 
Old 10-16-2005, 01:07 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
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 192.168.1.110 netmask 255.255.255.0 broadcast 192.168.1.254

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

cheers

Last edited by routers; 10-16-2005 at 01:09 AM.
 
Old 10-16-2005, 01:34 AM   #4
tristanlee85
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.
 
  


Reply


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 10:51 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
How do I assign a static IP to eth0 louisb Linux - Networking 4 02-19-2005 08:10 PM
Can't assign a static IPv6 address guzo Linux - Networking 0 02-11-2005 06:22 AM


All times are GMT -5. The time now is 09:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration