IP ROUTE

berikut ini adalah contoh simple static routing dengan menggunakan cisco packet tracer 5.3



 your configure ROUTER1
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host ROUTER1
ROUTER1(config)#int fa0/0
ROUTER1(config-if)#n sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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

ROUTER1(config-if)#ip add 172.16.1.1 255.255.255.252
ROUTER1(config-if)#int fa0/1
ROUTER1(config-if)#n sh

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

ROUTER1(config-if)#ip add 200.200.200.1 255.255.255.252

Enter configuration commands, one per line.  End with CNTL/Z.
ROUTER1(config)#ip route 192.168.1.0 255.255.255.252 200.200.200.2
ROUTER1(config)#^Z
ROUTER1#
%SYS-5-CONFIG_I: Configured from console by console
^Z

configure ROUTER2#
Continue with configuration dialog? [yes/no]: n


Press RETURN to get started!



Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host ROUTER2
ROUTER2(config)#int fa0/0
ROUTER2(config-if)#n sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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

ROUTER2(config-if)#ip add 192.168.1.1 255.255.255.252
ROUTER2(config-if)#int fa0/1
ROUTER2(config-if)#n sh

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

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

ROUTER2(config-if)#ip add 200.200.200.2 255.255.255.252

%SYS-5-CONFIG_I: Configured from console by console
^Z
ROUTER2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ROUTER2(config)#ip route^Z
ROUTER2#
%SYS-5-CONFIG_I: Configured from console by console
^Z


ROUTER2>en
ROUTER2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
ROUTER2(config)#ip route 172.16.1.0 255.255.255.252 200.200.200.1
ROUTER2(config)#^Z
ROUTER2#
%SYS-5-CONFIG_I: Configured from console by console
^Z
ROUTER2#^Z
ROUTER2#




No comments:

Post a Comment