Computing.Net > Forums > Linux > Samba keeping up with win changing IP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Samba keeping up with win changing IP

Reply to Message Icon

Name: Ralph Johnson
Date: January 15, 2002 at 09:04:33 Pacific
Comment:

Hi All,

I noticed that to get SAMBA to assimilate into a windows out-of-the-box configured LAN you have to make it part of the 169.254.*.* network. But i noticed yesterday that somehow all the computers in the house switched magicly to the 192.168.*.* network and all the linux boxes were now on a seperate network. Is there any way to remidy this in linux?

Thanks,

Ralph



Sponsored Link
Ads by Google

Response Number 1
Name: danny
Date: January 15, 2002 at 13:05:08 Pacific
Reply:

Then you want to modify linux server's IP address???

Edit the files:
/etc/sysconfig
/etc/sysconfig/network-scripts/ifcfg-eth0

In /etc/smb.conf make sure new IP range is allow by samba.

and reboot



0

Response Number 2
Name: Ralph
Date: January 16, 2002 at 10:50:22 Pacific
Reply:

Yeah, I got that part. The thing is that the windows box appears to change IP's on every reboot. Sometimes on one sub-network and sometimes on the other. I want samba to appear on the network no matter what network the windows boxes choose. I don't want to bother all the windows users on the network to force a static IP. I just want SAMBA to consistantly appear on the network...


Cheers,

Ralph


0

Response Number 3
Name: Ryan
Date: January 19, 2002 at 15:24:20 Pacific
Reply:

I would recommend first of all changing the DHCP server to keep it all in the same class of IP's. Its odd that they are fluctuating between a 192.168.*.* addy and a 169.254.*.* address. I am not sure why this is, you might look into the DHCP server, not the computers. Anyway, you said you didnt want to do this so on to another solution. Buy an additional 10 dollar nic card for your linux comp and put it in. Assign each alternate NIC a static IP from each 169.254.*.* and 192.168.*.* so it will appear no matter what. This is roundabout but it might work. Again this is kind of a rediculous idea, but i thought i might suggest it. The only possible problem that i forsee is that if you plug two NIC's into the same switch with 1 IP, it might create problems. I thought that through but it should be ok though. It will use noe of them as standard but accept connections on the alternate if another computer is trying to connect. Anyway, this is just a suggestion as i said, and if someone sees a reason that this wont work (which is highly possible) suggest it, or suggest something that makes more sense. hth

-Ryan


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Samba keeping up with win changing IP

Samba - Red Hat - Ping - Win ME www.computing.net/answers/linux/samba-red-hat-ping-win-me/9296.html

Problem with Win XP and Mandrake 9 www.computing.net/answers/linux/problem-with-win-xp-and-mandrake-9/22044.html

Linux with Win NT 4.0 Server not booting www.computing.net/answers/linux/linux-with-win-nt-40-server-not-booting/9825.html