BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Gentoo

How do I manually add IPs in Gentoo?

10-21-2008, 06:09 PM

To manually add IPs in Gentoo, you must ssh as root and edit the following file:

/etc/conf.d/net

Here is what it should contain (assuming eth0 is your main interface):

config_eth0=(
"mainIP1 brd 10.10.10.10 netmask 255.255.255.224"
"mainIP2 brd 10.10.10.10 netmask 255.255.255.224"
"mainIP3 brd 10.10.10.10 netmask 255.255.255.224"
)

routes_eth0=( "default gw 10.10.10.9" )

You will have to replace 'mainIP' with your actual IPs and put in the correct broadcast, netmask and gateway IPs.

After this is done, save the file and reload the network interface.

A reference link: http://gentoo.easyshellz.com/gentoo/....d/net.old.txt

See What Our Customers Say

Leave review
E

ephi

QC, Canada

Hi guys, I am pretty satisfied with your service. Yes, I have experienced some downtime issues wi...

Read full review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
A

A.L

IL, United States

AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots...

Read full review
S

Soren

Without doubt the most professional and friendly support team i have ever experienced. These guys ar...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft