title: what address should i use for broadcast_rpc_address in cassandra.yaml
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    cluster_name: 'Cassandra Cluster'
      num_tokens: 256
      hinted_handoff_enabled: true
      max_hint_window_in_ms: 10800000
      hinted_handoff_throttle_in_kb: 1024
      max_hints_delivery_threads: 2
      authenticator: AllowAllAuthenticator
      authorizer: AllowAllAuthorizer
      permissions_validity_in_ms: 2000
      partitioner: org.apache.cassandra.dht.Murmur3Partitioner
      data_file_directories:
          - /var/lib/cassandra/data
      commitlog_directory: /var/lib/cassandra/commitlog
      disk_failure_policy: stop
      key_cache_size_in_mb:
      key_cache_save_period: 14400
      row_cache_size_in_mb: 0
      row_cache_save_period: 0
      saved_caches_directory: /var/lib/cassandra/saved_caches
      commitlog_sync: periodic
      commitlog_sync_period_in_ms: 10000
      commitlog_segment_size_in_mb: 32
      seed_provider:
          - class_name: org.apache.cassandra.locator.SimpleSeedProvider
            parameters:
                - seeds: "seednode-A-IP,seednode-B-IP,seednode-C-IP"
      concurrent_reads: 32
      concurrent_writes: 32
      trickle_fsync: false
      trickle_fsync_interval_in_kb: 10240
      storage_port: 7000
      ssl_storage_port: 7001
      listen_address: 10.8.9.83
      start_native_transport: true
      native_transport_port: 9042
      start_rpc: true
      rpc_address: 0.0.0.0
      broadcast_rpc_address: NAT-GATEWAY-IP
      rpc_port: 9160
      rpc_keepalive: true
      rpc_server_type: sync
      thrift_framed_transport_size_in_mb: 15
      incremental_backups: false
      snapshot_before_compaction: false
      auto_snapshot: true
      tombstone_warn_threshold: 1000
      tombstone_failure_threshold: 100000
      column_index_size_in_kb: 64
      compaction_throughput_mb_per_sec: 16
      read_request_timeout_in_ms: 5000
      range_request_timeout_in_ms: 10000
      write_request_timeout_in_ms: 2000
      cas_contention_timeout_in_ms: 1000
      truncate_request_timeout_in_ms: 60000
      request_timeout_in_ms: 10000
      cross_node_timeout: false
      endpoint_snitch: Ec2Snitch
      dynamic_snitch_update_interval_in_ms: 100
      dynamic_snitch_reset_interval_in_ms: 600000
      dynamic_snitch_badness_threshold: 0.1
      request_scheduler: org.apache.cassandra.scheduler.NoScheduler
      server_encryption_options:
          internode_encryption: none
          keystore: conf/.keystore
          keystore_password: cassandra
          truststore: conf/.truststore
          truststore_password: cassandra
      client_encryption_options:
          enabled: false
          keystore: conf/.keystore
          keystore_password: cassandra
      internode_compression: all
      inter_dc_tcp_nodelay: false</code></pre>
  </div>
  </div>
  </p>
  
  <p>we have Cassandra cluster deployed on AWS with 3 seed nodes (static ENI attached) and 3 non seed nodes in Auto scaling group. </p>
  
  <p>I have rpc_address set to 0.0.0.0, can someone tell me what should be the broadcast_rpc_address in cassandra.yaml file?</p>
  
  <p>I was using cassandra 2.0.7 version before and was able to connect to cluster fine with just rpc_address as 0.0.0.0 and without broadcast_rpc_address this unset, but when i upgraded to 3.11.1 it is giving me error </p>
  
  <pre><code>CassandraDaemon.java:708 - Exception encountered during startup: If rpc_address is set to a wildcard address (0.0.0.0), then you must set broadcast_rpc_address to a value other than 0.0.0.0
  </code></pre>