Multipe IP's on FC4 linux server

Recently my webhost offered me the opportunity to install Fedora Core 4 64bit on my server.
I installed plesk 8.0 and everything was working just fine untill I added another IP to it so I would be able to use another service on port 80 on the same server (plesk and truedesk fyi)

But now my plesk server seems unreachable. The command I used was:
 ifconfig <eth0> inet w.x.y.z netmask 255.255.255.0

I guess I did something wrong. Can you help me out?

LVL 2
liquidblazeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xDamoxCommented:
Hi,

You have overwrote you original IP you will need to do:

ifconfig eth0 inet w.x.y.z netmask 255.255.255.0

replace w.x.y.z with your first IP address, now to ad another IP to eth0 you do:

ifconfig eth0:1 inet w.x.y.z netmask 255.255.255.0

If you do ifconfig you should now have two interfaces eth0 and eth0:1
liquidblazeAuthor Commented:
sounds kinda logical.

so - I already got 3 ips on that box, that would be eth0, eth0:1, eth0:2 - correct?

so to do what you suggest, I'll have to:

ifconfig eth0:3 inet w.x.y.z netmask 255.255.255.0

can you confirm this?
pablouruguayCommented:
ifconfig eth0:3 inet w.x.y.z netmask 255.255.255.255

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

liquidblazeAuthor Commented:
that's what I meant.

thanks a bunch - points are yours (and a little bonus :-) )
pablouruguayCommented:
thnks
xDamoxCommented:
wtf, I was robbed of points :/
liquidblazeAuthor Commented:
oh my... I didnt look at the username when I assigned them ... suggestions?
pablouruguayCommented:
i didn't understand.... Xdamox you give a partial solution was a mistake in 255.255.255.0, i correct this error. simple. is not a robbery .
liquidblazeAuthor Commented:
actually, his comment / answer was correct as far as my first example goes.

I did indeed give a netmask of "255.255.255.0" in my example.
xDamoxCommented:
never mind I have decided to up my EE way of anwsering questions I have decided to black list certain users.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.