Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Parallels bridged networking on gentoo (Solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Bobnoxous
Apprentice
Apprentice


Joined: 03 May 2005
Posts: 240

PostPosted: Sun Jan 20, 2008 5:06 am    Post subject: Parallels bridged networking on gentoo (Solved) Reply with quote

Hi all. I'm running gentoo under parallels. I have no problem with shared networking, which sets up a completely different subnet for the VM, but I want to use bridged so that my VM and mac OS are on the same subnet, so I can share files.

When I boot into windows under parallels using bridged networking, everything works fine, but on gentoo, it gets an IP address, and I can ping other computers on my subnet, but I cannot get out to the internet. Trying to ping yahoo.com gives me an unknown host message.

Maybe this has nothing to do with parallels. I suspect it's some network configuration, but I figured if I got dhcp working, it should get everything it needs. I don't know why that seems to work for shared networking, but not bridged. I'd appreciate any ideas.

Thanks.
_________________
"The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell


Last edited by Bobnoxous on Fri Jan 25, 2008 7:15 am; edited 1 time in total
Back to top
View user's profile Send private message
e.
n00b
n00b


Joined: 23 Jan 2008
Posts: 2

PostPosted: Thu Jan 24, 2008 1:27 pm    Post subject: Reply with quote

It seems your DNS-resolution is not working.

while in shared mode, the guest asks the host, which has a working DNS-lookup.
In bridged mode, somehow this information does not reach the guest.

Please check the file /etc/resolv.conf for a correct nameserver entry.
(This file should be generated/modified by the DHCP client in the guest)

Maybe you need to set some options in your /etc/conf.d/net file in the guest.

Another possible point of failure would be a wrong gateway or an active Netfilter
(check with route -n for the default Gateway or iptables -L -v -t filter for an filter)

Hope this helps.
Back to top
View user's profile Send private message
Bobnoxous
Apprentice
Apprentice


Joined: 03 May 2005
Posts: 240

PostPosted: Fri Jan 25, 2008 7:10 am    Post subject: Reply with quote

Thanks e. You pointed me in the right direction. In /etc/conf.d/net, I had:
dhcp_eth0="nodns nontp nonis"

I got this from someone else's configuration on parallels, and didn't pay much attention. I presume the nodns option is the culprit, but I just commented out the entire line and now it works fine. I really appreciate the help.
_________________
"The problem with the world is that fools and fanatics are always so sure of themselves while wiser people are so full of doubt."
- Bertrand Russell
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum