pdoc 0.1 documentation

Vyatta

«  Android   ::   Contents   ::   Network  »

Vyatta

Linuxをベースにしたルータディストリビューション

ほとんどJuniperライク。

初期情報

デフォルトユーザ

user : vyatta
pass : vyatta

インストール

インストールディスク入れて起動したら、

$ install-system

当たり前だが、DNSおよびRouteの設定が正しく行われていなければ実行しても無駄

アップグレード

vyatta@vyatta:~$ show version
Version:      VC6.1-2010.10.16
Description:  Vyatta Core 6.1 2010.10.16
Copyright:    2006-2010 Vyatta, Inc.
Built by:     autobuild@vyatta.com
Built on:     Sat Oct 16 01:12:35 UTC 2010
Build ID:     1010160115-d310b15
Boot via:     disk
Uptime:       05:16:11 up 19 days, 17:50,  1 user,  load average: 0.00, 0.00, 0.00

vyatta@vyatta:~$ add system image http://www.vyatta.com/downloads/vc6.3/vyatta-livecd_VC6.3-2011.07.21_i386.iso
Welcome to the Vyatta install program.  This script
will walk you through the process of installing the
Vyatta image to a local hard drive.
Would you like to continue? (Yes/No) [Yes]:
Trying to fetch ISO file from http://www.vyatta.com/downloads/vc6.3/vyatta-livecd_VC6.3-2011.07.21_i386.iso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  194M  100  194M    0     0  2108k      0  0:01:34  0:01:34 --:--:--  477k
ISO download suceeded.
Checking for digital signature file...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404
Unable to fetch digital signature file.
Do you want to continue without signature check? (yes/no) [yes]
Checking MD5 checksums of files on the ISO image...OK.
You are running an installed system. Do you want to use the current install
partition? (Yes/No) [Yes]:

Done!
What would you like to name this image? [VC6.3-2011.07.21]:
OK.  This image will be named: VC6.3-2011.07.21
Installing "VC6.3-2011.07.21" image.
Copying new release files...
Would you like to save the current configuration
directory and use the current start-up configuration
for the new version? (Yes/No) [Yes]:
Copying current configuration...
Would you like to save the SSH host keys from your
current configuration? (Yes/No) [Yes]:
Copying SSH keys...
Setting up grub configuration...
Done.
vyatta@vyatta:~$ reboot
Proceed with reboot? [confirm][y]

Broadcast message from root@vyatta (pts/0) (Sat Feb  4 05:24:01 2012):

The system is going down for reboot NOW!
vyatta@vyatta:~$

login as: vyatta
Welcome to Vyatta
vyatta@192.168.1.71's password:
Linux vyatta 2.6.37-1-586-vyatta #1 SMP Thu Jul 7 22:01:14 PDT 2011 i686
Welcome to Vyatta.
This system is open-source software. The exact distribution terms for
each module comprising the full system are described in the individual
files in /usr/share/doc/*/copyright.
vyatta@vyatta:~$ show version
Version:      VC6.3-2011.07.21
Description:  Vyatta Core 6.3 2011.07.21
Copyright:    2006-2011 Vyatta, Inc.
Built by:     autobuild@vyatta.com
Built on:     Thu Jul 21 06:05:47 UTC 2011
Build ID:     1107210607-a17b235
System type:  Intel 32bit
Boot via:     image
Hypervisor:   VMware
VMware
Uptime:       05:25:24 up 0 min,  1 user,  load average: 0.47, 0.14, 0.05

Warning

あれ、Disk BootがImage Bootになってる。意味ねぇな。

確認してもいいけど、普通問題ない

# show system package
auto-sync 1
repository community {
    components main
    distribution stable
    url http://packages.vyatta.com/vyatta
}
$ configure
# sudo full-update -k

6.1以降は使えないぽいね。

設定例

設定を入れても反映はされない。反映するには

# commit

反映しても、再起動すると消える。起動コンフィグに適用するには

# save

インタフェース設定

# set interface ethernet eth0 address 192.168.1.71/24
# set interface ethernet eth0 address 2001:380:e08:f7:11::71/64

DNS

# set system name-server 192.168.1.1

Default Wateway

# set system gateway-address 192.168.122.1

SSH

# set service ssh port 22

その他

IPv6 NATの設定ができないので、我が家では採用を見送り

DHCPv6は使えるのにね

Table Of Contents

Previous topic

Android

Next topic

Network

This Page

«  Android   ::   Contents   ::   Network  »