I'm not a Solaris person, but I assume there's a route print command available? This should list network destinations, the bound NIC IP address and the gateway for the relevant destinations.
For example, under Windows, you get the following output:
Active Routes: Network Destination Netmask Gateway Interface M +etric 0.0.0.0 0.0.0.0 155.198.52.1 155.198.52.89 + 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 + 1 155.198.52.0 255.255.255.0 155.198.52.89 155.198.52.89 + 20 155.198.52.89 255.255.255.255 127.0.0.1 127.0.0.1 + 20 155.198.255.255 255.255.255.255 155.198.52.89 155.198.52.89 + 20 224.0.0.0 240.0.0.0 155.198.52.89 155.198.52.89 + 20 255.255.255.255 255.255.255.255 155.198.52.89 155.198.52.89 + 1 255.255.255.255 255.255.255.255 155.198.52.89 10004 + 1 Default Gateway: 155.198.52.1
You can then do some matching based upon the destination IP address and the routes available to you.
In reply to Re: routing information on Solaris
by puploki
in thread routing information on Solaris
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |