猫型エンジニアのブログ

プログラム/ネットワーク系の技術関連をまとめたページです 

vyattaの設定

 たまに扱うvyattaの設定のメモです。こちらに詳しい設定情報が記載されています。

IPアドレスの割り当て

$ configure
[edit]
# set interfaces ethernet eth1 address 192.168.10.254/24
[edit]

sshの有効化

# set service ssh
[edit]
# commit
[edit]
# save
[edit]

BGPの設定

# set protocols bgp 64600 neighbor 172.16.1.252 remote-as 64601
[edit]
# commit
[edit]
# save
[edit]
vyatta@vyatta# netstat -tl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:bgp                   *:*                     LISTEN

 確かにbgpをLISTENしていることが確認できます。