Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: davelister on March 26, 2008, 03:30:09 AM
-
g'day
I have tried searching but can not find an answer so I was hoping someone might be able to steer me in the right direction for this one.
I use SME as a lanparty 'dhcp and game' server setup for charity organisations. However, due to a dedicated linux bug for steam software, you can not run mulitple game instances without running different ports for each instance (I know that isn't a bug) but the moment you change the port number of the game instance the port will no longer be displayed in the lan browser (that is the bug) unless the gamers manually add the server details themselves. No big problem I know, but many of the kids seem unable to figure that out!
So the easy solution is just to have one ip for each game instance - that way keeping the ports all standard, allowing the game server to appear in the lan browser as normal.
The problem is then how do I setup the 7.3SME server to have multiple IP's on the internal nic? BTW the server is running in server gaetway mode
-
this should do the trick and you can have ifcfg-eth0:0 then ifcfg-eth0:1 ETC
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0
nano /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.101
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
/etc/init.d/network restart
then do an ifconfig to make sure it is there
eth0 Link encap:Ethernet HWaddr 00:0C:29:5A:9C:41
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe5a:9c41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:535 errors:0 dropped:0 overruns:0 frame:0
TX packets:363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52498 (51.2 KiB) TX bytes:66064 (64.5 KiB)
Interrupt:177 Base address:0x1400
eth0:0 Link encap:Ethernet HWaddr 00:0C:29:5A:9C:41
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:177 Base address:0x1400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
-
just remember that the above solution is not templatized
Ciao
Stefano
-
that is true but it is a work around and i love to help people out as much as i can
-
that is true but it is a work around and i love to help people out as much as i can
If you would do so you should seriously inform them with above advice that changes might get lost over reconfigurations, updates and installation of additional packages as it might leave them wondering why things might not be working anymore.
Now you are not providing advice, you are just providing a pointer. You could at least have mentioned the template system and it's implications as you seem to be aware of it.
Since SME Server is CentOS and thus Redhat based this might also be nice to read: http://manuals.fujitsu-siemens.com/fgm/pcl42a20-lx-cd2_6_2007/documents/manuals/En/GLS/hanet10/hanet253.html
-
If you would do so you should seriously inform them with above advice that changes might get lost over reconfigurations, updates and installation of additional packages as it might leave them wondering why things might not be working anymore.
Now you are not providing advice, you are just providing a pointer. You could at least have mentioned the template system and it's implications as you seem to be aware of it.
Since SME Server is CentOS and thus Redhat based this might also be nice to read: http://manuals.fujitsu-siemens.com/fgm/pcl42a20-lx-cd2_6_2007/documents/manuals/En/GLS/hanet10/hanet253.html
sorry that is my fault i really need to put a Disclaimer at the end of my help as well because i know i am not always right the templates system i know but i would have to look in to how do that mod for multi ip address on one nic
-
this might be also interesting for server only mode, i will have a look on how to integrate this with template and masq.
thanks for the pointer
-
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!