There is a win app called SwitchIt or something to that effect...you can
change the dns, ip, gateway on the fly....look for it on www.winfiles.com.
----- Original Message -----
From: Trenton D. Adams <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 19, 1999 6:05 PM
Subject: RE: Home network w/ work IP setup?
> Ok, just a minute here, I was slightly wrong. The DNS entries shouldn't
> matter assuming that they can be pinged from anywhere on the net. If ip
> masquerading is turned on, each laptop would work just fine.
>
> p.s.
> Here are the steps to take to make it work.
> I will assume that xxx.xxx.xxx.xxx is your ip address on your laptop. I
> will then assume that yyy.yyy.yyy.yyy is your wife's ip address on her
> laptop. I will further assume that these IP addresses are not valid
> Internet IP addresses (ie They are LAN addresses). And last but not
least,
> I will assume that these DNS entries "CAN" accept DNS requests from
anywhere
> on the net.
>
> #1 Read the IP Masquerading howto at
> http://metalab.unc.edu/mdw/HOWTO/mini/IP-Masquerade.html
> #2 Once you know that IP_forwarding and IPMasquerading are supported by
the
> kernel, and that IP_fowarding is turned on, goto step 3. Make sure that
> /etc/sysconfig/network has a line that says something to the affect of
> "IP_FOWARDING="YES"". Oh, make sure IP aliasing is supported by your
kernel
> too. If you installed using Red Hat 5.2, all the previous options should
be
> supported by the kernel. The IP_FOWARDING is turned of by default though,
> so you will have to turn it on.
>
> #3 Issue the following commands.
> - ifconfig eth0 xxx.xxx.xxx.xxx netmask yournetmask
> - ifconfig eth0:1 yyy.yyy.yyy.yyy netmask hernetmask
> - route add -net xxx.xxx.xxx.0 netmask yournetmask eth0
> - route add -net yyy.yyy.yyy.0 netmask hernetmask eth0:1
> - ipfwadm -F -p deny
> - ipfwadm -F -a m -S xxx.xxx.xxx.xxx/yournetmask -D 0.0.0.0/0
> - ipfwadm -F -a m -S yyy.yyy.yyy.yyy/hernetmask -D 0.0.0.0/0
>
> #4 This step is an alternate config. If you and your wife's computers are
> on similar networks, then do the commands in this step. By similar
networks
> I mean, you have an IP address of 192.168.1.xxx and netmask of 255.255.0.0
> and she has an IP address of 192.168.0.yyy and netmask of 255.255.0.0.
> - ifconfig eth0 192.168.0.whatever netmask yournetmask
> - route add -net 192.168.0.0 netmask 255.255.0.0 eth0
> - ipfwadm -F -p deny
> - ipfwadm -F -a m -S 192.168.0.0/16 -D 0.0.0.0/0
>
> The 16 above stands for 255.255.0.0!!!
>
> I hope this helps. If both your configuration and your wife's
configuration
> were known, it would make it a lot easier to show you what to do! If you
> want to, you can send the configuration information.
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Trenton D. Adams
> > Sent: July 19, 1999 2:31 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: Home network w/ work IP setup?
> >
> >
> > I'd like to add to everyone's information about IP aliasing, and
> > masquerading. These are definite needs for what you want. I
> > don't know how
> > to do what I am about to suggest, but I would think it could be done.
> >
> > You said that your wife has different DNS's, etc. There might be a way
of
> > making the linux box intercept the request for, say your wife's DNS, and
> > route it to your's. That way, you can setup the linux box for
> > your machine,
> > and it would also then work with her's!
> >
> > Could this be done? Anyone???
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of David E.
Bernholdt
> > > Sent: July 19, 1999 9:30 AM
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Home network w/ work IP setup?
> > >
> > >
> > > I have a desktop machine at home which runs Linux. My wife and I each
> > > have laptops running Win95 and Win3.11 (!) which often come home from
> > > work.
> > >
> > > I'd like to be able to setup a local network & use the desktop machine
> > > as a gateway to our ISP, but because changing network configurations
> > > in Windows is such a pain, I'd like to be able to plug in the laptops
> > > without changing their network configuration. When at home, the
> > > laptops don't need to be visible to the outside world -- they'll
> > > basically be originating connections only: telnet, ssh, ftp, smtp,
> > > pop.
> > >
> > > I've been looking through the documentation for NAT, but it is still
> > > not clear to me if it can support this kind of thing -- it doesn't
> > > seem to match up to any of the various configurations they describe.
> > >
> > > Can anyone tell me whether such a network setup is possible with NAT
> > > (or some other way) and point me to the best model(s)/example(s) which
> > > I can use to understand how to configure my setup properly?
> > >
> > > Thanks in advance!
> > > --
> > > David E. Bernholdt | Email:
[EMAIL PROTECTED]
> > > Northeast Parallel Architectures Center | Phone: +1 315 443 3857
> > > 111 College Place, Syracuse University | Fax: +1 315 443 1973
> > > Syracuse, NY 13244-4100 | URL:
> http://www.npac.syr.edu
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]