LinuxWorld

Static vs. DHCP IP: Which is faster?

Did you really mean to say, in an earlier column, that using a static IP address will make file transfers go faster than using DHCP IP addresses?

No, using static addresses is not magically faster than using DHCP addresses. The goal in that article was to get two PCs on the same physical network segment onto the same IP subnet, so that the router hop could be eliminated from the file-transfer network path. The same result could be accomplished by putting those two PCs onto the same IP subnet using DHCP rather than static ones. When the physical segments line up with the IP subnets, packets bound for destinations on the same subnet/segment are delivered directly in Ethernet frames. When IP packets are delivered through a router, the router delivers the packets to the destination machine in Ethernet frames.

In IPv6 networks the IP address can be automatically derived from the Ethernet media access control address without DHCP or static address management. In IPv4 the Ethernet addresses are longer than the IP addresses, so systems use Address Resolution Protocol to map from one to the other.

When it's time to deliver the data to a wired Ethernet device, the data travels the last segment to the receiving machine in an Ethernet frame. In my previous article, the point of changing the addresses was to limit the trip to one hop from sending machine to receiving machine, so the data could be sent directly by Ethernet without the intervention of an IP router.

React: Give us your thoughts on the issues here.
Use this form to start a public discussion with other Linux World users on this article.
Log In | Register for an account (Why you should)

Note: Register to have your user name appear; otherwise your comment will show up as "Anonymous."

*Anonymous comments will only appear once they are approved by the moderator.

Newsletter sign-up

Sign up for one of Network World's newsletters compliments of Linux World

Linux & Open Source News Alert
Web Applications Alert
Video & Podcast Alert
Security: Threat  Alert
Virtualization Alert

Email Address: