hostname GW1 no service config no ip domain-lookup service timestamps log datetime msec clock timezone UTC 0 0 line con 0 logging synchronous exec-timeout 0 0 exit interface GigabitEthernet0/0 ip address 10.20.10.1 255.255.255.0 no shutdown exit interface GigabitEthernet0/1 ip address 10.20.20.1 255.255.255.0 no shutdown exit interface GigabitEthernet0/2 ip address 192.0.2.2 255.255.255.248 no shutdown exit router ospf 1 router-id 10.20.0.1 passive-interface default no passive-interface GigabitEthernet0/2 network 10.20.0.0 0.0.255.255 area 0 network 192.0.2.0 0.0.0.7 area 0 exit end