Workgroup/Samba weirdness
Richard Lotz
rlotz at u.washington.edu
Tue Jun 25 18:58:53 PDT 2002
On Tue, 25 Jun 2002, Jen Barrick wrote:
> My roommate and I figured it out - the windows machine only sees the linux
> machine if it's in the same subnet (duh). And because ATT, the bastards,
> don't give us static ips, it's a crap shoot every time I turn on the
> Windows box to see if it gets an ip in the same subnet as the Linux one -
> if it is, it sees the other box. If not, no happiness.
Setup an aliased interface on each box in reserved IP space (Something in
10.0.0.0/8 for example). On Linux this is done by enabling IP aliasing
(might already be done) and ifconfig'ing an eth0:0 or whatever. I would
hope that Windows alows for something similar. Once that is done you can
tell samba what interface or IP to use. That should keep local traffic on
your lan as well and prevent it from outing all the way out your cable and
back in (if the machines end up on different subnets).
-richard
--
Richard Lotz
GPG Key: http://students.washington.edu/rlotz/key.txt
Fingerprint: 6BD7 C584 7DDC 43FD F0D4 87AB 5A8F 89D5 B3CC 9517
More information about the Linux
mailing list