LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-04-2008, 10:24 PM   #1
brenan99
LQ Newbie
 
Registered: Aug 2003
Location: Maryland
Distribution: Debian, Ubuntu, Solaris
Posts: 23

Rep: Reputation: 15
VMWare's bridging vs Window's bridging - routing is messed up when Windows bridging


I was wondering what the difference is between windows MAC bridging and VMWare's bridging. My network is somewhat convoluted (well it is to me) so please bear with me as I describe the scenario.

I have a machine with an ethernet connection going to the Internet (we'll call it interface0) and another one going to the local lan (interface1). On the local lan there is a router that also links up to the Internet (I live in a dorm room).

Interface0 is set to get a DHCP address from the ISP, while interface1 has been assigned a static ip address (for the 192.168.0.0 subnet) with no default route set. Thus all traffic not destined for the 192.168.0.0 subnet is routed through interface0.

I have VM-Ware installed on my machine and using its built-in bridging, call that one interface2, I bridged it to interface1. In Vmware, my virtual machine was able to get an address on the 192.168.0.0 subnet via dhcp from the router, and all internet-destined traffic was directed through the router rather than through interface0 (which is what I wanted).

However, lately I needed to change this setup; I took down VMWare's built-in bridging interface (interface2) and created a new non-bridged interface (we'll call this one interface3) (I disabled the NAT and DHCP vmware services of course and changed my vm to use that interface3 instead of interface2).

I then bridged interface1 and interface3 (and then gave the bridged interface the same static ip that interface1 had used) with Window's MAC bridging in an attempt to create the same effect as I had with vmware's built-in bridging using interface2. However, I noticed that although I can get an ip on the vm for the 192.168.0.0 subnet, ping all machines on my local lan and that the default router is correctly set to be the router on the local lan, wireshark captures show that if I try to ping google, no packets are sent by the vm over the local lan.

I was suspicious of where the packets were going so I enabled IP forwarding in windows and noticed that my ping packets from the vm were being directed out interface0 (which of course doesn't work)!

My question is how can i get Window's bridge to have the same behavior as VMware's bridge? Or is this at all possible? What is the difference I'm missing?
 
  


Reply



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] iptables 'bridging/routing' two interfaces for VPN PelliX Linux - Networking 10 10-27-2007 04:57 AM
Windows virtual machine can't join domain using bridging on Linux host (RPC failed) bgottesman Linux - Networking 0 07-10-2007 05:09 PM
Bridging+Bonding for Bridging+HA+Load Balancing? kartheekpn Linux - Networking 0 08-13-2006 02:08 AM
Modems - bridging vs routing billymayday Linux - Hardware 2 07-26-2006 04:06 PM
bridging, routing and tunnels -- oh my! MatthewSabin Linux - Networking 1 08-27-2004 04:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:22 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