Networking - Windows & linux

David Mandala plug-discuss@lists.plug.phoenix.az.us
21 Jan 2003 08:30:03 -0700


Grrrr, typo try this one more time......

If your network is using a netmask of 255.255.255.0 then having your
Linux box at 192.168.1.2 and your Windoz box at 192.168.1.51 does not
put them on different subnets.

With  that netmask you would need the Linux box on 192.168.0.2 and keep
your Windoz box on 192.168.1.50. Notice the 3rd octet, the Linux octet is
0 and the Windoz box is 1. With a netmask of 255.255.255.0 that places
them on different subnets.

Your other choice is to change the netmask. You can read about that at:
http://www.learntosubnet.com/

Cheers,

Davidm

On Mon, 2003-01-20 at 15:30, Stephen Andert wrote:
> Craig,
> 
> I think you might have shed some light on my root cause with this statement:
> 
> >You can't have 2 network interfaces on the same subnet.
> >If your wireless USB on Win98 is 192.168.2.50/255.255.255.0 then your
> >10/100 cannot be 192.168.2.anything
> 
> So if I change my linux box to 192.168.1.2 and the physical LAN on the Win98 
> to 192.168.1.51 I then have 2 different networks.  If I tell linux that the 
> Win98 box is the gateway (using the address of the physical LAN nic) I think 
> I'm on the right track.
> 
> >I guess I'm not clear what you are trying to accomplish with the 2
> >different network interfaces on the Win98 machine so it's hard to help.
> >
> I'm trying to give my linux machine access to the internet without running a 
> long data drop through the house and without buying another wireless network 
> card for the linux machine.
> 
> I've attached a paint bmp that I hope will help explain what I'm trying to 
> do.
> 
> 
> Thanks
> Stephen
> 
> >As for linux...
> >
> >be sure that /etc/resolv.conf contains...
> >
> >nameserver   206.80.192.1
> >nameserver   204.147.80.5
> >
> >although most of the wireless access points/routers 'proxy' the dns if
> >they are configured to provide DHCP/DNS so you could probably use
> >nameserver 192.168.2.1 as well
> >
> >and then try to ping outside your lan (now that the gateway address is
> >your wireless base station...
> >
> >ping 206.80.192.1 (if it works, you have internet)
> >
> >Craig
> >
> >---------------------------------------------------
> >PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> >To subscribe, unsubscribe, or to change  you mail settings:
> >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
> http://join.msn.com/?page=features/virus
-- 
David IS Mandala
gpg fingerprint 8932 E7EF CCF5 1B8C 1B5C A92E C678 795E 45B2 D952
Phoenix, AZ (480) 460-7546 HP, (602) 741-1363 CP
http://www.them.com/~davidm/