Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have 2 PCs running windows, namely A and B.

A has 2 network adapters A-NIC1 and A-NIC2

B has 1 network adapter B-NIC1.

A-NIC1 is connected to the company network and it can access the internet, The IP address is something like "192.168.1.XXX".

I want to connect B-NIC1 to A-NIC2 using a straight RJ-45 lan cable and do some network configuration in windows 2008 R2 running on the PC A. I hope the PC B can access the internet via this lan cable connection to the PC A.

Is it possible to achieve my goal in this way?

If yes, how to setup the windows 2008 network? I prefer using network bridge instead of NAT?

If no, what are other method (without adding routers or other equipments)?

share|improve this question

closed as off-topic by MadHatter, mdpc, MichelZ, Ward, fuero Jun 13 at 7:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – MadHatter, mdpc, MichelZ, Ward, fuero
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can you assign PC B an IP address inside the 192.168.1.xxx LAN? If so, just bridge the two network interfaces on PC A. –  David Schwartz Apr 12 '12 at 7:34

2 Answers 2

leave A-NIC1 IP assigned by DHCP and assign B-NIC1 IP manually to something outside the router's range for DHCP, then bridge A-NIC1 and A-NIC2. if the range is 192.168.0.2-100, then PC B should be 192.168.0.101-254 assuming the subnetmask is 255.255.255.0 (network is 192.168.1.0/24).

share|improve this answer

Yes, you select both A-NIC1 and A-NIC2 right click and select bridge networks. you then just conncet A-NIC2 to your B-NIC1.

Mind though that normally you should use a cross over cable instead of a straight one. It might work if your network cards have autosensing.

share|improve this answer
    
After selecting bridge network include both A-NIC1 and A-NIC2, the "network bridge" has no internet access. It shows "unidentified network". When connect B-NIC1 to A-NIC2, there is no internet connection. –  Xianlin Apr 12 '12 at 9:03
    
Well there is a utp cable in A-NIC1 right that can connect to internet? –  Lucas Kauffman Apr 12 '12 at 10:15
    
yes, A-NIC1 is connected to the internet but when I bridge A-NIC1 and A-NIC2 together, the A-NIC1 lost internet connection. –  Xianlin Apr 12 '12 at 10:22
    
Did you configure the IP's? –  Lucas Kauffman Apr 12 '12 at 10:30
    
the PC A IP is assigned by DHCP (192.168.1.6), the PC B IP is assigned manually with a non-conflicting IP (192.168.1.10) on the network. The router is able to assign IP address from 192.168.1.2 to 192.168.1.100. –  Xianlin Apr 12 '12 at 13:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.