M
M
m1kola2011-01-04 06:56:09
Network administration
m1kola, 2011-01-04 06:56:09

Routes on two servers?

Good day!

At the moment I'm trying "cloud" servers. Decided to transfer the project from one provider to another. Both are in the same DC and IP's are in the same 255.255.0.0 subnet . I need server2 to have access to server1.
Let's say server1 has IP xxx.yyy.11.22 and server2 xxx.yyy.33.44.

Server1 has the following routes:

xxx.yyy.228.0/24 dev eth1 proto kernel scope link src xxx.yyy.11.22<br/>
default via xxx.yyy.228.254 dev eth1


On server2 like this:
xxx.yyy.0.0/16 dev eth0 proto kernel scope link src xxx.yyy.33.44<br/>
default via xxx.yyy.239.254 dev eth0


As I understand it, the point is in the first routes. I tried on server 1 to start a route to server 2 through default, and on server 2 to start a route to server 1 through default ... It didn’t work out ... What to do?

Best regards,
Mikola

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gribozavr, 2011-01-04
@m1kola

> Both are in one DTs and IP in are in one 255.255.0.0 subnet.
Something is wrong here, usually such large subnets are not made. Check with the DC tech support for the exact subnet masks, whether the servers are in the same VLAN, are included in the same switch, or have a connection through a router.

P
prox, 2011-01-04
@prox

> what would server2 have access to server1
what do you mean?
if you need L2 Broadcast - then vlan
if L3 IP connectivity - then the DC, in principle, should provide a default gateway

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question