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
J

Jesse

ON, Canada

- always respond fast - excellent pricing - great products

Read full review
U

Umka@Studio-Net

The most caring provider AYKSolutions is a reliable hosting and decicated server probider with good...

Read full review
D

Dario

Corrientes, Argentina

I have been a client for many years now. They always answer to my needs, and keep their prices affo...

Read full review
J

Jahanzeb

Punjab, Pakistan

Simply the best. have been using them from last 2 years. Remember Dedicated servers are hardware so...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft