You are not logged in or registered. Please login or register to use the full functionality of this board...

Post Reply 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure a static IP address in Vyatta
07-15-2013, 01:39 PM
Post: #1
How to configure a static IP address in Vyatta
Whilst Vyatta is based off Debian, it uses methods for configuration much similar to the way you would configure a switch or a router. Therefore, simply editing the network/interfaces file won't actually work for you.

Firstly to enter the configuration mode:


Assuming you want to configure eth0 as something like this:


Your commands will be the following:

Quote:set interfaces ethernet eth0 address

this sets the IP address and the CDIR denotes the netmask, then

Quote:set system gateway-address

This sets the gateway, then

Quote:set system name-server

sets the nameserver for dns.

You may also consider

Quote:set service ssh

to allow SSH connections.

In order to save the config, you must first


then make sure you


Once you reboot you can check your configuration with the following:

Quote:show interfaces
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)