LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-25-2008, 07:03 PM   #1
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Rep: Reputation: 17
VMWare - Bridged Networking Problems


Hey guys,

I'm trying to setup two VEs, using ::edit:: Bridged ::/edit:: networking on VMWare server, to try out DRBD replication with MySQL. I've assigned the two VEs IPs within my local range:

ifcfg-eth0 on mysql-primary
Code:
DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.1.129
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
ifcfg-eth0 on mysql-secondary
Code:
DEVICE=eth0
ONBOOT=yes
IPADDR=192.168.1.128
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
The two servers can ping one another, and I've got DRBD replicating between the two, however, I cannot ping any other hosts on my network; also DNS resolution is timing out even though I've configured /etc/resolve.conf with the proper name servers.

This would be fine since I'm only using these VEs for company training, however I need to grab the Linux HeartBeat packages from the CentOS repositories, and with no network connectivity I can't even manually copy over the RPMs.

Some things that might be helpful to know:

Even on the host machine (My laptop running Ubuntu) I'm unable to ping the two VEs. Anytime I try to ping an external IP from the VEs I get the following error:

Destination Host Unreachable.

Anyone have any documentation they can point me to in regards to troubleshooting these types of issues? I can wrap my head around any Systems Administration issue, but this is just killing me. I know I'm probably missing something elementary here, and if I am please feel free to point and laugh at me, at least I'll learn my lesson!

Last edited by nathacof; 10-25-2008 at 08:51 PM.
 
Old 10-25-2008, 08:35 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
You set your gateway wrong. The gateway when using VMware NAT networking is x.x.x.2 . Also, how are you determining what IPs to assign? Are you actually using a range that VMware found free and assigned? You can't just pick an arbitrary network, you have to use the one VMware has assigned. Consult the dhcpd.conf found in the appropriate vmnet directory (should be vmnet8 OTTOMH).
 
Old 10-25-2008, 08:44 PM   #3
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Original Poster
Rep: Reputation: 17
Oh man, screwed the pooch on this thread. I'm actually using Bridged networking. Sorry for my mistake.
 
Old 10-30-2008, 11:45 AM   #4
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Original Poster
Rep: Reputation: 17
Well, I resolved the issue simply by following chort's advice and switching to NAT networking. Everything is peachy now. I still don't know why Bridged networking wasn't working but hey everything's working so I can't complain.
 
  


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] Vmware nat configuration procfs Linux - Software 3 07-06-2008 09:54 PM
Building NAT table with fwbuilder for vmware guest as25c Linux - Networking 0 09-08-2007 03:57 AM
VMware Server NAT address fakie_flip Linux - Software 4 09-16-2006 09:07 PM
vmware active ftp problems (nat) tumnus Linux - Newbie 0 02-10-2003 01:33 AM
Vmware NAT indee Linux - Networking 3 01-19-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:29 AM.

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