|
From: Jonathan P. <j-g...@jo...> - 2004-07-08 09:04:43
|
From: "Brendan J Simon" <Bre...@fa...>
> I'm a first time user and have just installed the 0.6.1 release. I can
> get it to run in the terminal mode but I haven't had any success with
> the networking :(
>
> I have XP and from the docs I've read it seems that Bridged networking
> is the best method as NAT has a few limitations. Yes/No ???
As I see it, by avoiding NAT (as implemented under XP by
Internet Connection Sharing (ICS)) you give your Linux VM a
more 'first-class' status on your network, with its own IP
address etc. This can be either a good thing or a bad thing,
depending on your network.
> One of the problems I have is that my firewall (and DHCP server) is
> 192.168.0.1. When I try to share the XP network conenction for other
> users it eventually gives me an error as it tries to assign 192.168.0.1
> for the shared address (or the attaching interface). Does MS hardcode
> this value in????
> If so then this sucks. What if one has more than one machine in this
> type of configuration on the local network ??? It doesn't scale.
> Maybe this is only intended for machines that connect direct to an ISP
> (eg. machine with modem, pstn or dsl, etc)???
Yes. ICS is not meant to scale, it's as you guessed a home user solution.
These users don't even want to know what an IP address is.
If you have a firewall and a DHCP server on your network, you want to
use bridged networking anyway, which has none of these limitations.
> Anyway, I can bridge the TAP interface and the 1GB Broadcomm interface
> but the TAP interface always has the red cross on it, even after I've
> started coLinux.
What does your <network> element look like ? Here's what I use for
XP-bridged
networking :
<network index="0" type="tap" />
(do not use type='bridged' : it is supposed to make coLinux bridge itself
directly
to your real network card (so you don't have to use XP's bridge), but I
couldn't
get it to work)
> So, has anyone got coLinux working with networking on XP using bridged
mode?
Yes, it works fine for me.
> What about if another host has 192.168.0.1 on the network?
If you use XP's bridge and not ICS, there is no need to use 192.168.0.1.
Your
XP box keeps its IP address (actually, it's likely that the DHCP server will
give
it a new IP, since setting up the bridge makes it appear with a new MAC
address),
and the coLinux VM appears on the network with its own MAC address, which
allows the DHCP server to lease it an IP.
Hope this helps,
--Jonathan
|