Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Finding number of network interface? How???
New Posts  All Forums:Forum Nav:

Finding number of network interface? How??? - Page 2

post #11 of 16
Thread Starter 
Quote:
Originally Posted by tompsonn View Post

Windows is still talking to the machine (resolving address via NetBIOS over TCP/IP or DNS) on its 192.168.1.x address. Your routes have no effect here.

I think you're talking in Klingon lol

Are you saying that I've been trying to do the wrong thing?

I think I might buy a 1" x 1' drill bit and go through a wall. Put an ethernet cable through it and buy a cheap switch!

I'm happy to try anything else you can suggest.

Just so you understand what I'm trying to do; I know I'm not making your job easy, I made a quick diagram.

Capture-35.jpg


edit 1: the router is in my son's nursery. A cable would have to go across 2 door ways and 2 rooms. The floors are marble so I can't hide them under carpet etc. I'm in a rented condo so loathe to drill holes.... having said that, is is only a plasterboard wall and how noticeable is a small hole anyway.......

edit 2: didn't spot your edit.

Will try sharing the wifi.

Thanks for all your help. Really appreciated.

For you

pouring_beer-902.jpg
Edited by makecoldplayhistory - 9/8/12 at 11:30pm
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
post #12 of 16
Quote:
Originally Posted by makecoldplayhistory View Post

I think you're talking in Klingon lol
Are you saying that I've been trying to do the wrong thing?
I think I might buy a 1" x 1' drill bit and go through a wall. Put an ethernet cable through it and buy a cheap switch!
I'm happy to try anything else you can suggest.
Just so you understand what I'm trying to do; I know I'm not making your job easy, I made a quick diagram.

Let's see if I can explain it better (my explanation did suck!).
You haven't been doing the wrong thing. It is just that there is an easier way to do this! (Without drilling through your wall).

Keep wireless for internet access on the second PC and disable it on the first PC (so you should only have the wired NIC enabled on the first PC).
On the second PC, you should have both wired NIC and wireless enabled. The wireless will be the gateway to the internet (as it stands currently).

What you need to do is connect the two PCs together via cable, as you are doing - but then enable Internet Connection Sharing on the PC with wireless enabled. What will happen here is that the first PC will get to the internet via the second PC, which will get to the internet via wireless.

For all other communication, the two PCs will talk over the wire.

See the edits in my post smile.gif

So your network will go like this:

PC 1 (wired) -> PC 2 (wired AND wireless) -> Wireless -> Router -> Internet.

And that's it! No drilling. Do not go past go. Do not collect $200 smile.gif
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #13 of 16
Thread Starter 
Will give that a go... later.

The wife went out shopping 2 hours ago and haven't begun my chores yet smile.gif



Thanks again.
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
post #14 of 16
Quote:
Originally Posted by makecoldplayhistory View Post

Will give that a go... later.
The wife went out shopping 2 hours ago and haven't begun my chores yet smile.gif
Thanks again.

No problem smile.gif
The PC doing the internet sharing basically acts like the NAT on your router, except that instead of masquerading a public IP address, it masquerades the internal IP of the PC doing the sharing.

Here's how IP masquerading works (if you're interested): http://www.billauer.co.il/ipmasq-html.html
And here's the book you requested earlier: http://www.amazon.com/Networking-Dummies-Sixth-Edition-Doug/dp/0764516779

biggrin.gif
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #15 of 16
Thread Starter 
I've read the masquerading and it kind of made sense... I've also ordered the For Dummies book.

Sharing the internet worked really well and was super-simple to set up.

I've reversed it though, having the second PC have the wifi connection. The second PC's on more so I can turn off my sig rig and save some $'s on the elec. bill instead of needing my sig rig to be on.
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
My do-it-all rig
(15 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II 965(C3) 19.5x205mhz - 4.0ghz ASUS Crosshair Formula III - Republic of Gamers GTX 470 (SLI) 4 x 4Gb Mushkin Blackline (1600MHz 7-7-7-20) 
Hard DriveOptical DriveOSMonitor
Crucial M4 64Gb, 4x 1Tb, 1x 500Gb WD Caviar Black LG LiteScribe GH24 Win 7 Ultimate.64Bit / Kubuntu 10.04 - dual boot LG E2350 23" 1920x1080 / Samsung 19.5" 1366x768 
KeyboardPowerCaseMouse
Razer Lycosa (Mirror Edition) Corsair HX850w CoolerMaster 690 Razer Mamba 2012 
Mouse PadAudioAudio
Razer Goliath XL Logitech X-530 speakers Creative SupremeFX X-Fi sound card 
  hide details  
Reply
post #16 of 16
Quote:
Originally Posted by makecoldplayhistory View Post

I've read the masquerading and it kind of made sense... I've also ordered the For Dummies book.
Sharing the internet worked really well and was super-simple to set up.
I've reversed it though, having the second PC have the wifi connection. The second PC's on more so I can turn off my sig rig and save some $'s on the elec. bill instead of needing my sig rig to be on.

Great! Yep, internet connection sharing is super easy indeed. The link I posted was doing the same thing with iptables on Linux, but concept is the same (NAT).
Have fun with the book...

Oh and also you can throw a switch in there and put as many PCs through the shared connection as you want smile.gif

And if you are further interested:
http://www.amazon.com/TCP-For-Dummies-Candace-Leiden/dp/0470450606/ref=pd_sim_b_3
http://www.amazon.com/Networking-All-One-For-Dummies/dp/0470625872/ref=pd_sim_b_1
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Finding number of network interface? How???