GNS3 Commands
GNS3 Commands
Configuring interfaces on R0
R0(config)#interface s0/0
R0(config-if)#ip address 12.12.12.1 255.255.255.0
R0(config-if)#no shutdown
R0(config-if)#interface lo0
R0(config-if)#ip address 10.0.0.1 255.0.0.0
R0(config-if)#exit
Configuring interfaces on R1
R0(config)#interface s0/0
R0(config-if)#ip address 12.12.12.2 255.255.255.0
R0(config-if)#no shutdown
R0(config-if)#interface lo0
R0(config-if)#ip address 172.16.0.1 255.255.0.0
R0(config-if)#exit
Now if we check the routing table of R0 & R1 by the command show ip route on both
R0 and R1
On R0:
R0# show ip route
Option 1: DHCP
R1#
*Mar 1 00:03:14.831: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned
DHCP address 192.168.1.29, mask 255.255.255.0, hostname R1
Option_2:_Manual_configuration
Ensure that the router is configured to use the correct DNS server:
R1(config)# ip domain-lookup
R1(config)# ip name-server 8.8.8.8
R1(config)# end
R1#
Ping google.com: