Конфигурации устройств
VRRP
system {
root-authentication {
encrypted-password "$1$g0.ilY2l$BWxgrwnnTkf5/ZR3HZpVQ1"; ## SECRET-DATA
}
host-name Gate-1;
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.0.1/24 {
vrrp-group 11 {
virtual-address 192.168.0.254;
priority 80;
fast-interval 500;
preempt {
hold-time 25;
}
advertisements-threshold 3;
}
vrrp-group 15 {
virtual-address 192.168.0.1;
priority 255;
fast-interval 500;
advertisements-threshold 3;
}
}
}
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 1.1.1.1/31;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 1.1.1.0;
}
}
protocols {
vrrp {
version-3;
}
}
system {
root-authentication {
encrypted-password "$1$g0.ilY2l$BWxgrwnnTkf5/ZR3HZpVQ1"; ## SECRET-DATA
}
host-name Gate-2;
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.0.2/24 {
vrrp-group 11 {
virtual-address 192.168.0.254;
priority 230;
fast-interval 500;
preempt {
hold-time 25;
}
advertisements-threshold 3;
}
vrrp-group 15 {
virtual-address 192.168.0.1;
fast-interval 500;
advertisements-threshold 3;
}
}
}
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 2.2.2.3/31;
}
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 2.2.2.2;
}
}
protocols {
vrrp {
version-3;
}
}
system {
root-authentication {
encrypted-password "$1$g0.ilY2l$BWxgrwnnTkf5/ZR3HZpVQ1"; ## SECRET-DATA
}
host-name Internet;
}
interfaces {
ge-0/0/1 {
unit 0 {
family inet {
address 1.1.1.0/31;
}
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 2.2.2.2/31;
}
}
}
lo0 {
unit 0 {
family inet {
address 8.8.8.8/32;
}
}
}
}
routing-options {
static {
route 192.168.0.0/24 next-hop [ 1.1.1.1 2.2.2.3 ];
}
}
Last updated