handling ARP and IP-Forwarding for a router