#configure terminal | Enter Configure mode. |
(config)#interface xe1 | Specify the interface to be configured on Host A |
(config-if)#ip address 20.20.0.3/24 | Configure the ip address on the interface |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter Configure mode |
(config)#interface xe1 | Specify the interface to be configured on Host B |
(config-if)#ip address 20.20.1.2/24 | Configure the ip address on the interface |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit interface and configure mode |
#configure terminal | Enter Configure mode. |
(config)#interface xe1 | Specify the interface connected to Host A |
(config-if)#ip address 20.20.0.1/24 | Configure the ip address on the interface |
(config-if)#interface xe2 | Specify the interface connected to Host B |
(config-if)#ip address 20.20.1.1/24 | Configure the ip address on the interface |
(config-if)#interface xe1 | Specify the interface to configure Proxy ARP |
(config-if)#ip proxy-arp | Enable Proxy ARP |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#end | Exit interface and configure mode |