use the "route add" command

You have IP's on the 2 interfaces, let's say server1 interface2 (cross-over
cable) is 10.10.100.1 and server2 interface2 (cross-over cable) is
10.10.200.30

Setup your default gateway on the interface of your choice on the 2 servers.
I asume you have this set to the LAN facing interfaces.

do
route add -net 10.10.200 10.10.100.1
on server1
and
route add -net 10.10.100 10.10.200.30 
on server2

As mentioned add these lines to /etc/init.d/inetinit file or create a new
script and place a link in /etc/rc2.d or /etc/rc3.d ... etc.

Regards
 
Christo 

-----Original Message-----
From: Leonardo Lagos [mailto:[EMAIL PROTECTED] 
Sent: 02 December 2004 15:44
To: 'Solaris-Users mailing list'
Subject: [Solaris-Users] How to configure peer-to-peer with second
interface?


Hi,

I have two sunfire v440, and I have put one interface (ce0) to the lan
switch on each machine. Later, I have put a crossover cable directly between
the other two free interfaces (ce1?), in order for them to communicate
directly, and not thru the lan.

I can see ce1 (ifconfig plumb/up), but I haven't figured out how to add the
route directly between them.

Could some please give some advice on this issue?

Thanks,

Leo

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to