Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to find out the internal IP of my ELB. I realise it's dynamic and changes every so often but I'm looking into a large number of packets flooding the server and all I have to go on is an internal Amazon IP

Thanks.

share|improve this question
1  
Have you tried netstat, tcpdump or looking in the logs? –  Ladadadada Jan 16 '13 at 12:07
    
Yes, unfortunately no indication of what happened during the time it was connected, just that it was connected. –  Jamie Taylor Jan 16 '13 at 12:11
    
So this happened in the past and isn't happening any more? So what you want to find out is what IP your ELB had at some point in the past. Is that correct? Put a sample of whatever logs you do have in your question. –  Ladadadada Jan 16 '13 at 12:17
    
This happened about half an hour ago. but after following your suggestion of netstat, I then tried browsing to the IP in lynx, sure enough it redirected me to my website. Now I just have to work out why the ELB was sending so much data all of a sudden. Thanks. –  Jamie Taylor Jan 16 '13 at 12:20
add comment

1 Answer

The ELB ip address is the ip address that connects to your instances. The source client IP address is found in the request's X-Forwarded-For header.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.