• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

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?

0
liquidblaze
Asked:
liquidblaze
  • 4
  • 3
  • 3
1 Solution
 
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
0
 
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?
0
 
pablouruguayCommented:
ifconfig eth0:3 inet w.x.y.z netmask 255.255.255.255
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
liquidblazeAuthor Commented:
that's what I meant.

thanks a bunch - points are yours (and a little bonus :-) )
0
 
pablouruguayCommented:
thnks
0
 
xDamoxCommented:
wtf, I was robbed of points :/
0
 
liquidblazeAuthor Commented:
oh my... I didnt look at the username when I assigned them ... suggestions?
0
 
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 .
0
 
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.
0
 
xDamoxCommented:
never mind I have decided to up my EE way of anwsering questions I have decided to black list certain users.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now