Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Dec 04, 2011 11:07 am 
Offline
Newbie

Joined: Sun Dec 04, 2011 10:46 am
Posts: 4
Location: United Kingdom
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


Top
   
PostPosted: Sun Dec 04, 2011 8:59 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
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


Top
   
PostPosted: Mon Dec 05, 2011 9:49 am 
Offline
Newbie

Joined: Sun Dec 04, 2011 10:46 am
Posts: 4
Location: United Kingdom
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.


Top
   
 Post subject:
PostPosted: Mon Dec 05, 2011 7:28 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
What does the IP configuration for eth0 look like?

Code:
$ ip addr show dev eth0

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Thu Dec 08, 2011 7:26 pm 
Offline
Newbie

Joined: Sun Dec 04, 2011 10:46 am
Posts: 4
Location: United Kingdom
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


Top
   
 Post subject:
PostPosted: Thu Dec 08, 2011 9:51 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
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.


Top
   
 Post subject:
PostPosted: Sat Dec 10, 2011 4:29 pm 
Offline
Newbie

Joined: Sun Dec 04, 2011 10:46 am
Posts: 4
Location: United Kingdom
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?


Top
   
 Post subject:
PostPosted: Sat Dec 10, 2011 8:35 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
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


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


Who is online

Users browsing this forum: No registered users and 1 guest


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