Extra IP on gentoo?

When I purchansed my linode I bought 2 IPs and at first I was running debian which I know how to configure for multiple IP use.

Since then I've converted to Gentoo and wish to know how I can make use of my 2nd IP, I've turned off the DHCP and am using the static configuration.

Tim

2 Replies

In the network file within gentoo there is an example of how to add additional IPs

If no one has answered this by later today, I will post an example when I get home.

Adam

Right then,

in /etc/conf.d/net

you need to add in an aliase for the second ip

alias_eth0="xxx.xxx.xxx.xxx"

netmask_eth0="255.255.255.0"

I dont think the netmask is required, as you already have one set for the main IP.

Adam

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct