Difference between revisions of "Juniper: Static Routing Sederhana"

From OnnoWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
  set interfaces me0 unit 0 family inet address 192.168.122.100/24
 
  set interfaces me0 unit 0 family inet address 192.168.122.100/24
set interfaces me0 unit 0 family inet address 192.168.122.101/24
+
  set routing-options static route 0.0.0.0/0 next-hop 192.168.122.1
set interfaces me0 unit 0 family inet address 192.168.122.102/24
 
  set routing-options static route 0.0.0.0/0 next-hop 192.168.122.1/24
 
 
 
 
  set interfaces me1 unit 0 family inet address 10.10.10.1/24
 
  set interfaces me1 unit 0 family inet address 10.10.10.1/24
 
  set interfaces me2 unit 0 family inet address 10.10.20.1/24
 
  set interfaces me2 unit 0 family inet address 10.10.20.1/24
 +
commit
 
  exit
 
  exit
commit
 
  
 
==Cek==
 
==Cek==
  
  show interface
+
  show interfaces
  show ip route
+
  show route
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 17:34, 24 December 2018

cli
configure
set interfaces me0 unit 0 family inet address 192.168.122.100/24
set routing-options static route 0.0.0.0/0 next-hop 192.168.122.1
set interfaces me1 unit 0 family inet address 10.10.10.1/24
set interfaces me2 unit 0 family inet address 10.10.20.1/24
commit
exit

Cek

show interfaces
show route

Pranala Menarik