LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2012, 11:40 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
AWS question: can VPC allow both a private and public IP address?


I have AWS EC2 instances that can communicate with each other in the same zone just fine. But there is no predictability of the IP address, so I need to take other steps for these instances to become aware of what IP address to connect to.

What I would like to do is have a small range of IP addresses, such as 172.24.24.0/24, where they can easily just do an address scan of a small finite range of addresses to find each other (subsequently they use key based SSH so authentication is still achieved). While reading about VPC in AWS documentation, it looks like instances started this way do NOT get a randomly provisioned public IP address when using VPC.

http://docs.amazonwebservices.com/Am...e/Welcome.html

What I want is BOTH. I want each instance to have its public IP randomly provisioned just as happens without VPC now, but to also have a finite range of private IPs which better facilitates finding each other. Is there a way in VPC to do that? Or is something else required?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH in to AWS VPC second ENI from with in same VPC aiman Linux - Networking 5 08-06-2012 08:39 PM
SSL Public key/Private question masenko703 Linux - Newbie 6 06-03-2009 11:14 PM
Interesting question about Private/Public Key dmor Linux - Security 9 08-27-2008 02:49 PM
question about private and public keys mac1234mac Linux - Security 25 04-13-2006 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration