LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2007, 12:44 AM   #1
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Rep: Reputation: 15
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!
 
Old 12-18-2007, 04:51 AM   #2
dAnde79
LQ Newbie
 
Registered: Dec 2007
Location: Delaware, U.S.A.
Distribution: Debian, CentOS, Fedora, Ubuntu
Posts: 6

Rep: Reputation: 0
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..
 
Old 12-18-2007, 07:30 AM   #3
chownuseradd
Member
 
Registered: Nov 2007
Location: north carolina
Distribution: Mostly Linux, but we have quite a few using Windows 2003 and Free BSD
Posts: 32

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference with certain IP's threegig Linux - Networking 5 05-26-2006 07:38 AM
Is it possible to add additional compile flag into a debian package? Akhran Debian 2 03-10-2006 05:22 PM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 01:23 PM
More ip's ThePlague Linux - Networking 1 02-02-2002 05:19 PM
ip's Syphon Linux - Networking 1 01-18-2002 08:35 PM


All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration