X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2835205c501da417ff80ce4f06dc32d14c8c38bb..a8d4b2e02f9c19795a0a9ddde6f404cbf1446d61:/roles/odin.rb?ds=sidebyside diff --git a/roles/odin.rb b/roles/odin.rb index a7f836e18..b835c456d 100644 --- a/roles/odin.rb +++ b/roles/odin.rb @@ -17,14 +17,38 @@ default_attributes( :slaves => %w[eno1 eno2] } }, - :external => { + :external_cogent => { :interface => "bond0.2", :role => :external, + :source_route_table => 100, + :inet => { + :address => "130.117.76.15", + :prefix => "27", + :gateway => "130.117.76.1" + }, + :inet6 => { + :address => "2001:978:2:2c::172:f", + :prefix => "64", + :gateway => "2001:978:2:2c::172:1", + :routes => { + "2001:470:1:b3b::/64" => { :type => "unreachable" } + } + } + }, + :external => { + :interface => "bond0.3", + :role => :external, + :metric => 150, + :source_route_table => 150, :inet => { - :address => "130.117.76.15" + :address => "184.104.179.143", + :prefix => "27", + :gateway => "184.104.179.129" }, :inet6 => { - :address => "2001:978:2:2c::172:f" + :address => "2001:470:1:fa1::f", + :prefix => "64", + :gateway => "2001:470:1:fa1::1" } } }