To configure the first time on the router you need to connect the router with your computer using the console cable. Then the router can be in the configuration through the hyper terminal with the default settings.
Following configuration we can do:
On Router A:
A router> ena / * entry to previleged mode
A Router # config t / * to enter global configuration mode
A Router (Config) # interface f0 / 0
/ * into the mode where we can set a particular interface (in this case the fast ethernet 0 / 0)
A router (Config-if) # description Connected to local network
/ * information about Where the interface is connected, to make it easy for us to take quick action when something happens
A router (Config-if) # ip address 192.168.1.1 255.255.255.0
/ * setting ip address and subnet mask
A router (Config-if) # no shutdown
/ * command interface that is up (change state to up)
A router (Config-if) # exit
Nah, this setting for serial interface 2 / 0 is connected to Router B,
A Router (Config) # interface S2 / 0
A router (Config-if) # description Connected to Router B
A router (Config-if) # ip address 202.100.100.1 255.255.255.0
A router (Config-if) # no shutdown
A router (Config-if) # end
Router A # sh run
/ * see settingan that we already do
Router A # copy run start
/ * mengopi settings that we have to do in the NVRAM (start-up config), so that when the router is in the restart settingannya still remain the same.
Router A # exit
A Router> exit
On Router B:
B Router> ena
Router B # config t
B Router (Config) # interface f0 / 0
B Router (Config-if) # description Connected to local network
B Router (Config-if) # ip address 192.168.2.1 255.255.255.0
B Router (Config-if) # no shutdown
B Router (Config-if) # exit
B Router (Config) # interface S2 / 0
B Router (Config-if) # description Connected to Router A
B Router (Config-if) # ip address 202.100.100.2 255.255.255.0
B Router (Config-if) # clock rate 64000
/ * Need to be setting clock rate because Router B using DCE cable (when the router is required between 2 cable DTE and DCE), the number 64000 is the default clock rate.
B Router (Config-if) # no shutdown
B Router (Config-if) # end
Router B # sh run
B Router # copy run start
Router B # exit
B Router> exit
So that the picture on the network connected with the above (can be tested with the ping command), after setting the router is done each computer will need to set ip address and default gatewaynya to each router is.
A computer:
Ip Address: 192.168.1.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1 (Router A)
Computer B:
Ip Address: 192.168.2.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1 (Router B)
Besides, do not forget to configure routing protocol on both the router (static or dynamic, such as RIP, RIPv2, IGRP, OSPF, EIGRP, IS-IS, etc.).
That's all. Hopefully this information helps. Suggestions and criticisms or any extra I'm happy with the receipt. Cheers. =)
Following configuration we can do:
On Router A:
A router> ena / * entry to previleged mode
A Router # config t / * to enter global configuration mode
A Router (Config) # interface f0 / 0
/ * into the mode where we can set a particular interface (in this case the fast ethernet 0 / 0)
A router (Config-if) # description Connected to local network
/ * information about Where the interface is connected, to make it easy for us to take quick action when something happens
A router (Config-if) # ip address 192.168.1.1 255.255.255.0
/ * setting ip address and subnet mask
A router (Config-if) # no shutdown
/ * command interface that is up (change state to up)
A router (Config-if) # exit
Nah, this setting for serial interface 2 / 0 is connected to Router B,
A Router (Config) # interface S2 / 0
A router (Config-if) # description Connected to Router B
A router (Config-if) # ip address 202.100.100.1 255.255.255.0
A router (Config-if) # no shutdown
A router (Config-if) # end
Router A # sh run
/ * see settingan that we already do
Router A # copy run start
/ * mengopi settings that we have to do in the NVRAM (start-up config), so that when the router is in the restart settingannya still remain the same.
Router A # exit
A Router> exit
On Router B:
B Router> ena
Router B # config t
B Router (Config) # interface f0 / 0
B Router (Config-if) # description Connected to local network
B Router (Config-if) # ip address 192.168.2.1 255.255.255.0
B Router (Config-if) # no shutdown
B Router (Config-if) # exit
B Router (Config) # interface S2 / 0
B Router (Config-if) # description Connected to Router A
B Router (Config-if) # ip address 202.100.100.2 255.255.255.0
B Router (Config-if) # clock rate 64000
/ * Need to be setting clock rate because Router B using DCE cable (when the router is required between 2 cable DTE and DCE), the number 64000 is the default clock rate.
B Router (Config-if) # no shutdown
B Router (Config-if) # end
Router B # sh run
B Router # copy run start
Router B # exit
B Router> exit
So that the picture on the network connected with the above (can be tested with the ping command), after setting the router is done each computer will need to set ip address and default gatewaynya to each router is.
A computer:
Ip Address: 192.168.1.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1 (Router A)
Computer B:
Ip Address: 192.168.2.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1 (Router B)
Besides, do not forget to configure routing protocol on both the router (static or dynamic, such as RIP, RIPv2, IGRP, OSPF, EIGRP, IS-IS, etc.).
That's all. Hopefully this information helps. Suggestions and criticisms or any extra I'm happy with the receipt. Cheers. =)
No comments:
Post a Comment