Koozali.org: home of the SME Server

Default gateway

ElFroggio

Default gateway
« on: April 24, 2004, 06:26:03 PM »
I had to install the server at another location, the default gateway was 192.168.1.1. I have moved the server need to have the gateway to 192.168.1.2

cat /etc/sysconfig/network
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------

NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME=mail

GATEWAY=192.168.1.2  

cd /etc/e-smith/templates-custom
[root@mail templates-custom]# dir -l
total 0            

How do I change it, so it stays?

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
Default gateway
« Reply #1 on: April 24, 2004, 07:25:35 PM »
The SME server itself doesn't need a gateway, but if it is to be the gateway in your setup, just change its internal ip-address in server console, menu point 2. Configure this server.
I hope I've understood your question correctly ?
Greetings
wyron
...

ElFroggio

Default gateway
« Reply #2 on: April 25, 2004, 03:45:52 AM »
Actually not, because I did not describe the system properly.

It is setup as a server behind a firewall, therefore it needs a gateway address. I have set it manually, but if we reboot the system, it goes back to the old one.

Anonymous

Default gateway
« Reply #3 on: April 25, 2004, 04:12:26 AM »
Just run the setup program and change the gateway IP address.