I know this isnt a programming question but who better to ask than people that write software for networks?!
I don't like being behind a router so I have my DSL modem hooked to my on-board eth0 and my router (WAN hookup) hooked to a PCI eth1, I ran the windows network wizard and all looks good on my PC (router obtained an IP), but when I connect to the router on my lappy and log into the router it infact hasnt obtained an IP thus it cant give my lappy the internet...
I want to do something like the above image, but instead of a switch, a router. Why a router? Because its also a wireless access point and my lappy and second computer will be connecting to it via wireless.
Did you run the Network setup wizard on Both PC's?
As far as I know it wont just work, in the old days you needed extra software for that, now with XP you need to at least run the Set Up wizard and create the proper connections ... basically you are sharing your PC with other computers ..
I want to do something like the above image, but instead of a switch, a router.
In this case, Computer1 is the router. That's where you'd put your router. You wouldn't need a switch because your router has a switch built in. (One socket of the switch goes to the wireless access point in the router, the others are the LAN jacks.)
If you want to use your computer as the router, connect a LAN jack of the router to your computer, turn the DHCP server in the router off (turning your router into a switch) and do network address translation in your computer (it's called ICS in Windows, but it sounds as if you're running *nix, so you'd have to find out how to do that in *nix.) That'll allow your wireless connection to work and to obtain an address (from the DHCP server in the computer).
I don't like being behind a router
You have to be if you want to share one IP address among more than one computer. It's the router that does the sharing, whether the function is done by a box that says "Router" on the front or by a computer. But the easiest solution to your problem is to learn how routers work and forward the ports you need to the computers that need them. I sit behind a router, yet I can access anything I like - and have a hardware firewall as a bonus. (At very worst, put the computer in the router's DMZ.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read. Please Help Us To Save Ana
I know Computer #1 would be the router (it's running Windows XP Pro by the way), but as far as my router is concerned it should't matter that its getting a private IP from my computer rather than a public IP from my modem. I tried hooking the LAN ports up rather than WAN, no luck... lappy still connects to router via wireless, just no internet.
What segments are where? IOW, what are the first 3 octets (192.168.0, 192.168.1, etc) of the laptop, the router (look at the address it thinks it's getting from the WAN), your computer and anything else connected to your modem.
You may be doing multiple NATs, which most SOHO routers, modems and ICS can't do. They'll make addresses, but they lose packets.
I still don't see why you won't do it the easiest way - modem to router to computers. Unless the modem is doing NAT, that works off the shelf.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read. Please Help Us To Save Ana
I believe the DSL300G is a router also, so you'd want to connect a LAN jack of the router to the modem, connect all computers to either LAN jacks or by wireless, and turn the DHCP server in the router off. Using two NAT devices in series won't work. (Which is why using your modem and ICS in a computer won't work either.) Your internal address range for all computers in your LAN should be in the 192 range, not the 172 range. If you're getting any 172 range addresses (like on a wireless connection), the router is still doing NAT and it won't work.
The other way is to set the modem to bridging mode (you'll have to call tech support, because they have to give you a bridged connection) and use the router for all NAT work.
The way you're running it now you have a router in your modem, another one in your wireless router and, if you use ICS, a third one in your computer. Since none of them is set up to bridge segments, it's not working.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read. Please Help Us To Save Ana
you need a cross over cable between the nic card and the wifi router (WAN Port)
Tried this, wifi router still failed to obtain an IP. Oddly enough my computer still says "wan-2wire connected @ 10mbps", weather im using cross over or just patch! So I did a test to see if it was maybe my computer failing to assign an IP and hooked my lappy up to the NIC card im trying to hook the wifi router to and it obtained an IP and the internet works.
So I need to use cross-over when hooking NIC to WAN and a patch when hooking NIC to LAN?
I would just use the wifi router as a switch by hooking my NIC to a LAN port on the wifi router but then I couldnt manage who is using my wireless. lol
I would like to be able to see who is using my wireless.
So I need to use cross-over when hooking NIC to WAN and a patch when hooking NIC to LAN?
This is correct, LAN ports are smart enough to auto sense cross/patch cables. However WAN/Uplink ports are crossed and are not autosensed (most of the time).
With this setup you should still be able to use the wifi router as a router (and control who connects to it).
(The internet consists of many ATM Routers Daisy Chained (Router upon router, using uplink ports))
I used Ethereal and monitered eth1 then hooked it up to my routers WAN and found out my router uses BOOTP, so I tried to configure it a static IP in my routers settings but it says invalid ip when I put in 192.168.0.2.