How to force all traffic on a segment to one NIC card?

From: Carlos Sevillano (carlos_sevillano@ureach.com)
Date: Tue May 04 2004 - 23:36:25 EDT


Solaris 8
E4500
hme0, hme1, qfe0/1/2/3

I want to configure the machine so that all traffic on hme0
comes in and goes out of hme0. Also, all traffic for the other
cards comes in and goes-out the same card only. I want to
completely bind application traffic to a dedicated NIC. Most
things to hme0, MQ to hme1, oracle connections to qfe0, weblogic
to qfe1, web-servers to qfe2 etc.

I tried all kinds of things.. procdure from SUN System Admin III
book, mack address to uniq on OK prompt, touch /etc/notrouter
and other configurations. Try mutihoming, ip_forwarding
etc....:

# not applicable... but we tried a lot of things.
# ndd -set /dev/ip ip_forwarding 0
 
Turning off IP forwarding prevents packets from being forwarded
from one network to another through this system.

Turn on IP strict destination multihoming by typing the
following command:

# we though this would do it... but it did not
# ndd -set /dev/ip ip_strict_dst_multihoming 0

#
#ifconfig hme1 private

They don't seem to work! When snooping, it is clear that the
NIC cards are sending traffic out through hme0. Regardless of
how I configure the cards, as long as they are on the same
segment, the traffic just from cards to card or goes out the
primary card (hme0).

How can I bind the traffic in and out of the same NIC? The only
way I have is to put the extra cards on different segments and
creating a static route for each card to each separate segment.
I want that on the same segment ei:

169.164.164.160 hme0
169.164.164.161 hme1
169.164.164.162 qfe0
etc

I want all traffic bound to 161 (hme1)in and out of hme1 not
jumping back to 160 (hme0). How do I do that?

I call SUN and they did not know how to do it... has anyone done
it and knows the steps needed?

Carlos

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:36 EDT