[Ilugc] Problem with VM guest with real IP

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Thu, 21 Jul 2011 10:49:16 +0530

On Thu, Jul 21, 2011 at 4:16 AM, Zico <mailzico at gmail.com> wrote:


For testing purpose, I got a domain name from dyndns.com with specific IP (
public IP of my network, ISP's ).

Without a network diagram, it is **difficult** to understand the
topology of your network.

AFIAK, your "public" IP can be assigned only to the WAN port of your
router/modem to the ISP (in a typical setup).

Now, I have assigned that IP in my guest
CentOS VM NAT (eth0), but I can't connect to internet now.

See above remark.  Assuming that your VM is on "internal" network you
should assign it a "static" IP from the "private" IP number pool for
your LAN.  You have to assign port forwarding rules in your
router/modem to route packets to the "private" IP number of your VM.

 I think, I need
to configure this in router, but I am afraid that, I actually don't know how
to do that. Can you please bring me any link or any hint regarding that?

IMO, one should have an understanding networking fundamentals under
one's belt. The Linux Network Administration Guide [1] is a good place
to start reading up about networking in Linux (as well as in general)

[1] <http://www.tldp.org/LDP/nag2/nag2.pdf>

-- 
Arun Khan
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Other related posts: