Vyatta: Difference between revisions
Line 25: | Line 25: | ||
| configure | | configure | ||
|- | |- | ||
| (config)hostname ''Name'' | | '''Hostname'''-(config)hostname ''Name'' | ||
| (configuration)set system host-name ''Name'' | | (configuration)set system host-name ''Name'' | ||
|- | |- | ||
| (config)line con 0 (enter)password ''password'' | | '''Password'''-(config)line con 0 (enter)password ''password'' | ||
| (configuration)set system login user ''name'' authentication plaintext-password ''password'' | | (configuration)set system login user ''name'' authentication plaintext-password ''password'' | ||
|- | |- | ||
| (config)interface fa0/0 (Enter) (config-int)ip address (ip address) (subnet) | | '''Static Route'''-(config)ip route ''ip address subnet mask next hop address or exiting interface'' | ||
| (configuration)set protocols static route ''ip address/subnet mask(slash notation /24)'' next hop ''next hop ip address'' | |||
|- | |||
| '''IP Addressing'''-(config)interface fa0/0 (Enter) (config-int)ip address (ip address) (subnet) | |||
| (configure)Set interfaces Ethernet eth0 address (ip address)/Subnet | | (configure)Set interfaces Ethernet eth0 address (ip address)/Subnet | ||
|- | |- | ||
| (config)router rip (enter) version 2 | | '''RIPv2'''-(config)router rip (enter) version 2 | ||
| (configure)set protocols rip interface ethernet ''ethx'' | | (configure)set protocols rip interface ethernet ''ethx'' | ||
|- | |- | ||
Line 43: | Line 46: | ||
| (configure)set protocols rip passive-interface ethernet ''ethx'' | | (configure)set protocols rip passive-interface ethernet ''ethx'' | ||
|- | |- | ||
| (config-router)default information-originate | |||
| (configuration)set protocols rip default-information originate | |||
|- | |||
| '''OSPF'''-(config)router ospf ''instance #'' | |||
| (configuration)set protocols ospf4 | |||
|- | |||
| (config-router)passive-interface ''fa0/0'' | |||
| (configuration)set protocols ospf passive-interface ethernet ''ethx'' | |||
|- | |||
| (config-router)network ''ip address wildcard mask'' area ''area#'' | |||
| (configuration)set protocols ospf area 0 network ''ip address/subnet mask slash notation'' | |||
|- | |||
| (config-router)redistribute static | |||
| (configuration)set protocols ospf redistribute static | |||
|- | |||
| (config-router)default information-originate | |||
| (configuration)set protocols ospf default-information originate | |||
|- | |||
| (config) | |||
| (configuration)set protocols ospf distance | |||
|- | |||
| (config-int)bandwidth ''number in kb'' | |||
| (configuration) | |||
|} | |} |
Revision as of 15:12, 7 December 2009
Vyatta
Is an open source routing IOS that you may use to create your own router. We used this software to turn a typical household PC into a router.
Simple Installation
The first thing you need to do is to go to the website Vyatta.org. You then need to go to the Downloads Section and find the iso file. Once you have the file on your computer you need to burn the iso image to a CD using ISO Image Burning software. Then place the CD in your CD bay and restart the computer with boot from CD enabled in BIOS.
Once you get into the Vyatta Options the first thing you will need to do is type install-system at the vyatta:~# command prompt.
vyatta:~# install-system
It will then ask you some questions about the installation process. Read carefully and answer the questions. It will partition your HDD with a selected size from your input. It will ask you some questions that have default options that you can hit the enter button to use the default options.
Commands
Vyatta does not support short hand abbreviations of the commands like cisco routers do. You also have to use the commit command after every command for it to become in effect.
Cisco Command | Vyatta Command |
---|---|
Configure Terminal | configure |
Hostname-(config)hostname Name | (configuration)set system host-name Name |
Password-(config)line con 0 (enter)password password | (configuration)set system login user name authentication plaintext-password password |
Static Route-(config)ip route ip address subnet mask next hop address or exiting interface | (configuration)set protocols static route ip address/subnet mask(slash notation /24) next hop next hop ip address |
IP Addressing-(config)interface fa0/0 (Enter) (config-int)ip address (ip address) (subnet) | (configure)Set interfaces Ethernet eth0 address (ip address)/Subnet |
RIPv2-(config)router rip (enter) version 2 | (configure)set protocols rip interface ethernet ethx |
(config-router)network ip-address | (configure)set protocols rip network ip-address |
(config-router)passive-interface Fa0/0 | (configure)set protocols rip passive-interface ethernet ethx |
(config-router)default information-originate | (configuration)set protocols rip default-information originate |
OSPF-(config)router ospf instance # | (configuration)set protocols ospf4 |
(config-router)passive-interface fa0/0 | (configuration)set protocols ospf passive-interface ethernet ethx |
(config-router)network ip address wildcard mask area area# | (configuration)set protocols ospf area 0 network ip address/subnet mask slash notation |
(config-router)redistribute static | (configuration)set protocols ospf redistribute static |
(config-router)default information-originate | (configuration)set protocols ospf default-information originate |
(config) | (configuration)set protocols ospf distance |
(config-int)bandwidth number in kb | (configuration) |