Jaringan Komputer:Tugas 1: Difference between revisions
| Line 68: | Line 68: | ||
==Konfigurasi Dynamis== | ==Konfigurasi Dynamis== | ||
===Router 0=== | |||
<syntaxhighlight lang="bash"> | |||
Router>enable | |||
Router#configure terminal | |||
Enter configuration commands, one per line. End with CNTL/Z. | |||
Router(config)#interface fa1/0 | |||
Router(config-if)#ip address 192.168.40.2 255.255.255.0 | |||
Router(config-if)#no shutdown | |||
Router(config-if)# | |||
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up | |||
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up | |||
Router(config-if)#exit | |||
Router(config)#interface fa0/0 | |||
Router(config-if)#ip address 192.168.30.2 255.255.255.0 | |||
Router(config-if)#no shutdown | |||
Router(config-if)# | |||
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up | |||
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up | |||
Router(config-if)#exit | |||
Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.30.1 | |||
Router(config)#ip route 192.168.20.0 255.255.255.0 192.168.40.1 | |||
Router(config)#exit | |||
</syntaxhighlight> | |||
===Router1=== | ===Router1=== | ||
<syntaxhighlight lang="bash" line="1"> | <syntaxhighlight lang="bash" line="1"> | ||