Here is a basic config for network routers with the network of 10.10.10.0/24 on f0/0 connecting to the network of 192.168.1.0/24 on fo/1
>en
#config t
(config)# int f0/0
(config-if)#ip address 10.10.10.1 255.255.255.0
(config-if)#no shutdown
(config-if)#exit
(config)#int f0/1
(config-if)#ip address 192.168.1.1 255.255.255.0
(config-if)#no shutdown
(config-if)#exit
(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2(ip address of the connected router int)
(config)#exit
#wr mem
#copy running-config startup-config
Now the network of 10.10.10.0 can ping the interface of the router of 192.268.1.0 network. For them to be able to ping both just inverse the config for the other router.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment