| Linode Forum https://forum.linode.com/ |
|
| Configure static ip address on legacy vp https://forum.linode.com/viewtopic.php?f=19&t=12024 |
Page 1 of 1 |
| Author: | clint75 [ Wed Jul 08, 2015 10:22 am ] |
| Post subject: | Configure static ip address on legacy vp |
I've tried to enable auto configure network but without success. Quote: Network Helper did not run: unsupported distribution or distribution version looking to the docs I've found this sample configuration in https://www.linode.com/docs/platform/network-helper auto lo iface lo inet loopback auto eth0 #allow-hotplug eth0 doesn't work iface eth0 inet6 auto iface eth0 inet static address 173.255.204.231/24 gateway 173.255.204.1 up ip addr add 12.34.56.78/24 dev eth0 label eth0:1 #<= this is ok? I couldn't figure out this IP on the sample down ip addr del 12.34.56.78/24 dev eth0 label eth0:1 up ip addr add 192.168.138.44/17 dev eth0 label eth0:2 #<= if I am right this is my Private IP down ip addr del 192.168.138.44/17 dev eth0 label eth0:2 So, my question is ... will this work??? Thanks in advance. |
|
| Author: | retrograde inversion [ Fri Jul 10, 2015 1:41 am ] |
| Post subject: | Re: Configure static ip address on legacy vp |
The 12.34.56.78/24/eth0:1 lines in the example config are intended for bringing up a second public IP if you were assigned one. If you don't have a second public IP, you don't need them. The 192.168.x.x/eth0:2 lines would be for your private IP, yes. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|