Thanks again Billy for attention...
let's make the simple first question... about gateway of the eth2 cards
My situation is... i must send the two servers in housing.
This servers will have only one ethernet cable to external router.
One by server. Two in total.
And here is the first think; the servers is ibm and have a rsa cards (like DRAC of hp) for controll the boot, bios etc ... via ethernet.
The problem is that i will have only one external cable by server.
For this reason i need the eth1 cards on servers:
if, for example, the server1 is broke, i will see and controll it, trought server2 cable > eth0 > eth1 > server1:rsa card.
... and vice versa if the server2 will broke.
The eth2 cards i need because all trafic between servers, like sync, nfs
etc... i will pay if will go trought the external router.
For this i need to use the cross over cable between
server1:eth2 and server2:eth2
here is my situation for now:
Code:
server1
eth0 192.168.1.90 gtw 192.168.1.1 link at internet router
eth1 10.10.10.110 gtw 192.168.1.90 link at rsa2 client
eth2 10.10.11.122 gtw now have nothing link at server2:eth2 cross
rsa1 10.10.10.111 gtw 10.10.10.210 link at server2:eth1
server2
eth0 192.168.1.91 gtw 192.168.1.1 link at internet router
eth1 10.10.10.210 gtw 192.168.1.91 link at rsa1 client
eth2 10.10.11.222 gtw now have nothing link at server1:eth2 cross
rsa2 10.10.10.211 gtw 10.10.10.110 link at server1:eth1
The ibm rsa1 is inside of server1 and rsa2 is inside of server2...
is work as a normal lan client.
I have make a nat iptables for the rsa card for now:
all trafic arrive on server1:eth0 port:8888 is forward on
rsa2 on port 80 ... and this is work
It's work also viceversa... from server2 to rsa1.
The problem begin when i put the eth2 cards...
For the fist... i don't know witch gateway i must assing.
if i make ping from server1 to server2:
Code:
[4 root@ns3 /etc]=> ping 10.10.11.222
PING 10.10.11.222 (10.10.11.222) 56(84) bytes of data.
From 10.10.11.122 icmp_seq=2 Destination Host Unreachable
or
Code:
[4 root@ns3 /etc/shorewall]=> ping -I eth2 10.10.11.222
PING 10.10.11.222 (10.10.11.222) from 10.10.11.122 eth2: 56(84) bytes of data.
From 10.10.11.122 icmp_seq=2 Destination Host Unreachable
Obviusly if still need the ifconfig from the servers i'll paste here.
But for now i need to understant if the gateway is ok,
and if i must play with routes table.
Thanks a lot.
Denis