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

Reply via email to