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 05-05-2014, 06:24 PM   #1
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Rep: Reputation: Disabled
Bridged Connection weird IP release in the NAT router


Hi, I use Vmware Player 6.0.2 to run linux on my linux machine with no vmware tools. Both linuxes are Slackware 14.1. In my guest system I have a web-server with bridged connection. Both, host and guest, appear with same MAC address and different IPs in my NAT router (self assigned). After some amount of time ( ~16 hours last time) the IP of the guest 'disappears' from the router and my web-server becomes unreachable. Going to the guest and executing wget or opening a page with the browser returns the NAT IP for the guest on the router.
Is it because of some kind of inactivity on my guest slackware?
Or is it specific to vmware bridged connection?

Thanks!
 
Old 05-05-2014, 07:01 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Sounds like an ARP issue. Do you know how long the period of inactivity (for traffic both to and from the server) has to be before this happens?

Next time it happens, try running tcpdump -i eth0 arp on the hypervisor host and see if a connection attempt from the outside generates an ARP request for the internal IP of the web server (it should), and if that request goes unanswered (it shouldn't).

Last edited by Ser Olmy; 05-05-2014 at 07:03 PM.
 
Old 05-06-2014, 10:43 AM   #3
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Sounds like an ARP issue. Do you know how long the period of inactivity (for traffic both to and from the server) has to be before this happens?
Thanks for response. You are the only person answering to my post, which I have on Vmware forum, serverfault, etc.. So sad..
It happened at random moments, there is no clear pattern. I will try running this script
Code:
while true; do wget www.google.es; rm index.html; sleep 300; done
and see if in this way the connection keeps alive permanently.
Executing tcpdump -i eth0 arp throws some error about promiscuous mode.
 
Old 05-06-2014, 11:03 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,341

Rep: Reputation: Disabled
Quote:
Originally Posted by tautvilas View Post
Executing tcpdump -i eth0 arp throws some error about promiscuous mode.
Even when you run it on the hypervisor?
 
Old 05-06-2014, 01:33 PM   #5
tautvilas
LQ Newbie
 
Registered: Nov 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Even when you run it on the hypervisor?
yes
 
  


Reply

Tags
bridged, networking, vmware



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
[SOLVED] setting up RHCSA lab using virtualbox NAT instead of bridged !! HuMan-BiEnG Linux - Newbie 1 02-15-2014 09:49 PM
Remote connection to webserver trough router/firewall/nat rspock Linux - Embedded & Single-board computer 1 11-09-2013 07:47 PM
STP in bridged connection snq Linux - Networking 1 11-24-2010 04:58 AM
Bridged Router/Modem setup cov Linux - Server 4 05-19-2010 06:55 AM
WEIRD connection problem w/ D-Link Router iminj Linux - Networking 15 10-28-2004 06:21 PM

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

All times are GMT -5. The time now is 07:00 PM.

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