Social Icons

Selasa, 07 Januari 2014

Konfigurasi Router Static Routing

Router 1
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname a
a(config)#line console 0
a(config-line)#password 123
a(config-line)#enable secret 123
a(config)#interface serial 0/0/0
a(config-if)#ip address 172.16.2.1 255.255.255.0
a(config-if)#interface fastethernet 0/0
a(config-if)#ip address 172.16.1.1 255.255.255.0
a(config-if)#exit
a(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0

Router 2
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname b
b(config)#line console 0
b(config-line)#password 123
b(config-line)#enable secret 123
b(config)#interface serial 0/0/0
b(config-if)#ip address 172.16.2.2 255.255.255.0
b(config)#interface serial 0/0/1
b(config-if)#ip address 172.16.4.1 255.255.255.0
b(config-if)#interface fastethernet 0/0
b(config-if)#ip address 172.16.3.1 255.255.255.0
b(config)# ip route 172.16.1.0 255.255.255.0 172.16.2.1
b(config)# ip route 172.16.4.0 255.255.255.0 172.16.4.2

Router 3
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname c
c(config)#line console 0
c(config-line)#password 123
c(config-line)#enable secret 123
c(config)#interface serial 0/0/0
c(config-if)#ip address 172.16.4.2 255.255.255.0
c(config-if)#interface fastethernet 0/0
c(config-if)#ip address 172.16.5.1 255.255.255.0
c(config-if)#exit
c(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0

Tidak ada komentar:

Posting Komentar