LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Thread Tools
Old 11-06-2009, 04:56 AM   #1
froff
LQ Newbie
 
Registered: Nov 2005
Location: Poland
Posts: 6
Thanked: 0
Question Strange problem with network when vmware process is working


[Log in to get rid of this advertisement]
Hello
I have strange problem with network connection.
When vmware is not started (I mean vmware process, not running guest) network works normal. It is WiFi on DWL-122 USB HUB.
Also under MS Windows it works without problems.

When vmware is started (via rcX.d on startup) computer normally connects to router, obtains IP by DHCP, and shows notification, that is connected (in tray). But communication does not work
Even ping by ip to router. Nothing!
To solve this problem I have to unplug WiFi hub from USB and plug it again. Computers connects again and everything works.

But when I start vmware guest (with NAT mechanizm for network) network stops to work under host, but sill works on guest.
When I stop guest network never works on host again. Even I kill vmware processes, replug USB hub, no way. I have to restart computer to make it working again.

I'm near desperate.

route command says:

Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.128.0   *               255.255.255.0   U     0      0        0 vmnet1
192.168.0.0     *               255.255.255.0   U     2      0        0 wlan0
172.16.199.0    *               255.255.255.0   U     0      0        0 vmnet8
link-local      *               255.255.0.0     U     1000   0        0 wlan0
default         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0
It is interesting that the last line appears 20 seconds after starting route. I have no idea what does mean that long delay.
"link-local" is ip 196.254.0.0

I can't see any conflict

192.168.0.1 is proper router address.
IP from DHCP is 192.168.0.169

Can anybody help?
I'm not a linux nor network expert

P.S.
System: Ubuntu 8.10

P.S.2
dmesg tail:

Code:
[  134.509825] bridge-wlan0: is a Wireless Adapter
[  134.509830] bridge-wlan0: up
[  134.509833] bridge-wlan0: attached
[  138.924264] NET: Registered protocol family 10
[  138.926732] lo: Disabled Privacy Extensions
[  138.927740] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  149.080073] vmnet1: no IPv6 routers present
[  149.372050] wlan0: no IPv6 routers present
[  149.436030] vmnet8: no IPv6 routers present
[  196.576531] type=1503 audit(1255378113.053:6): operation="inode_permission" requested_mask="w::" denied_mask="w::" fsuid=0 name="/dev/ttyUSB0" pid=6748 profile="/usr/sbin/cupsd"

Last edited by froff; 11-06-2009 at 05:18 AM..
windows_xp_2003 froff is offline     Reply With Quote
Old 11-06-2009, 11:37 AM   #2
luck.anshu
LQ Newbie
 
Registered: Jan 2009
Location: India
Posts: 10
Thanked: 0
I want to know following things:

1. Which interface you for using? (vmnet1/vmnet2...)
2. What's the IP address (with subnet mask) of that interface on your host machine.
linuxcentos luck.anshu is offline     Reply With Quote
Old 11-06-2009, 04:58 PM   #3
froff
LQ Newbie
 
Registered: Nov 2005
Location: Poland
Posts: 6
Thanked: 0

Original Poster
Quote:
Originally Posted by luck.anshu View Post
I want to know following things:

1. Which interface you for using? (vmnet1/vmnet2...)
2. What's the IP address (with subnet mask) of that interface on your host machine.

Hi
thank's for response

vmnet1 and vmnet8 (not 2) are interfaces "established" by vmware, I do not exactly know what is their role.
I use wlan0 intreface to connect network.

My IP form DHCP is 192.168.0.169, my router (also DHCP serwer) is at 192.168.0.1; subnet mask: 255.255.255.0

route and ifconfig give the same result before and after replugging usb hub.

traceroute to router 192.168.0.1 gives result:

Code:
traceroute to 192.168.0.1 (192.168.0.1), 30 hops max, 40 byte packets
 1  hebel.local (192.168.0.169)  3002.583 ms !H  3002.586 ms !H *
very very long times!!!

and after replugging hub:

Code:
 1  192.168.0.1 (192.168.0.1)  1.654 ms  2.085 ms  3.185 ms
linuxubuntu froff is offline     Reply With Quote
Old 11-07-2009, 09:14 AM   #4
luck.anshu
LQ Newbie
 
Registered: Jan 2009
Location: India
Posts: 10
Thanked: 0
1st of all check whether vmnet1 and vmnet is configured in same subnet or not, it can conflict your IP address, which you are getting from dhcp server.
If you don't want connectivity for your guest vmware machine then down vmnet1 and vmnet2.
These 2 interface are provided during installation if you want to connect your machine with your host.

If you want to connect guest with your host then bind vmnet1 on your vmware and then configure IP address in my guest machine which should be configured in same subnet of vmnet1
Now create following firewall rules to access host machine and internet

iptables -I INPUT -s <ip address of guest machine> -j ACCEPT
iptables -I POSTROUTING -s <ip address of guest machine> -j MASQUERADE
windows_vista luck.anshu is offline     Reply With Quote
Old 11-07-2009, 03:33 PM   #5
froff
LQ Newbie
 
Registered: Nov 2005
Location: Poland
Posts: 6
Thanked: 0

Original Poster
As we can see in route result there is no subnets conflict. Or maybe I do not understand its output

Is it any way to check why traceroute shows those very long times when connecting to router?
Now I think that network theoretically works but something makes this long delay for every packet so each communication ends on timeout. I have no idea how to investigate what makes this delay and why.
linuxubuntu froff is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Debian-Gnome: Network Manager Working Strange with Intel wireless 4965AGN sd|| Linux - Wireless Networking 1 11-05-2009 04:09 AM
strange problem in installing the vmware-server on fc7 babylzu Linux - Software 3 08-30-2007 09:25 AM
very strange network problem. bruse Linux - Networking 12 09-28-2005 08:45 AM
Netework problem with VMware; really strange gerdfranzm Linux - Networking 1 05-26-2004 02:09 PM
Strange Network Problem syxxpac023 Linux - Networking 2 03-29-2002 06:15 PM


All times are GMT -5. The time now is 02:33 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration