Koozali.org: home of the SME Server

Want to consolidate machines, easiest with multiple IPs on eth0

Offline MSmith

  • *
  • 675
  • +0/-0
There's this thread:

http://forums.contribs.org/index.php/topic,44089.0.html

but it doesn't help me much, or so I think.  I want to replace a machine that's server-only with one that's server-gateway but I don't want to go through the suffering of renumbering the network.  Mailserver is at 192.1.1.115 (weird, I know, but predates me) and router is at 192.1.1.120.  So can I do something with ifcfg-eth0:1, as on this page linked below?  Or will that break something fundamental?  I know I'll have to fiddle with the templating ...

http://www.netadmintools.com/art496.html

Have I missed a HOWTO in the wiki?
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Want to consolidate machines, easiest with multiple IPs on eth0
« Reply #1 on: May 12, 2010, 04:15:55 PM »
well, I can't see any difficulty in changing router's ip to something different

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Want to consolidate machines, easiest with multiple IPs on eth0
« Reply #2 on: May 12, 2010, 05:28:11 PM »
I suppose I wasn't clear ... I want the new machine to be both router/gateway and mailserver, and to be accessible on both 192.1.1.115 and 192.1.1.120, thus performing both functions without my reconfiguring all the devices with fixed addresses or all the workstations with the mailserver's IP address entered into the email program's settings.
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Want to consolidate machines, easiest with multiple IPs on eth0
« Reply #3 on: May 12, 2010, 06:01:36 PM »
I suppose I wasn't clear ... I want the new machine to be both router/gateway and mailserver, and to be accessible on both 192.1.1.115 and 192.1.1.120, thus performing both functions without my reconfiguring all the devices with fixed addresses or all the workstations with the mailserver's IP address entered into the email program's settings.
AFAIK this is not feasible out-of-the-box by SME Server, I think you will have to prepare for some heavy template modifying. Is it really that much work to reconfigure the IP addresses on your clients? Next time I suggest you use hostnames, where possible. They can be much more easily be assigned to one IP address.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline MSmith

  • *
  • 675
  • +0/-0
Re: Want to consolidate machines, easiest with multiple IPs on eth0
« Reply #4 on: May 12, 2010, 06:15:21 PM »
So the sonoracomm howto won't work?

http://www.sonoracomm.com/support/18-support/128-sme-alias-ip

And yes, "next time" I will do things differently ... it's kinda hard to implement sweeping change when you inherit a production network that was never planned from the beginning.
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Want to consolidate machines, easiest with multiple IPs on eth0
« Reply #5 on: May 12, 2010, 06:21:00 PM »
So the sonoracomm howto won't work?

http://www.sonoracomm.com/support/18-support/128-sme-alias-ip
I didn't know that one, perhaps it might work. I never used it.

And yes, "next time" I will do things differently ... it's kinda hard to implement sweeping change when you inherit a production network that was never planned from the beginning.
Yes, I can imagine. Good luck!
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)