mr_scary wrote:
> Nick Coleman wrote:
>> I have a small lan behind a dsl modem/router, with all machines using
>> static IPs, I guess from their host file.
Oowwwwwrrongski!
The hosts file defines address <-> name mappings, nothing else.
>> I'd like a dual-boot Win/linux machine to use different IPs according to
>> whether it is in Win98 or Linux. Is it as simple as setting a different
>> IP in the host files?
>
> No, the host file only associates a name with an
> address. You must assign the address elsewhere.
And then again, yes, it is as simple as that, except not in the hosts file.
Not too helpful there, scary...
In win98 : open up the network properties box (look arond..), and open the
properties for TCP/IP networking (last entry usually)
Set your IP address and mask here, also set the gateway to the address of
the dsl router - or else no internet!
In linux, you configure the network card(s) with ifconfig, but without
knowing which distro you use it's a little hard to tell you exactly what
you need to do to make it permanent...
ObBTW : WHY do you want different IP addresses ?
There's absolutely no need to...you'll only ever run ONE OS at a time!
And another: HOW did you set up your network if you don't KNOW how to set up
IP addresses ?
If the addresses are static then YOU have assigned those addresses - there's
no other way.
--
Jeroen Geilman
Gentoo 1.4 rc4
|