LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Additional ip's in debian (https://www.linuxquestions.org/questions/linux-newbie-8/additional-ips-in-debian-607520/)

chownuseradd 12-17-2007 11:44 PM

Additional ip's in debian
 
I was wondering if anyone knows how to configure additional ip's in debian. We have one added and are looking to add our second one but now we cannot ping out from the server to our network. We are thinking it may be a routing issue but I am very unfamiliar with this flavor. Any help=most appreciated!

dAnde79 12-18-2007 03:51 AM

I'm not sure how you went about adding the additional IPs. If you add them to /etc/network/interfaces file and there's an error, it will cut you off.

If you bring them up one by one you should be able to at least keep the first working configuration even if the additional IPs have issues.

Code:

iface eth0 inet static
address IP_ADDRESS
network NETWORK_ADDRESS
broadcast BROADCAST_ADDRESS
netmask NETMASK
gateway GW
up ifconfig eth0:0 IP_ADDRESS2 up
up ifconfig eth0:1 IP_ADDRESS3 up
..etc..


chownuseradd 12-18-2007 06:30 AM

thanks...what happened was that as we were trying to restart the network we kept getting the error message failed. We figured it out later to be a noob configuration problem and fixed it. Thank you for your help!


All times are GMT -5. The time now is 09:24 AM.