Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:platform:dpi_reserve:start [2023/10/10 08:25] – external edit 127.0.0.1 | en:dpi:dpi_components:platform:dpi_reserve:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Stand-by ====== | ||
- | {{indexmenu_n> | ||
- | |||
- | ===== Active/ | ||
- | |||
- | [[https:// | ||
- | |||
- | In master mode, all SSG functionality is available. In backup mode, SSG works only as a bridge in_dev <-> out_dev, no packets are emitted by SSG itself. It is supposed that in backup mode no traffic should come to SSG at all. But it seems that some service L2 protocols necessary for the operator' | ||
- | |||
- | VRRP support is enabled in SSG by configuration parameter '' | ||
- | |||
- | < | ||
- | # [hot] Flag to enable VRRP support | ||
- | # 0 - disabled (default) | ||
- | # 1 - enabled | ||
- | vrrp_enable=1 | ||
- | </ | ||
- | VRRP support is disabled by default. | ||
- | |||
- | All SSGs belonging to the same VRRP group must have the same configuration. In particular, the following parameters must be set and be the same in all SSGs of the VRRP group, as they set the virtual MAC and IP addresses: | ||
- | * '' | ||
- | * '' | ||
- | If IPv6 support is enabled, the parameters '' | ||
- | |||
- | To switch the SSG to master/ | ||
- | < | ||
- | # swicth SSG to master mode | ||
- | # this command should be called by the keepalived script notify_master | ||
- | fdpi_cli vrrp set master | ||
- | |||
- | # switch SSG to backup mode | ||
- | # this command should be called by the keepalived script notify_backup | ||
- | fdpi_cli vrrp set backup | ||
- | </ | ||
- | SSG always starts in master mode. It is assumed that immediately after startup the keepalived daemon will see that a VRRP group member is started and will call the corresponding script. That is, immediately after startup, the SSG must be explicitly put into master or backup mode. | ||
- | <note warning> | ||
- | |||
- | When an SSG is put into master mode with the '' | ||
- | |||
- | The number of gARP notifications and the interval between them are regulated by the following fastdpi.conf parameters: | ||
- | |||
- | < | ||
- | # Parameters for sending gratuitous ARP when switching to master mode | ||
- | # gratuitous ARP are sent to all SSG interfaces | ||
- | # On each interface, vrrp_arp_count gratuitous ARP packets are sent | ||
- | # with a packet interval of vrrp_arp_timeout seconds | ||
- | # | ||
- | # [hot] Timeout between sending, seconds (default=1) | ||
- | # | ||
- | # [hot] Nimber of repetitions, | ||
- | # | ||
- | </ | ||
- | |||
- | You can check current SSG mode by runnning this CLI command: | ||
- | < | ||
- | fdpi_cli vrrp stat | ||
- | </ | ||
- | |||