VMware Communities
nicostraub
Contributor
Contributor

can't bridge two subnets

maybe I'm doing this wrong but I'm trying to get a vm - which has it's own routable IP - to communicate to the internet. The network ocnsists of two segments: one with one IP address and a gateway (A) and another with 6 ips and no gateway (B). my network adapter has an IP on both segments and my vm has the default gateway set to my nics IP. routing is enabled via the registry hack IPEnableRouter. when I try to ping outside it won't go past my nic's address on segment A (it reaches A's IP but not A's gateway). If I connect through NAT it works but I can't seem to find the config that will allow me to connect transparently to the vm. Please someone help me I've been all weekend banging my head against the wall :S

Thanks!

0 Kudos
9 Replies
continuum
Immortal
Immortal

please post a screenshot of vmnetcfg.exe

also read http://sanbarrow.com/vmx/vmx-network.html

especially the section on how to configure custom network - you need that if you use more then one bridged network




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
nicostraub
Contributor
Contributor

[IMG]http://img375.imageshack.us/img375/9521/22443402.png[/IMG][/URL]

I need only one bridge

Thanks!

0 Kudos
continuum
Immortal
Immortal

the screenshot looks fine to me

I have a hunch that you think this is way more complicated then it actually is.

I never had to setup routing to give my VMs with bridged network access to the internet.

Maybe we see what is wrong if you post ipconfig /all from host and guest




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
nicostraub
Contributor
Contributor

host ipconfig:

Windows IP Configuration*
*


  • * Host Name . . . . . . . . . . . . : thor*
    * Primary Dns Suffix . . . . . . . :


  • * Node Type . . . . . . . . . . . . : Unknown


  • * IP Routing Enabled. . . . . . . . : Yes


  • * WINS Proxy Enabled. . . . . . . . : No


  • *



  • * Ethernet adapter VMware Network Adapter VMnet8:*
    *



  • * Connection-specific DNS Suffix . 😘
    * Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8


  • * Physical Address. . . . . . . . . : 00-50-56-C0-00-08


  • * DHCP Enabled. . . . . . . . . . . : No


  • * IP Address. . . . . . . . . . . . : 0.0.0.0


  • * Subnet Mask . . . . . . . . . . . : 0.0.0.0


  • * Default Gateway . . . . . . . . . :


  • *



  • * Ethernet adapter VMware Network Adapter VMnet1:*
    *



  • * Connection-specific DNS Suffix . 😘
    * Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1


  • * Physical Address. . . . . . . . . : 00-50-56-C0-00-01


  • * DHCP Enabled. . . . . . . . . . . : No


  • * IP Address. . . . . . . . . . . . : 192.168.137.1


  • * Subnet Mask . . . . . . . . . . . : 255.255.255.0


  • * Default Gateway . . . . . . . . . :


  • *



  • * Ethernet adapter Local Area Connection:*
    *



  • * Connection-specific DNS Suffix . 😘
    * Description . . . . . . . . . . . : Intel(R) PRO/1000 PM Network Connection


  • * Physical Address. . . . . . . . . : 00-25-90-14-A4-B4


  • * DHCP Enabled. . . . . . . . . . . : No


  • * IP Address. . . . . . . . . . . . : b.1


  • * Subnet Mask . . . . . . . . . . . : 255.255.255.248


  • * IP Address. . . . . . . . . . . . : a.1


  • * Subnet Mask . . . . . . . . . . . : 255.255.255.224


  • * Default Gateway . . . . . . . . . : a.gateway


  • * DNS Servers . . . . . . . . . . . : dns

guest ifconfig

eth0 Link encap:Ethernet HWaddr 00:0c:29:4e:5a:32*
* inet addr: b.3 Bcast:b.7 Mask:255.255.255.248*
* inet6 addr: fe80::20c:29ff:fe4e:5a32/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:7831298 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:7158855 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:1000*
* RX bytes:938219375 (894.7 MiB) TX bytes:6048130395 (5.6 GiB)*
* lo Link encap:Local Loopback*
* inet addr:127.0.0.1 Mask:255.0.0.0*
* inet6 addr: ::1/128 Scope:Host*
* UP LOOPBACK RUNNING MTU:16436 Metric:1*
* RX packets:1284 errors:0 dropped:0 overruns:0 frame:0*
* TX packets:1284 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0*
* RX bytes:141694 (138.3 KiB) TX bytes:141694 (138.3 KiB)

It seems fine to me too, since I can reach the server's IP no problem but not the server's gateway IP, I'm thinking the problem is in windows, 'cause if the bridge weren't working I wouldn't be able to reach the servers IP.

Thanks!

0 Kudos
WoodyZ
Immortal
Immortal

Posting edited ipconfig/ifconfig output is just about worthless and is of little or no diagnostic value whatsoever.

Anyway hope it's not to cold in Montreal. Smiley Wink

0 Kudos
nicostraub
Contributor
Contributor

I'm in chile 😃

Anyway I don't see why you say that, but I'll post the original code in the morning (it's 2 am over here)

Regards!

0 Kudos
WoodyZ
Immortal
Immortal

I'm in chile 😃

I said Montreal because the 184.107.11.240 IP Address you have set on VMnet8 in the image you attached is allocated to iWeb Technologies Inc. in Montreal CA.

Anyway I don't see why you say that,

Because it is incomplete information and makes it harder to see the whole picture more easily and clearly.

0 Kudos
nicostraub
Contributor
Contributor

In the end I added a static route to the gateway from the first subnet and now it works! =D

0 Kudos
LuchoEspitia
Contributor
Contributor

Hola Nicostraub, acabo de comenzar con iWeb, tengo instalado el VMWare en el servidor con la IP pública principal, y para las Virtuales las IP secundarias, pero luego de seguir el procedimiento http://forum.iweb.com/vmware-opcion-bridged-configuracion-de-ips-adicionales-t3508.html no hay conexión de las virtuales hacia internet ni de internet hacia las virtuales. Has podido solucionar este inconveniente? agradecería mucho la ayuda,

0 Kudos