Second IP address (yes another question)

Okay I have read around the forums, and I did cakers post on the bugs on adding new ip addresses, but I have a problem.. Everytime I reboot my node, it wont bring up the second ip address, unless I type this:

ifconfig eth0:2 70.85.31.66 netmask 255.255.255.0 up

Then I dont even have to restart my network or anything and it works.. Help me out I dont what I am doin wrong. Its sort of became an issue since TP started messin up.

2 Replies

Which distro are you using?

If you're using Debian, the /etc/network/interfaces file controls what interfaces get started at bootup. You could add something like:

auto eth0:1
iface eth0:1 inet static
    address 70.85.31.66
    netmask 255.255.255.0
    broadcast 70.85.31.255

and it should come up automatically.

Thanks, now it looks like if there is ever an a power outage when the servers come back on everything will be O.K. Thanks a lot.

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