| Linode Forum https://forum.linode.com/ |
|
| Configuring Linode Private IPs in Webmin https://forum.linode.com/viewtopic.php?f=19&t=8148 |
Page 1 of 1 |
| Author: | motayeb [ Sun Dec 04, 2011 11:07 am ] |
| Post subject: | Configuring Linode Private IPs in Webmin |
Hi, I have setup two linode servers and want to use one as a web server, the other as DB. They are both in the same data centre. Linode has assigned me with private IPs on both servers. I have installed webmin on both of them and need to configure their private IPs on each instance. I have attempted to do this already but cannot ping the servers from one another using their private IPs, I can only do it with the public ones. Of course I restarted several times. In Webmin, I have the option of adding an interface, a virtual interface or a bridge. Any help would be greatly appreciated! Thanks |
|
| Author: | glg [ Sun Dec 04, 2011 8:59 pm ] |
| Post subject: | Re: Configuring Linode Private IPs in Webmin |
motayeb wrote: Hi,
I have setup two linode servers and want to use one as a web server, the other as DB. They are both in the same data centre. Linode has assigned me with private IPs on both servers. I have installed webmin on both of them and need to configure their private IPs on each instance. I have attempted to do this already but cannot ping the servers from one another using their private IPs, I can only do it with the public ones. Of course I restarted several times. In Webmin, I have the option of adding an interface, a virtual interface or a bridge. Any help would be greatly appreciated! Thanks Did you reboot after adding the private IP in the linode control panel? If yes, check firewalls |
|
| Author: | motayeb [ Mon Dec 05, 2011 9:49 am ] |
| Post subject: | Re: Configuring Linode Private IPs in Webmin |
glg wrote: Did you reboot after adding the private IP in the linode control panel? If yes, check firewalls Thanks for your response. Just checked the firewall - it's set to allow all traffic. Yes I did reboot several times. |
|
| Author: | hoopycat [ Mon Dec 05, 2011 7:28 pm ] |
| Post subject: | |
What does the IP configuration for eth0 look like? Code: $ ip addr show dev eth0 |
|
| Author: | motayeb [ Thu Dec 08, 2011 7:26 pm ] |
| Post subject: | |
hoopycat wrote: What does the IP configuration for eth0 look like?
Code: $ ip addr show dev eth0 Ok here it is: Activated at boot: Yes IPv4 address: From DHCP IP V6 address: IPv6 disabled Virtual interfaces: 0 Hardware address: default Thanks |
|
| Author: | hoopycat [ Thu Dec 08, 2011 9:51 pm ] |
| Post subject: | |
I meant from the command line... webmin is going to tell you what it thinks is going on, and this is a situation where you're going to want to see what's actually going on. It looks like it thinks you're set for DHCP, though... if you're attaching multiple IPv4 addresses, you'll need to specify the IP addressing information manually. |
|
| Author: | motayeb [ Sat Dec 10, 2011 4:29 pm ] |
| Post subject: | |
hoopycat wrote: I meant from the command line... webmin is going to tell you what it thinks is going on, and this is a situation where you're going to want to see what's actually going on.
It looks like it thinks you're set for DHCP, though... if you're attaching multiple IPv4 addresses, you'll need to specify the IP addressing information manually. Sorry, I think this is the info you asked for: # ip addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether f2:3c:91:df:ff:61 brd ff:ff:ff:ff:ff:ff inet 178.79.183.16/24 brd 178.79.183.255 scope global eth0 inet6 fe80::f03c:91ff:fedf:ff61/64 scope link valid_lft forever preferred_lft forever Do you mean I need to specify the public or private IP addresses manually...or both? |
|
| Author: | glg [ Sat Dec 10, 2011 8:35 pm ] |
| Post subject: | |
motayeb wrote: Do you mean I need to specify the public or private IP addresses manually...or both?
both. DHCP only gets you public IPs. If you want to use private you have to setup both the public and private as static. There's an example in this library page: http://library.linode.com/networking/co ... interfaces |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|