LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2012, 01:45 AM   #1
Swapan
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Cannot connect to Red Hat Linux VM on Windows 7 laptop


Hi
Apologize for posting a similar topic if posted & resolved earlier .I have a RH5 Linux VM server with static IP running on Workstation 6 on Windows 7 host in my Dell Laptop. Installed DB2express-C ( IBM freeware DB2 )in the Linux and configured to listen at port 50000 . DB2 is working fine. Thinking to install IBM Data Studio ( freeware ) on windows 7 to connect to DB2 on linux vm . But before that tested and ping is not working. Read several forums around . Tried Bridge with VMnet0 , changed the /etc/samba/smb.conf file adding workgroup = WORKGROUP after installing samba . Did not work . Tried with adding alias to the static IP in /etc/hosts file , but that did not work too . well , not to mention .. am not very proficient in networking tools in Linux or Windows.. anyway , here are the further details of my ipconfig and ifconfig output .....any help will be highly apprecaited...

Windows IP Configuration

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a12f:3af8:d4e5:b043%11
IPv4 Address. . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::fd12:1e1c:4ee8:18a7%15
IPv4 Address. . . . . . . . . . . : 192.168.79.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::5a4:9343:cd0c:333e%16
IPv4 Address. . . . . . . . . . . : 192.168.23.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Tunnel adapter isatap.{C209384E-E40B-4F41-A98E-2ED61D70C786}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{527D4498-F896-4D7A-9ACE-9CA0123C0C1E}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{DA670BD7-180C-46F6-BC6D-73942E675B2D}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{C002145A-FD09-48DF-B89C-D392BDEB409B}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{9B73F6D6-F7A3-434F-82D1-0E6CADBF00A0}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :


-------------------------------------------------------------
ifconfig from my Linux VM server that has static IP is

eth0 Link encap:Ethernet HWaddr 00:0C:29:C0:61:4F
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr:fe80::20c:29ff:fec0:614f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Rx btes:252 (252.0 b) TX bytes:8124 (7.9KiB)
Interrupt:67 Base address:0x2000

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:5260 errors:0 dropped:0 overruns:0 frame:0
TX packets:5260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3782166 (3.6 MiB) TX bytes:3782166 (3.6 MiB)

Thanks
Swapan
 
Old 04-04-2012, 03:08 AM   #2
manyrootsofallevil
Member
 
Registered: Dec 2010
Distribution: Red Hat, Kubuntu
Posts: 130

Rep: Reputation: 14
Quote:
Originally Posted by Swapan View Post
Hi
Apologize for posting a similar topic if posted & resolved earlier .I have a RH5 Linux VM server with static IP running on Workstation 6 on Windows 7 host in my Dell Laptop. Installed DB2express-C ( IBM freeware DB2 )in the Linux and configured to listen at port 50000 . DB2 is working fine. Thinking to install IBM Data Studio ( freeware ) on windows 7 to connect to DB2 on linux vm . But before that tested and ping is not working. Read several forums around . Tried Bridge with VMnet0 , changed the /etc/samba/smb.conf file adding workgroup = WORKGROUP after installing samba . Did not work . Tried with adding alias to the static IP in /etc/hosts file , but that did not work too . well , not to mention .. am not very proficient in networking tools in Linux or Windows.. anyway , here are the further details of my ipconfig and ifconfig output .....any help will be highly apprecaited...

Windows IP Configuration

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a12f:3af8:d4e5:b043%11
IPv4 Address. . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::fd12:1e1c:4ee8:18a7%15
IPv4 Address. . . . . . . . . . . : 192.168.79.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::5a4:9343:cd0c:333e%16
IPv4 Address. . . . . . . . . . . : 192.168.23.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Tunnel adapter isatap.{C209384E-E40B-4F41-A98E-2ED61D70C786}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{527D4498-F896-4D7A-9ACE-9CA0123C0C1E}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{DA670BD7-180C-46F6-BC6D-73942E675B2D}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{C002145A-FD09-48DF-B89C-D392BDEB409B}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Tunnel adapter isatap.{9B73F6D6-F7A3-434F-82D1-0E6CADBF00A0}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :


-------------------------------------------------------------
ifconfig from my Linux VM server that has static IP is

eth0 Link encap:Ethernet HWaddr 00:0C:29:C0:61:4F
inet addr:192.168.0.9 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr:fe80::20c:29ff:fec0:614f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Rx btes:252 (252.0 b) TX bytes:8124 (7.9KiB)
Interrupt:67 Base address:0x2000

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:5260 errors:0 dropped:0 overruns:0 frame:0
TX packets:5260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3782166 (3.6 MiB) TX bytes:3782166 (3.6 MiB)

Thanks
Swapan
VM and windows box are in different networks and there isn't any routing in place.
Simplest way is to change you ip settings on the VM. Change it to 192.168.1.xxx and you should be ok
 
  


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
unable to connect to Red Hat grading server through VMware bridged in windows 7 jbishop Linux - Newbie 2 10-13-2011 11:27 PM
Installation of Red hat Linux 7 on a laptop mbambat Red Hat 1 06-20-2006 12:24 PM
Cant connect to the internet through Red HAT Linux 7.1 shradha Linux - Networking 4 07-06-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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