LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-30-2012, 03:29 PM   #1
aiman
LQ Newbie
 
Registered: Apr 2007
Posts: 14

Rep: Reputation: 0
Can't SSH in to AWS VPC second ENI from with in same VPC


Hi,
I attached a Second ENI to my Ubuntu OS machine on AWS VPC, the internal IP of this new ENI is 192.168.12.24. When I try to SSH in to this machine from another machine in the same VPC I get a connection time out. I am able to SSH in to the first ENI of the same machine both from inside and from outside the VPC.

Route command shows the following:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.240.0 U 0 0 0 eth0
192.168.0.0 * 255.255.240.0 U 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 100 0 0 eth0

I am new in the field of iptable and iproutes, any help would be great.
Thanks
 
Old 07-30-2012, 09:08 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
It seems, something is wrong with your networking, There is no route to 192.168.12.0 network. Both Nic destined to same network i.e 192.168.0.0. Due to many abbreviations confusion is there. Please make it more clear. I dont know what is AWS, VPC and ENI..??

Quote:
Route command shows the following:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.240.0 U 0 0 0 eth0
192.168.0.0 * 255.255.240.0 U 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 100 0 0 eth0

Last edited by KinnowGrower; 07-30-2012 at 09:13 PM.
 
Old 07-31-2012, 01:02 AM   #3
aiman
LQ Newbie
 
Registered: Apr 2007
Posts: 14

Original Poster
Rep: Reputation: 0
My apologies for using the abbreviations, AWS is amazon web services, VPC is virtual private cloud and ENI is elastic network interface.
Both the network interfaces I am talking are part of the same subnet in one VPC. The address range for this subnet is 192.168.0.0/16.
Please let me know if you have any more questions.
 
Old 08-03-2012, 09:39 PM   #4
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
Routing table does not showing any entry for 192.168.12.0 network. Can you show your interfaces file.?
 
Old 08-06-2012, 06:46 AM   #5
Gleylancer
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware+RHEL
Posts: 24

Rep: Reputation: Disabled
Quote:
Originally Posted by KinnowGrower View Post
Routing table does not showing any entry for 192.168.12.0 network. Can you show your interfaces file.?
Yes it does, look at the netmask.

@OP: Could you supply the IP Addresses of your first ENI and relevant other hosts you are using?
 
Old 08-06-2012, 08:39 PM   #6
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
According to my understanding, if machine has IP address 192.168.12.24. Routing table should show related entry something like..
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.12.0    0.0.0.0      255.255.240.0       UG    0      0        0 eth1
 
  


Reply

Tags
ubuntu.



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
Linux on Sony VPC-F11M1E Inquisitive Alex Linux - Laptop and Netbook 6 06-08-2010 10:06 AM
No Mouse for VPC 7 on Knoppix 5.1.1 pieper Linux - Newbie 1 03-26-2007 03:56 AM
X11 problem w/ RH9 under VPC .. RuralTurtle Red Hat 3 03-21-2007 02:18 PM
Redhat 9.0 on VPC 7.0 Minion281 Red Hat 0 04-01-2005 10:48 PM
Which Guest OS to use on Virtual PC on a Mac (VPC 6.1.1) vasbinde Linux - General 0 09-04-2004 08:21 PM

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

All times are GMT -5. The time now is 09:15 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