Hi @sarihunter ,
Let me explain the case, when you create a VSX cluster you need to assign a network for internal cluster members communication which must not be used on internal network, for this case lets say
192.168.0.0/22.
vsx cluster has 2 nodes
vsx node1:10.2.0.1/24
vsx node2: 10.2.0.2/24
vsx clusterip:10.2.0.3/24
Now you build virtual system 1 and assign 3 interfaces with following information
eth1: 10.0.0.1/24
eth2: 10.0.1.1/24
eth3: 10.1.2.1/24
Virtual System 1 (VS1) is active on vsx node2 standby on vsx node 1
######
Desired outcome, when you snmp query vsx node or virtual system directly
- via context
snmptable -v3 -l authPriv -u <snmpuser> -a SHA -A <snmppass> -x AES -X <privpass> -n ctxname_vsid1 <any_Vsx_node> ipAddrTable
- direct to virtual System
snmptable -v3 -l authPriv -u <snmpuser> -a SHA -A <snmppass> -x AES -X <privpass> 10.0.0.1 ipAddrTable
ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask ipAdEntBcastAddr ipAdEntReasmMaxSize
127.0.0.1 1 255.0.0.0 0 ?
10.0.0.1 2 255.255.255.0 1 ?
10.0.1.1 3 255.255.255.0 1 ?
10.0.2.1 4 255.255.255.0 1 ?
In reality, what both run both snmp queries return is :
if you query vsx node 1
snmptable -v3 -l authPriv -u <snmpuser> -a SHA -A <snmppass> -x AES -X <privpass> -n ctxname_vsid1 10.2.0.1 ipAddrTable
ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask ipAdEntBcastAddr ipAdEntReasmMaxSize
127.0.0.1 1 255.0.0.0 0 ?
192.168.0.1 2 255.255.255.240 1 ?
192.168.0.17 3 255.255.255.240 1 ?
192.168.0.33 4 255.255.255.240 1 ?
if you query vsx node 2
snmptable -v3 -l authPriv -u <snmpuser> -a SHA -A <snmppass> -x AES -X <privpass> -n ctxname_vsid1 10.2.0.2 ipAddrTable
ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask ipAdEntBcastAddr ipAdEntReasmMaxSize
127.0.0.1 1 255.0.0.0 0 ?
192.168.0.2 2 255.255.255.240 1 ?
192.168.0.18 3 255.255.255.240 1 ?
192.168.0.34 4 255.255.255.240 1 ?
if you query the virtual system directly
snmptable -v3 -l authPriv -u <snmpuser> -a SHA -A <snmppass> -x AES -X <privpass> -n ctxname_vsid1 10.2.0.1 ipAddrTable
ipAdEntAddr ipAdEntIfIndex ipAdEntNetMask ipAdEntBcastAddr ipAdEntReasmMaxSize
127.0.0.1 1 255.0.0.0 0 ?
192.168.0.2 2 255.255.255.240 1 ?
192.168.0.18 3 255.255.255.240 1 ?
192.168.0.34 4 255.255.255.240 1 ?
Ive been too many times over this, and no is not snmp configuration, ive done to many trials around snmp configurations, dump all oid from a snmp query a look for something that could lead to get virtual system ips and no luck. I had high expectations when Checkpoint given the option to query the virtual system directly (i think from R81), but no, same outcome.
Snmp query returns internal ips used for internal communications instead the ones thar realy matters.
Its possible to get correct routing table information,arp table but not interface ip from the virtual system other than vsx internal ips...
I hope that ive been clear enough on my description. Easy to generate this result with VSX cluster with a virtual system.
Regards,
Nuno