Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Assigning additional IP addresses

Posted by: John188 Jan 18 2011, 03:56 PM

I'm a bit new to linux and I have a CentOS 5 server and I'm having trouble after assigning additional IP addresses.


I was told to do this:
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 up
/sbin/ifconfig eth0 mainip
/sbin/ifconfig eth0:0 additionalip


So I do all that and everything seems to be working fine, although once I do that some people are unable to connect to voice communication software(teamspeak) that I'm hosting on my server, although they are able to connect to the webserver.

When I restart the server and the changes are undone they are able to connect again.


I'm really clueless right now so any help would be greatly appreciated.

Posted by: michaelk Jan 18 2011, 09:07 PM

Just for curiousity sake why do you want to create a virtual interface?
What IP address ranges are you using?

Posted by: mySunSet Sep 22 2011, 03:36 AM

I need virtual interfaces for the same reason as the guy was asking in here linuxquestions.org/questions/linux-networking-3/virtual-interface-routing-819716/ with a different bandwidth setting only
However, there solution was far from being useful to me.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)