Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Mr Dog on July 15, 2002, 05:00:50 PM
-
How do I convince sme 5.5 to forget the external IP address?
I am on a cable modem using dhcp (with an @home name, e.g.c300xxxx-a)
Every time I reboot I get the same IP address.
If I plug a different PC into the cable modem I get no IP address.
If I change the mac address to match the SME mac address I get a NEW IP address, not the one E-smith is getting.
If I then plug the cable modem back into SME I get the OLD IP address.
This even persists over reboots.
Its clear SME remembers the first dhcp ip address it gets and tried to hold onto
it no matter what - so how I do I make it forget??
-
I had a similar problem. Not the same, just similar. I went through all kinds of hoops trying to get 2 SME servers running off of the same cable modem. It works just fine on Windows machines, or one SME and one Windows.... But two SME machines took persistence to get going.
I cannot explain why it did not work, nor can I explain why it now works. I was getting my IP with DHCP send ethernet address and all was working fine. When I tried to setup the second machine, it would steal the first machine's IP. Every time...
I finally set the second machine to get its IP via DHCP send account name (and I used C-123456) and it worked.
So the morale of the story is;
1) keep trying
2) try sending ethernet address instead of account name
GOOD LUCK
-
Perhaps try to obtain an Intelligent Switch/Router/Hub... then that should be able to allocate the IP's from the device instead of having to parse for a seperate IP for device on the same cable modem...
Some devices have a DHCP server built into the unit that way takes some of the load off trying to allocate off the cable.
food for thought
Regards
AusMounty
-
I'm taking a stab in the dark (I am not using DHCP for my SME server) but on other RH7 boxes I've noticed the following directories:
/etc/dhcpc
/etc/dhcpcd
Inside there are files such as:
dhcpcd-eth0.cache dhcpcd-eth0.info
dhcpcd-eth1.cache dhcpcd-eth1.info
Perhaps the DHCP client is looking at these cache/info files for previous configuration information and requesting them .... Perhaps copy/rename these files and see if that forces a new IP address.
-
Mr Dog wrote:
> How do I convince sme 5.5 to forget the external IP address?
> I am on a cable modem using dhcp (with an @home name,
> e.g.c300xxxx-a)
> Every time I reboot I get the same IP address.
That's the way that DHCP usually works. You get the IP address that your ISP gives you.
Regards
Charlie
-
Well the plot thickens.
If I say to identify via accoutn name I get IP address A (every time)
If I say to identify via MAC address I get IP address B (every time)
Interesting behvaiour by the DHCP servers....
Perhaps my cable modem is somehow the guilty party.
Its a Nortel CM100 but I can't work out how to talk to it to see
what its thinking....