Page 34 - Modul administrasi infrastruktur jaringan kelas XI SMK - andi setiawan
P. 34

Router>en
                    Router#conf t

                    Enter configuration commands, one per line. End with CNTL/Z.
                    Router(config)#int fa0/0 (interface ini hanya diaktifkan saja)

                    Router(config-if)#no sh
                    %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)#int fa0/0.10 (sub interface untuk menambahkan ip di vlan 10)
                    Router(config-subif)#

                    %LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up
                    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed

                    state to up
                    Router(config-subif)#encapsulation dot1Q 10 (tambahkan encaps agar bisa diisi ip)

                    Router(config-subif)#ip add 192.168.1.254 255.255.255.0



                    Router(config-subif)#int fa0/0.20
                    Router(config-subif)#
                    %LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up

                    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed

                    state to up
                    Router(config-subif)#encapsulation dot1Q 20
                    Router(config-subif)#ip add 192.168.2.254 255.255.255.0





                  Isi ip address sesuai vlannya masing-masing dan tambahkan gateway.


























                  Remember me in your pray
   29   30   31   32   33   34   35   36   37   38   39