How can I support VyOS on a fast network?

This overview will walk you with the process of establishing a web server running on a personal network.

with this system are often made use of as routers as well as routers, they have the capacity to configure networks of various types as well as arrangements.

Setup

After attaching the VPS to the local network via the control board, connect to the server via and also go to the VyOS setup mode:

config

Note: in normal mode, some utilities are not available, and the command line prompt ends with the $ (dollar) symbol, and in the configuration mode, with the # (pound sign) symbol.

Display all available interfaces:

show interfaces

ethernet eth0 {
     address /24
     duplex auto
     hw-id 
     smp_affinity auto
     speed auto
 }
 ethernet eth1 {
     duplex auto
     hw-id 
     smp_affinity auto
     speed auto
 }
 loopback lo {
 }

Use the set command to set the value of the local ip address, if the DHCP option is disabled on the network , then specify the address from the control panel in the settings of your VPS as the value (see image below):

set interfaces ethernet eth1 address /24

:

set interfaces ethernet eth1 address 10.0.0.4/24

When the DHCP option is enabled, do the following:

set interfaces ethernet eth1 address dhcp

Note: If the execution fails, try adding the current user to the superuser group, such as usermod -a -G root .

Check the changes:

show interfaces

ethernet eth1 {
+    address /
     duplex auto
     hw-id 00:50:56:01:1b:9f
     smp_affinity auto
     speed auto
 }
 loopback lo {
 }

Changed lines are marked with a + sign.

If everything is correct, commit and save the changes:

commit
save

Exit configuration mode:

exit

Check the configured local ip address of the VyOS interface:

show interfaces

Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                      S/L      Description
---------        ----------                      ---      -----------
eth0 /24 u/u  
eth1 /24 u/u  
lo               127.0.0.1/8                           u/u  
                 ::1/128

Now you can use the configured machine as a router or another private network node.

 

Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!