IP-Forwarding doesn't work!


Joined
Mar 23, 2014
Messages
7
Reaction score
0
Hello everybody.

I have a problem about IP-Forwarding.
I set the registry value of "IpEnableRouter" but IP-Forwarding does not work.
I tested it by vmware in this scenario:
I have a win7 Guest OS, win7 Host OS & a modem. I enabled registry value of "IpEnableRouter" in Host OS & set the default gateway of Guest OS to IP address of Host OS.
When I ping 4.2.2.4 in Guest OS, Requests don`t forwarding fron Host OS to the modem.

Can you help me?
Thanks a lot.
Ya Ali.
 
Ad

Advertisements

Shintaro

Moderator
Joined
Mar 1, 2012
Messages
2,135
Reaction score
252
In the configuration for the guest, is it set to NAT or Bridged?

Please let us know ALL the IP addresses.

Is your modem using NAT or bridged?
If it is bridged, do you have multiple IP addresses from your ISP?
Because you can't use 4.x.x.x That is used by someone on the internet! Hence it will not route as you think it will.
You are only allowed to use non-routable IP address information HERE.

On the gues, you shouldn't need to change anything. The guest should build its routing tables once you give it the default router IP address.
 
Joined
Mar 23, 2014
Messages
7
Reaction score
0
Hello dear Shintaro,

I created a Lan between Host OS, Guest OS & modem.
modem ---> 192.168.1.1
Host OS ---> 192.168.1.51
Guest OS ---> 192.168.1.70

In this Lan, Guest OS forwards all packets destined to outside of the Lan to Host OS.
In step 2, Host OS forwards them to modem.

I know i can set 192.168.1.1 as default gateway of Guest OS but I need to route packets in this manner.
 
Ad

Advertisements

Shintaro

Moderator
Joined
Mar 1, 2012
Messages
2,135
Reaction score
252
Can you please answer my questions in he previous post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top