On Tue, 30 Jun 2009 13:45:14 -0700 (PDT), nestwasright wrote:
> On Jun 30, 2:42?pm, Wing <lost95...@yahoo.com> wrote:
>> On 6/30/2009 1:27 PM, Bill Marcum wrote:
>> > On 2009-06-30, nestwasright <nestami...@gmail.com> wrote:
>> >> On Jun 30, 9:14 am, Bit Twister <BitTwis...@mouse-potato.com> wrote:
>> >>> On Tue, 30 Jun 2009 07:33:46 -0700 (PDT), nestwasright wrote:
>> >>>> Here's what I'm trying to get done. I need two networks; local and
>> >>>> internet. I have 2 nics installed on all machines. Each nic has an
>> >>>> RJ45 runining from it to the local router that does not go online and
>> >>>> the other router that goes online. I'm using the LAN ports on the
>> >>>> local router. I can't go online with this setup, however. I first have
>> >>>> to disconnect the local cable before I could go online. The local
>> >>>> router is to serve files locally and seen by all machines with dual
>> >>>> nics and connected to it; the local router. Ideas? Is this possible?
>> >>> Should be easy enough. Configure ethx for static ip address.
>> >>> Give every PC ?a Fully Qualified Domain Name.
>> >>> If you do not have registered Domain Name I recommend .test and/or .invalid.
>>
>> >>> You configure Internet router with LAN Ip address 192.168.1.1
>> >>> Configure PC eth1 Ip address 192.168.1.x, gateway 192.168.1.1
>>
>> >>> Configure the LAN Router for 192.168.20.1
>> >>> Configure LAN Server as 192.168.20.2
>>
>> >>> You configure each PC eth0 with an ip address like 192.168.20.x, no gateway.
>>
>> >>> You then create a /etc/hosts with everybody's ip address, copy to each PC.
>> >>> You reboot all PCs.
>>
>> >>> Here x.x.13x is a single PC which I multi-boot into one of 3 different
>> >>> releases or XP Home.
>>
>> >>> Example: /etc/hosts file:
>> >>> 127.0.0.1 ? ? ? ? ? ? ? localhost.localdomain localhost
>> >>> 192.168.1.1 ? ? ? ? ? ? gateway.home.test cm
>> >>> 192.168.1.130 ? ? ? ? ? wm80.home.test wm80
>> >>> 192.168.1.131 ? ? ? ? ? wm81.home.test wm81
>> >>> 192.168.1.132 ? ? ? ? ? wcooker.home.test wcooker
>> >>> 192.168.1.139 ? ? ? ? ? wxp.home.test wxp
>> >>> 192.168.3.1 ? ? ? ? ? ? lrouter.lan.invalid lrouter
>> >>> 192.168.3.102 ? ? ? ? ? server.lan.invalid server
>> >> I'm curious; there's one machine that's XP in the network, how should
>> >> that be configured?
>>
>> > XP can have a hosts file too. I forget exactly where it's located, maybe
>> > in \windows\system32.
>>
>> For WinXP, it is in
>> \Windows\system32\drivers\etc\- Hide quoted text -
>>
>> - Show quoted text -
>
> I presume that notepad will open and edit the hostfile...anyone here
> know the name of the file...there are a lots of files in this
> directory. Thanks!
Well, dooh, \Windows\system32\drivers\etc\hosts
|