Quantcast
Channel: VMware Communities : Popular Discussions - VMware Server 1
Viewing all articles
Browse latest Browse all 74849

Issue: Bind guest NICs to seperate host NICs fails

$
0
0

Hi,

 

Host system: Ubuntu 8.04 with 2.6.24-24-generic kernel

Three NICs: One dedicated for host, and two bridged for guest

VMware Server: 1.0.9 build-156507

Guest system: ClarkConnect Community 5.0 (linux firewall application configured with two NICs)

 

 

 

Issue:  Cannot get guest system to bind to two seperate host NIC's. Instead it binds both virtual guest NICs to same host NIC.

 

 

 

For the purpose of testing the firewall connection has been changed: Public interface NIC is connected to the private sub-net.

This is to simplify testing of the assigned actual MAC addresses assigned and host NIC used.

 

 

 

Host network set-up

ifconfig (edited)

eth0      Link encap:Ethernet  HWaddr 00:09:5b:bc:b3:8c 

(used as first bridged guest NIC)

 

 

 

eth1      Link encap:Ethernet  HWaddr 00:10:b5:cd:12:5c 

inet addr:10.0.69.200  Bcast:10.0.69.255  Mask:255.255.255.0

(used as host's NIC)

eth2      Link encap:Ethernet  HWaddr 00:0e:a6:79:6f:3e 

(used as second bridged guest NIC)  

 

 

 

Host Virtual Network Set-up

Host NIC eth0 bridged to /dev/vmnet0 and eth2 bridged to/dev/vmnet2:

 

 

 

ps -efw | grep vmnet

root     21692     1  0 18:26 pts/2    00:00:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0

root     21696     1  0 18:26 pts/2    00:00:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-2.pid /dev/vmnet2 eth2

 

 

 

I have not installed the vmware tools on the guest. Read about installing them to run using driver EthernetX.virtualDev = "e1000", but to my understanding this is primarily to get a GB eth device which is not required for my set-up. An attempt to install vmware tools failed as vmware-config-tools.pl script returned compilation errors.

 

 

 

Guest Network Set-up

Note: both MAC addresses below has been changed by adding MACADDR in /etc/sysconfig/network-scripts/ifcfg-eth per device.

ifconfig (edited)

eth0      Link encap:Ethernet  HWaddr 00:1C:DF:04:FC:75

inet addr:10.0.69.215  Bcast:10.0.69.255  Mask:255.255.255.0

(used as public gateway NIC)

 

 

 

eth1      Link encap:Ethernet  HWaddr 00:0C:29:FF:FF:FF

inet addr:10.0.69.1  Bcast:10.0.69.255  Mask:255.255.255.0

(used asprivate gatewayNIC)

 

 

 

Failed Test Case #1

Attempt to ping public firewall and private firewall addresses. Expected result: reply from different MAC addresses.

ARPING 10.0.69.1 from 10.0.69.200 eth0

Unicast reply from 10.0.69.1 00:1C:DF:04:FC:75  1.428ms

ARPING 10.0.69.215 from 10.0.69.200 eth0

Unicast reply from 10.0.69.215 00:1C:DF:04:FC:75  1.418ms

Result: Failed - both public and private firewall IP address reply using same MAC address.

 

 

 

Failed Test Case #2

Pulling out LAN cable from public NIC (i e eth0 on host system/ eth0 on guest system).

Expected result: no ping reply.

sudo arping 10.0.69.215

ARPING 10.0.69.215 from 10.0.69.200 eth0

Unicast reply from 10.0.69.215 00:1C:DF:04:FC:75  4.761ms

Result: Failed - gust public NIC binds to same physical host NIC as used by gust private NIC.

 

 

 

Remaining Questions

Q1) Have I missed any steps  to I set-up the guest virtual network to be bridged directly to host NIC's eth0 and eth2?

Q2) Are there any known issues with bridged networking for WMware Server 1.0.9

 

 

 

All relevant feedback is welcomed!

 

 

 

//Jimmy


Viewing all articles
Browse latest Browse all 74849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>