Tuesday, 12 March 2013

Vyatta Basic setup


    

Entering Configuration Mode
vyatta@vyatta:~$ configure

Setting the Host Name
vyatta@vyatta# set system host‐name R1

Setting the Domain Name
vyatta@R1# set system domain‐name mydomain.com

Changing Passwords
vyatta@R1#set system login user vyatta authentication plaintext‐password anypassword

Configuring Interfaces 
set up ip address
vyatta@R1#set interfaces ethernet eth0 address 192.0.2.21/24

set up description
vyatta@R1#set interfaces ethernet eth4 description "This port is connected with R1"

delet ip address
vyatta@R1#delet interfaces ethernet eth0 address 192.0.2.21/24

apply the change
vyatta@R1#commit

Specifying a Default Gateway
vyatta@R1#set system gateway‐address 192.0.2.99

Enabling SSH Access
vyatta@R1#set service ssh




No comments:

Post a Comment