From 1e61c57c160e63940ba85b13ff81a88e899e443d Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 24 Dec 2014 16:41:38 -0800 Subject: tools: simplify AS number usage Signed-off-by: FUJITA Tomonori --- tools/route-server/quagga-rsconfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/route-server/quagga-rsconfig.go b/tools/route-server/quagga-rsconfig.go index cf3d211c..31269d47 100644 --- a/tools/route-server/quagga-rsconfig.go +++ b/tools/route-server/quagga-rsconfig.go @@ -48,14 +48,14 @@ func create_config_files(nr int, outputDir string) { gobgpConf := config.BgpType{ Global: config.GlobalType{ - As: 64512, + As: 65000, RouterId: net.ParseIP("192.168.255.1"), }, } for i := 1; i < nr+1; i++ { c := config.NeighborType{ - PeerAs: 64513 + uint32(i), + PeerAs: 65000 + uint32(i), NeighborAddress: net.ParseIP(fmt.Sprintf("10.0.0.%d", i)), AuthPassword: fmt.Sprintf("hoge%d", i), } -- cgit v1.2.3