View previous topic :: View next topic |
Author |
Message |
neoquest2000 n00b
Joined: 11 Feb 2005 Posts: 21 Location: Atlanta
|
Posted: Sun Feb 13, 2005 10:56 am Post subject: Using windows ICS [ SOLVED ] |
|
|
I am trying to build a Gentoo box and would like to ssh in to it so I can copy and paste the commands from my windows box using putty to my gentoo box. I tried to use windows ICS and bridge the two NICs on my windows box but it did not work. I have searched the forums and what I did should have worked. I have tried the following and here is my setup
dsl modem > router ( running dhcp to lan ) > windows box ( wireless nic {gateway} & pci NIC card ) > gentoo box ( NIC card )
1st Try: I enabled ICS on my W box pci nic card which gave the message informing it would set the card to an ip address 192.168.0.1/24 gateway of 192.168.0.2. I gave the G box an ip address of 192.168.0.4/24 with a gateway of 192.168.0.1. I had my wireless card set to 192.168.0.3 with a gateway of 192.168.0.2. I wasnt able to ping the G box or get out to the internet. I could ping my router of 192.168.0.2 but not my dsl modem. I also got a message on the pci nic card informing I had limited or no connectivity. I could see the ip address on my G box eth0 but it didnt say up like on the loopback. I do have a crossover cable between both NICs
2nd Try: I enabled ICS on W box and dhcp on all NIC cards on the box. I also enabled dhcp on the G box. Received same results
3rd Try: Bridged the wireless and NIC card on my W box but i till had ICS enabled on my NIC which I believe is a no no. Tried both static and dhcp on my G box. Received same results
I know it is not the best or most secure but I really don't want to buy a wireless nic for my G box. My wireless router is in my living room for my xbox
My question is should I bridge the two nics on my W box and put either static or dynamic ip addess? Should the G box have static or dynamic ip address? And my wireless nic card is not showing an option for ICS just the ethernet NIC card on the W box. So should the 192.168.0.1 be in the wireless NIC or the ethernet NIC card?
Last edited by neoquest2000 on Wed Feb 16, 2005 10:39 am; edited 1 time in total |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Sun Feb 13, 2005 11:10 am Post subject: |
|
|
First you need to turn off ICS on your windows box, you don't need it.
Next you need to set all of your NICs to dhcp on your gentoo box and your windows box.
finally bridge the two NICs on your windows box.
The thing to remember about all of this is that when you bridge two connections your are effectively creating a new connection (the bridge) any settings you need to make are done on the bridge connection (ip address, gateway etc.) not either of the two nics that make up the bridge.
On your windows box run
Code: | ipconfig /release
ipconfig /renew
ipconfig /all |
You should see the bridge pick up an IP from the dhcp server, make sure it has picked up settings like dns. Check that you can access the net from the windows PC.
Next stop and start eth0 on your gentoo box, that should also pick up an IP address in the same range as the gentoo box. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Sun Feb 13, 2005 11:48 am Post subject: |
|
|
nobspangle wrote: | First you need to turn off ICS on your windows box, you don't need it.
Next you need to set all of your NICs to dhcp on your gentoo box and your windows box.
finally bridge the two NICs on your windows box. |
What if he is a Windows 2000 user who does not have the NIC bridging feature at all?
<OT>Colinux does not work for me because of Win2k's lack of bridging, I suspect... when I use ICS to "bridge" the colinux network virtual adapter and my real connection, my real network connection goes dead (I'm on a uni network, permanently connected) </OT> |
|
Back to top |
|
|
neoquest2000 n00b
Joined: 11 Feb 2005 Posts: 21 Location: Atlanta
|
Posted: Sun Feb 13, 2005 11:54 am Post subject: |
|
|
Oh the windows box has XP Pro on it which does have the bridge feature but I put static when I bridge them. |
|
Back to top |
|
|
neoquest2000 n00b
Joined: 11 Feb 2005 Posts: 21 Location: Atlanta
|
Posted: Sun Feb 13, 2005 10:29 pm Post subject: |
|
|
I got the bridge working but the gentoo box won't receive an ip address. Any suggestions? |
|
Back to top |
|
|
neoquest2000 n00b
Joined: 11 Feb 2005 Posts: 21 Location: Atlanta
|
Posted: Tue Feb 15, 2005 3:56 pm Post subject: |
|
|
How can I verify gentoo is seeing my nic card. It is a dlink DFE 530TX+ nic card. I can put an ip address on there and it transmits packets but does not receive. Could this be a driver issue?
I saw on the Dlink techsupport site the card has drivers for linux but how would I get them on there? |
|
Back to top |
|
|
neoquest2000 n00b
Joined: 11 Feb 2005 Posts: 21 Location: Atlanta
|
Posted: Wed Feb 16, 2005 10:39 am Post subject: |
|
|
Reseated card and everything seems to be working fine |
|
Back to top |
|
|
|