Re: [osol-discuss] Question about Sol10 IP interfaces...

2009-07-23 Thread Jon Anderson

Hi Johnny,

Basically, this is how IP routing works and was always intended to
work. It's destination based. You can force your desired behaviour
with static host routes or ipfilter rules. See the following
previous discussions for more detail:

http://www.opensolaris.org/jive/thread.jspa?threadID=106420&tstart=15
http://www.opensolaris.org/jive/thread.jspa?threadID=105238&tstart=60
RFC 791

Variants of this question come up about once a month ;-)

HTH,

Jon


Johnny Kwok wrote:

Hi all,

This is Johnny. I wanna ask you for a question about Solaris 10 IP
package sending:

We have a SPARC machine with Solaris 10 installed on it. 2 interfaces,
bge0 and nxge0, are connected to the same sub-net(192.168.1.0,
255.255.255.0), with IP address 192.168.1.2 on bge0 and 192.168.1.3 on
nxge0, default gateway is 192.168.1.1.

We've tried to ping 192.168.1.3 from a Windows machine outside of the
sub-net, with IP address 192.168.2.2. Meanwhile, by "snoop -d nxge0" we
saw that interface nxge0 got the ICMP request packages, but it didn't
send ICMP response packages back. Then by "snoop -d bge0" we found that
ICMP response packages from 192.168.1.3 was being sent out to
192.168.2.2(the Windows machine) through bge0.

However, the router 192.168.1.1 has some rules against MAC address
cheating, so it dropped all those ICMP response packages.

That's unexpected. Is there any way to configure the Solaris 10 OS to
send response packages through the interface that got the request
packages? In the case described above, how to let Solaris 10 send the
ICMP response packages through nxge0 instead of bge0?

Thank you very much!

-  
Regards,

Johnny



___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Question about Sol10 IP interfaces...

2009-07-23 Thread Steffen Weiberle
Also see http://blogs.sun.com/carlson/ for the 30 April 2009 entry. Thanks for 
all the info, James!!!

Steffen
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] Question about Sol10 IP interfaces...

2009-07-23 Thread Ron Halstead
Johnny,

I don't know if they still do it but older sparc machines would force the same 
mac address on all nics in the machine. There is an OBP variable that will undo 
this feature and allow the router to pass the ICMP response. From Sun's OBP 
command reference:

local-mac-address?  false (default)  If true , network devices use their own 
MAC addresses. 

This drove me nuts years ago trying to set up a load balancer from cisco, 

--ron
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org