HomeLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search


MOST WELCOME Guest, THANK'S FOR JOIN


Share | 
 

 Konfigurasi Gateway di Router Vyatta

View previous topic View next topic Go down 
AuthorMessage
BONUO CELL™
★Site Owner F.H.F★

avatar

Age : 37
Location : Pasir pengaraian - Rokan Hulu
Job/hobbies : Master Of Science, Web Design And Programers
Join date : 2011-03-15
Posts : 1834
Rep Rep : 2802

PostSubject: Konfigurasi Gateway di Router Vyatta   Tue Feb 14, 2012 11:20 am

Konfigurasi Gateway di Router Vyatta

Quote :
Ok dah langsung aja setelah install vyatta qta lanjutkan ke bagian
konfigurasi nya. di sini vyatta ane fungsikan sebagai Router Gateway .

Eth0 = 192.168.165.2
eth1 = 192.168.1.1
ip Modem = 192.168.165.1

OK setelah qta login di vyatta akan ada Mode operasional digunakan untuk
melihat status sistem sedangkan mode konfigurasi untuk melakukan
konfigurasi terhadap sistem. Untuk memasuki mode konfigurasi di vyatta
dengan mengetikkan :


Code:

vyatta@vyatta> configure

Pertama kita seting dahulu interfacenya:
Pertama Konfigurasi interface Wan


Code:

vyatta@vyatta# set interfaces ethernet eth0 address 192.168.165.2/24
yatta@vyatta# set interfaces ethernet eth0 description WAN
kemudian, kita konfigurasikan interface yang ke arah WAN:


Code:

vyatta@vyatta# set interfaces ethernet eth1 address 192.168.1.1/24
vyatta@vyatta# set interfaces ethernet eth1 description LAN
setelah itu seting gateway dan name server nya:


Code:

vyatta@vyatta# set system gateway-address 192.168.165.1
vyatta@vyatta# set system name-server 192.168.165.1
disini ane gunain statik route :


Code:

vyatta@vyatta# set protocols static route 0.0.0.0/0 next-hop 192.168.165.1
lalu kita setting natnya untuk network eth1 agar bisa access ke internet:


Code:

vyatta@vyatta# set service nat rule 1
vyatta@vyatta# set service nat rule 1 source
vyatta@vyatta# set service nat rule 1 type masquerade
vyatta@vyatta# set service nat rule 1 outbound-interface eth0
vyatta@vyatta# set service nat rule 1 protocol all
vyatta@vyatta# set service nat rule 1 source address 192.168.1.0/24
vyatta@vyatta# set service nat rule 1 destination address 0.0.0.0/0
setelah itu seting dhcp untuk network 192.168.1.0:


Code:

vyatta@vyatta# set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 start 192.168.1.10 stop 150
vyatta@vyatta# set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 default-router 192.168.165.1
vyatta@vyatta# set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 dns-server 192.168.165.1
vyatta@vyatta# set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 lease 14400
terakhir setting telnet, ssh, dan https:


Code:

vyatta@vyatta# set service telnet
vyatta@vyatta# set service ssh
vyatta@vyatta# set service https
Tinggal commit and save dah semua konf


Code:

vyatta@vyatta# commit
vyatta@vyatta# save
sampe sini ane dah bisa ping ke internet coba ke facebook dan google ok.

================================================

[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]


[You must be registered and logged in to see this image.] Hello Guest [You must be registered and logged in to see this image.]


[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]
Back to top Go down
View user profile
 
Konfigurasi Gateway di Router Vyatta
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Sailor Moon Gateway
» Need help with a gateway 500S with pci video card and no OS
» Router bits on die grinder. Anyone?
» Great speakers for my new ST-120
» new sams XYZ loop

Permissions in this forum:You cannot reply to topics in this forum
GSM-Forum :: == COMPUTERS FUN & STUFF == :: VYATTA AREA-
Jump to: