Difference between revisions of "VyOS: Konfigurasi Interface"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Login ke VyOS configure ==Contoh== set interfaces ethernet eth0 address dhcp set interfaces ethernet eth0 description 'OUTSIDE' set interfaces ethernet eth1 address '...")
 
 
(One intermediate revision by the same user not shown)
Line 48: Line 48:
 
  set service dns forwarding name-server '8.8.8.8'
 
  set service dns forwarding name-server '8.8.8.8'
 
  set service dns forwarding name-server '8.8.4.4'
 
  set service dns forwarding name-server '8.8.4.4'
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[TCP/IP: Advanced Routing]]
 +
* [[Quagga]]
 +
* [[VyOS]]
 +
* [[Mikrotik]]
 +
* [[Cisco]]
 +
* [[Juniper]]
 +
* [[BIRD1]]
 +
* [[BIRD2]]
 +
* [[IPv6]]
 +
 +
 +
* [[TCP/IP: Advanced Routing]]
 +
* [[IPv6: Advanced Routing]]
 +
* [[IPv6: Quagga]]
 +
* [[IPv6: VyOS]]
 +
* [[IPv6: Mikrotik]]
 +
* [[IPv6: Cisco]]
 +
* [[IPv6: Juniper]]
 +
* [[IPv6: BIRD1]]
 +
* [[IPv6: BIRD2]]
 +
* [[IPv6]]

Latest revision as of 10:35, 20 January 2019

Login ke VyOS

configure


Contoh

set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth0 description 'OUTSIDE'
set interfaces ethernet eth1 address '192.168.0.1/24'
set interfaces ethernet eth1 description 'INSIDE'
set service ssh port '22'


NAT

set nat source rule 100 outbound-interface 'eth0'
set nat source rule 100 source address '192.168.0.0/24'
set nat source rule 100 translation address masquerade


DHCP

set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 default-router '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 dns-server '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 domain-name 'internal-network'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 lease '86400'
>= 1.2.0
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 start 192.168.0.9
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 stop '192.168.0.254'
<= 1.1.8
set service dhcp-server disabled 'false'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 start 192.168.0.9 stop '192.168.0.254'


DNS Forwarder

set service dns forwarding cache-size '0'
set service dns forwarding listen-on 'eth1'
set service dns forwarding name-server '8.8.8.8'
set service dns forwarding name-server '8.8.4.4'


Pranala Menarik