I am assuming they are both set to use dhcp as per the norm.
The most common cause of this kind of issue is either the brower itself, or antivirus software.
Try starting in safe mode with networking, that will rule out most software issues. (press f8 while pc is starting).