Professional Documents
Culture Documents
Vyatta6.4 Config
Vyatta6.4 Config
Vyatta6.4 Config
This is a quick guide setup guide for the Vyatta 6.4 open source router in VMware ESXi
Server. Please Note: Some of the Vyatta 6.3 commands are different from the Vyatta 6.4
commands. All articles on this site that do not state Vyatta 6.4 are written for Vyatta 6.3
I used the VI Client to create a new VM. Select File, then New Virtual Machine.
Configuration: Custom
Name: "MyVyatta" Note: This name is whatever you want it to be.
Datastore: Choose the datastore you wish Vyatta to install on.
Virtual Machine Version: 7
Guest OS: Linux/Other 2.6x Linux
CPU: "1"
Memory: "512"
Network: "2" / vmxnet3
SCSI Controller: keep the defaults
Select a Disk: keep the default
Create a Disk: "4"GB then select thin provisioning
Select the box to customize the configuration prior to completing the VM creation and do the
following:
Password You may be prompted to create a new administrator password. Make sure to change it when
prompted.
Choose all of the defaults and when the install is complete type
Remember Me
Login #poweroff
Forgot your password? Once it's shutdown, go back to the VI Client and select the Vyatta VM. Go to Edit Setting and
Forgot your username? do the following.
Start the Vyatta VM and once it powers up, log back in.
Once you are logged into the Vyatta console you need to enter configuration mode, this is
done by typing “configure” in the console.
#configure
Next use the show interfaces command to see the network configuration of your Vyatta
router.
1 of 4 17-10-2012 05:46 PM
Vyatta 6.4 Quick Setup http://www.sohoadvisers.com/tutorials/vyatta-router/vyatta-router-quic...
By using the MAC address of your network card you should be able to match your network
card to the correct Vyatta ethernet interface.
You must set the IP address range for the Private Network in Vyatta. Because my private
network is on eth1 I will use the following command to give it a static IP address.
#commit
If you have a PC with a statically assigned IP address on the private network, you can test if
the IP address took by pinging the IP address of your router inside of a virtual machine on the
private network, if not, just continue.
Give the router a hostname and domain name by entering the following commands
#commit
Now we setup external interface to gets its address from a DHCP server. Please note, if you
need PPPOE for your internet provider you will need to take other steps. My internet provider
uses DHCP so I don't have the ability to test any other configuration
Now that the hostname, domain name, and IP information is set, its time to configure the
private network to have a DHCP server.
The process below enables the DHCP server for the 192.168.1.0/24 network. It will distribute
IP addresses at 50 and stop at 100. I also setup the outside DNS server and the default router
for the DHCP server to give to clients.
This command names the network PRIVATE and sets the DHCP address range to start at
192.168.1.50 and stop handing out addresses at 100
Now setup the DNS and Default gateway. I use OpenDNS for my all of my DNS needs, it's free
and allows for content filtering.
The last step to setup connectivity for the private network is to setup NAT. NAT will allow you
to connect to the internet from any device on the private network.
Once you have added NAT, check to see if your private network PC can access the internet. At
this point, there should be full access from the private network to anywhere on your network.
Comments
2 of 4 17-10-2012 05:46 PM
Vyatta 6.4 Quick Setup http://www.sohoadvisers.com/tutorials/vyatta-router/vyatta-router-quic...
Add comment
Name (required)
Website
Refresh
Send
JComments
search...
3 of 4 17-10-2012 05:46 PM
Vyatta 6.4 Quick Setup http://www.sohoadvisers.com/tutorials/vyatta-router/vyatta-router-quic...
Designed by sohowebhosts.
4 of 4 17-10-2012 05:46 PM