LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Networking doesn't work for CentOS 5 within VMware ESXi (http://www.linuxquestions.org/questions/linux-networking-3/networking-doesnt-work-for-centos-5-within-vmware-esxi-736937/)

RCbeta 07-01-2009 07:49 AM

Networking doesn't work for CentOS 5 within VMware ESXi
 
hey ... i still don't know what happened on my end ... as I can not get CentOS 5 to find the outside world when it is inside VMware - esxi.

CentOS 5
IP addy of the VMware Box = 192.168.1.4 (dual NIC - only really lets me configure one of the NICs - possible issue?)

CentOS IP = 192.168.1.40

I can of course reach the VMware box from the outside world as I am working from within the console ... pinging it and it sees the outside world - so it's setup is fine.

I can ping 127.0.0.1 and 192.168.1.40 as well. Firewall is turned off as well as SELinux. I turned off iptables as well (just in case firewall was running - it made no difference of course).

ifconfig gives me for eth0:

Link encap:Ethernet HWaddr 00:0C:29:8A:5A:5C
inet addr:192.168.1.40 Bcast:162.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe8a:5a5a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:777 errors:0 dropped:0 overruns:0 frame:0
TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88194 (86.1 KiB) TX bytes:17126 (16.7 KiB)

all of this is on a Dell PowerEdge SC 1425 ... it has two nics, but the VMware gui really only allows me to configure one of them ...

ANy thoughts out there? I posted this at the end of another thread, but then thought better of it and decided it needed its own thread.

Randy

nowonmai 07-01-2009 08:10 AM

How have you configured the guest networking? The usual ways are either via a virtual switch or interface bridging.
Given that your host and guest are on the same subnet, it should be bridged... you should check this.

RCbeta 07-01-2009 08:49 AM

hmmm ... that makes sense ... this i have not done before ... where do i look within CentOS for that ... ?

nowonmai 07-01-2009 11:06 AM

It's configured when you create the VMWare guest. You might be able to alter the guest parameters while the VM is stopped to enable bridging.


All times are GMT -5. The time now is 10:37 PM.