Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Aug 16, 2008 8:07 am 
Offline
Newbie

Joined: Mon Aug 04, 2008 2:37 pm
Posts: 2
I have purchased an additional ip and want this ip to be up on startup.How doI do this? I am running Fedora Core 9.

Once machine is up,I am doing it by this command:
ifconfig eth0:1 xxx.xxx.xxx.xxx netmask 255.255.255.0 up

I want it to be enabled at startup.

Adding new file ifcfg-etho:1 in /etc/sysconfig/network-scripts did not work???


Top
   
 Post subject:
PostPosted: Sat Aug 16, 2008 9:12 am 
Offline
Junior Member

Joined: Wed Sep 27, 2006 7:36 pm
Posts: 34
Website: http://fourbatons.com/
Location: Maryland, USA
I have no idea how to set a new IP up on Fedora, but the wiki may help:

http://www.linode.com/wiki/index.php/Multiple_IPs


Top
   
PostPosted: Sat Aug 16, 2008 9:35 am 
Offline
Senior Newbie

Joined: Tue May 20, 2008 10:33 am
Posts: 17
As above, try the wiki:

http://www.linode.com/wiki/index.php/Mu ... nent_setup

You need to create a new config file for the new IP.

if your main IP is eth0 then your second one can be eth0:0 or eth0:1, the new file would be /etc/sysconfig/network-scripts/ifcfg-eth0:0 or similar.

Yell out if you get stuck.


Top
   
 Post subject: Already tried that??
PostPosted: Sat Aug 16, 2008 4:49 pm 
Offline
Newbie

Joined: Mon Aug 04, 2008 2:37 pm
Posts: 2
I have tried as mentioned but on startup new ip is not reachable.

For now I have put this command in /etc/rc.d/rc.local file:
ifconfig eth0:1 xxx.xxx.xxx.xxx netmask 255.255.255.0 up

With this ip is reachable when machine reboots :)


Top
   
 Post subject: its real simple...
PostPosted: Thu Aug 21, 2008 8:39 am 
Offline
Senior Newbie
User avatar

Joined: Wed Aug 06, 2008 4:06 pm
Posts: 11
edit

/etc/network/interfaces


then add your private ip you 'purchased'

auto eth1
iface eth1 inet static
address 192.168.1.90
netmask 255.255.255.0

then edit

/etc/hosts

and add

192.168.1.90 server1 server1.yourdomain.com


Top
   
 Post subject: Re: its real simple...
PostPosted: Thu Aug 21, 2008 1:11 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
anubix wrote:
edit

/etc/network/interfaces

*snip*


That's Debian et. al., not Fedora/RedHat. They are quite different.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject: Re: its real simple...
PostPosted: Thu Aug 21, 2008 4:37 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
anubix wrote:
then add your private ip you 'purchased'

He is not asking about his private IP, he is asking about his public IP that he 'purchased'.
ajay wrote:
I have purchased an additional ip and want this ip to be up on startup.How doI do this? I am running Fedora Core 9.


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 12:40 am 
Offline
Senior Newbie

Joined: Thu Aug 28, 2008 10:19 am
Posts: 15
of course it's private ip after purchase


Top
   
 Post subject:
PostPosted: Sun Aug 31, 2008 1:51 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
ivytony wrote:
of course it's private ip after purchase

"Private IP" is not the same as additional IP. Private IP is the IP address for the private local network, and can be used for traffic between two Linodes in the same datacenter without it being counted against your monthly network quota.
http://blog.linode.com/2008/03/14/priva ... k-support/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group