in reply to routing information on Solaris
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: routing information on Solaris
by grinder (Bishop) on Sep 05, 2005 at 13:50 UTC |