| Linode Forum https://forum.linode.com/ |
|
| How to setup new purchased ip? https://forum.linode.com/viewtopic.php?f=19&t=3455 |
Page 1 of 1 |
| Author: | ajay [ Sat Aug 16, 2008 8:07 am ] |
| Post subject: | How to setup new purchased ip? |
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??? |
|
| Author: | JDM [ Sat Aug 16, 2008 9:12 am ] |
| Post subject: | |
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 |
|
| Author: | josephb [ Sat Aug 16, 2008 9:35 am ] |
| Post subject: | Re: How to setup new purchased ip? |
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. |
|
| Author: | ajay [ Sat Aug 16, 2008 4:49 pm ] |
| Post subject: | Already tried that?? |
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 |
|
| Author: | anubix [ Thu Aug 21, 2008 8:39 am ] |
| Post subject: | its real simple... |
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 |
|
| Author: | SteveG [ Thu Aug 21, 2008 1:11 pm ] |
| Post subject: | Re: its real simple... |
anubix wrote: edit
/etc/network/interfaces *snip* That's Debian et. al., not Fedora/RedHat. They are quite different. |
|
| Author: | mwalling [ Thu Aug 21, 2008 4:37 pm ] |
| Post subject: | Re: its real simple... |
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.
|
|
| Author: | ivytony [ Sun Aug 31, 2008 12:40 am ] |
| Post subject: | |
of course it's private ip after purchase |
|
| Author: | NeonNero [ Sun Aug 31, 2008 1:51 am ] |
| Post subject: | |
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/ |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|