On Thu, 2004-12-02 at 10:43, Leonardo Lagos wrote:
> 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?

I don't have an elegant solution but I might have a few questions that
could lead to a workable solution. 

First, am I right that you've actually got two physical interfaces on
each machine? These are not logical, subinterfaces we're talking about,
right? 

If so, then you could use the ifconfig command to set the IP address on
each "ce1" interface (or however they're identified if they're not
actually called "ce1") to be in a subnetwork that is unreachable from
the "ce0" (?) interfaces. For example, you might set the ce1 interface
on machineA to 192.168.100.1/30 and ce1 on machineB to 192.168.100.2/30.
(I think the /30 could be replaced by whatever SM you want if you're
sure no other addresses in your private/corporate intranet are in that
address range.)

If I'm thinking about this correctly, you shouldn't have to use the
route command. However, I can't test because I don't have two Solaris
machines with two physical interfaces each, so I can only guess.

Be sure that your applications use the IP address of the directly
connected interfaces when they need to access the other machine.

-- TT

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

Reply via email to