View previous topic :: View next topic |
Author |
Message |
Rayne Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/PowerPuffs/cartoon_powerpuff_bubbles.gif)
Joined: 30 May 2005 Posts: 131
|
Posted: Sun Nov 13, 2005 9:14 am Post subject: [SOLVED] custom ip |
|
|
I'm trying to set a custom ip (dhcpcd works fine BTW), actually the same ip as dhcp gets.
On 2005.0, /etc/conf.d/net has this:
iface_eth0="193.140.7.159 broadcast 193.140.7.255 netmask 255.255.255.0"
gateway="eth0/193.140.7.129"
And it's working right now.
On 2005.1, I tried this:
config_eth0=( "193.140.7.159 broadcast 193.140.7.255 netmask 255.255.255.0" )
and it's not working.
I also tried adding
routes_eth0=( "default via 193.140.7.129" )
but nope, it's not working. It says it got ip 193.140.7.159, but when I try to ping some URL, I get "unknown host" error.
Any ideas how I can set up the same thing in 2005.1?
Last edited by Rayne on Sun Nov 13, 2005 2:29 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sun Nov 13, 2005 9:39 am Post subject: |
|
|
Are you able to ping by IP? For example
If so it's a name resolution problem, and you've to fix /etc/resolv.conf. If not please post ifconfig and netstat -rn output. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rayne Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/PowerPuffs/cartoon_powerpuff_bubbles.gif)
Joined: 30 May 2005 Posts: 131
|
Posted: Sun Nov 13, 2005 2:29 pm Post subject: |
|
|
My apologizes, I've mistyped gateway address! It's working now! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|