Results 1 to 5 of 5
Here is the situation: i connect to internet through router.
The problem is i dont know how to set it up so i can choose my own ip.
Here is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-29-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 8
Problem about ip configuration
Here is the situation: i connect to internet through router.
The problem is i dont know how to set it up so i can choose my own ip.
Here is what i've done so far
in rc.inet1.conf i modified
IPADDR[0]="IP i want to have"
NETMASK[0]="255.255.255.0"
USE_DHCP=""
GATEWAY="My routers IP"
The rest of the file was left unchanged.
IThis should be correct. The problem comes when i need to configure DNS.
I have played around with resolv.conf, but with no succes. So what do i have to do set up desired ip?
- 11-29-2008 #2
Welcome to the forums!
Part of the problem here is the router. Did you set it up through the web interface to accept static IP addresses?
DNS, indeed, is configured through /etc/resolv.conf. Once you stop using DHCP you will probably need to configure this manually. Perhaps the old config still is in place though, then you can skip this.
Otherwise you can try this:
But as said, the most important thing is to tell the router to accept static IP-addresses rather than DHCP.Code:# OpenDNS nameserver 208.67.222.220 nameserver 208.67.220.222
Can't tell an OS by it's GUI
- 11-29-2008 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 8
thank you it worked.
Also aquick question:
How can you test net configuration withouth restarting pc?
- 11-29-2008 #4
Originally Posted by Bojevnik 
Just restarting the services:
Originally Posted by Bojevnik
Code:/etc/rc.d/rc.inetd restart # This one isn't always necessary /etc/rc.d/rc.inet1 restart
Can't tell an OS by it's GUI
- 11-29-2008 #5Just Joined!
- Join Date
- Nov 2008
- Posts
- 8
Thanks again


Reply With Quote
