HalfAway
Thanatos
Hey, I just ran into a "smaller" problem while trying to host 2 TFS on same machine with diffrent ips but same ports.
Have never been working with network interfaces so I'm noob at this, also googled but I couldn't manage to make it work.
OS: Ubuntu
IP #1: 37.XX.XX.XX
IP #2: 94.XX.XX.XX
TFS 1.0
I'm pretty sure I need to edit network interfaces so here is the result of my edit.
With the network interface above I get this error:
I got both servers open and I can connect perfectly to TFS#1 (37.XX.XX.XX) and when I try to connect to TFS #2 (94.XX.XX.XX) I connect to TFS #1.
Anyone knows how to setup 2 diffrent IPs to work with same ports.
If you help me solve this, I'll pay you.
Thanks in advance,
HalfAway
Have never been working with network interfaces so I'm noob at this, also googled but I couldn't manage to make it work.
OS: Ubuntu
IP #1: 37.XX.XX.XX
IP #2: 94.XX.XX.XX
TFS 1.0
I'm pretty sure I need to edit network interfaces so here is the result of my edit.
Code:
auto eth0
iface eth0 inet static
address 37.XX.XX.XX
netmask 255.255.255.0
network 37.XX.XX.0
broadcast 37.XX.XX.255
gateway 37.XX.XX.254
auto eth0:2
iface eth0:2 inet static
address 94.XX.XX.XX
netmask 255.255.255.0
broadcast 37.XX.XX.255
network 37.XX.XX.0
gateway 37.XX.XX.254
With the network interface above I get this error:
Code:
RTNETLINK answers: File exists
Failed to bring up eth0:2.
I got both servers open and I can connect perfectly to TFS#1 (37.XX.XX.XX) and when I try to connect to TFS #2 (94.XX.XX.XX) I connect to TFS #1.
Anyone knows how to setup 2 diffrent IPs to work with same ports.
If you help me solve this, I'll pay you.
Thanks in advance,
HalfAway
Last edited: