SA-MP Forums Archive
How to start a server with a different network interface? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to start a server with a different network interface? (/showthread.php?tid=467365)



How to start a server with a different network interface? - canaillou2k5 - 02.10.2013

Hi,

I got a server linux based server with multiple IP:

dummy0
dummy0:1
dummy0:2
dummy0:3
dummy0:4
eth0

But the server always start on the main interface (eth0). How can I do if I want to start on the dummy0 ?

Thanks.


Re: How to start a server with a different network interface? - kaisersouse - 02.10.2013

Assign the IP you want to the interface you want

Add this to server.cfg:
Quote:

bind ip address
(replace ip address with the IP you want to use)

Start the server


Re: How to start a server with a different network interface? - canaillou2k5 - 21.10.2013

Thank you.