summaryrefslogtreecommitdiff
path: root/smoketest/configs/static-route-basic
blob: 4bf114e335b749bd571f450c731053f19d889246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
interfaces {
    ethernet eth0 {
        duplex "auto"
        speed "auto"
        vif 203 {
            address "172.18.203.10/24"
        }
    }
    ethernet eth1 {
        duplex "auto"
        speed "auto"
    }
}
protocols {
    static {
        multicast {
            interface-route 224.0.0.0/24 {
                next-hop-interface eth0.203 {
                    distance "10"
                }
            }
            route 224.0.0.0/24 {
                next-hop 172.18.203.254 {
                    distance "20"
                }
            }
        }
        route 10.0.0.0/8 {
            blackhole {
                distance "200"
                tag "333"
            }
            next-hop 192.0.2.140 {
                bfd {
                    multi-hop {
                        source 192.0.2.10 {
                            profile "vyos-test"
                        }
                    }
                }
                distance "123"
                interface "eth0"
            }
        }
        route 172.16.0.0/16 {
            next-hop 172.18.203.254 {
                bfd {
                    multi-hop {
                        source 172.18.203.254 {
                            profile "foo"
                        }
                    }
                }
            }
        }
        route6 2001:db8:1::/48 {
            next-hop fe80::1 {
                bfd {
                    multi-hop {
                        source fe80::1 {
                            profile "bar"
                        }
                    }
                }
                interface eth0.203
            }
        }
        route6 2001:db8:2::/48 {
            next-hop fe80::1 {
                bfd {
                    multi-hop {
                        source fe80::1 {
                            profile "bar"
                        }
                    }
                }
                interface eth0.203
            }
        }
        route6 2001:db8:3::/48 {
            next-hop fe80::1 {
                bfd {
                }
                interface eth0.203
            }
        }
    }
}
service {
    lldp {
        interface all {
        }
    }
    ntp {
        allow-client {
            address "0.0.0.0/0"
            address "::/0"
        }
        server 172.16.100.10 {
        }
        server 172.16.100.20 {
        }
        server 172.16.110.30 {
        }
    }
}
system {
    config-management {
        commit-revisions 100
    }
    console {
        device ttyS0 {
            speed 115200
        }
    }
    host-name vyos
    login {
        user vyos {
            authentication {
                encrypted-password $6$O5gJRlDYQpj$MtrCV9lxMnZPMbcxlU7.FI793MImNHznxGoMFgm3Q6QP3vfKJyOSRCt3Ka/GzFQyW1yZS4NS616NLHaIPPFHc0
                plaintext-password ""
            }
        }
    }
    ntp {
        server 0.pool.ntp.org {
        }
        server 1.pool.ntp.org {
        }
        server 2.pool.ntp.org {
        }
    }
    syslog {
        global {
            facility all {
                level info
            }
            facility local7 {
                level debug
            }
        }
    }
    time-zone "Asia/Macau"
}

// Warning: Do not remove the following line.
// vyos-config-version: "bgp@5:broadcast-relay@1:cluster@2:config-management@1:conntrack@5:conntrack-sync@2:container@2:dhcp-relay@2:dhcp-server@8:dhcpv6-server@1:dns-dynamic@4:dns-forwarding@4:firewall@15:flow-accounting@1:https@6:ids@1:interfaces@32:ipoe-server@3:ipsec@13:isis@3:l2tp@9:lldp@2:mdns@1:monitoring@1:nat@8:nat66@3:ntp@3:openconnect@3:ospf@2:pim@1:policy@8:pppoe-server@10:pptp@5:qos@2:quagga@11:reverse-proxy@1:rip@1:rpki@2:salt@1:snmp@3:ssh@2:sstp@6:system@27:vrf@3:vrrp@4:vyos-accel-ppp@2:wanloadbalance@3:webproxy@2"
// Release version: 1.4.0