ag+ rd -> sn

trash your brain in proper place

Static Routing in Vyatta

tinggalkan komentar »

::Basic Routing in Vyatta:: 
:    Static Routing    :

Tutorial ini menggunakan:
-vyatta 6.0 livecd
-virtualbox, bridged network mode

Topologi:
LAN 1 <==> R1 <==> R2 <==> LAN 2
LAN 1 = 192.168.1.0/24
R1-R2 = 192.168.2.0/30
LAN 2 = 192.168.3.0/24

######################################################

R1$configure
R1#set interfaces ethernet eth0 address 192.168.1.1/24
R1#set interfaces ethernet eth1 address 192.168.2.1/30
R1#commit

R2$configure
R2#set interfaces ethernet eth0 address 192.168.2.1/30
R2#set interfaces ethernet eth1 address 192.168.3.1/24
R2#commit

R1#set protocols static route 192.168.3.0/24 next-hop 192.168.2.2/30
R1#commit
R1#exit
R1$show ip route
R2#set protocols static route 192.168.1.0/24 next-hop 192.168.2.1/30
R2#commit
R2#exit
R2$show ip route
R2$show ip route static

Trus coba test ping..

agung.ridwan.sn

Ditulis oleh agung.ridwan.sn

22 Maret 2011 pada 7:29 pm

Ditulis dalam Logs

Dikaitkatakan dengan ,

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.