-   Linux - Networking (
-   -   Manually configuring DHCP for static IP -- cannot assign IP (

tristanlee85 10-15-2005 05:30 PM

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?

tristanlee85 10-15-2005 05:31 PM

Just to add, when I did this on XP, I assigned everything like above except I used instead and it worked perfect without problems.

routers 10-16-2005 01:07 AM

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

cheers :)

tristanlee85 10-16-2005 01:34 AM

I was able to figure it out through the GUI. I had the DHCP server incorrect. Thank you for the reply though.

All times are GMT -5. The time now is 05:29 PM.