Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I basically want my Windows 7 Laptop to function as a switch. (like a router when DHCP is off).

Instead of getting 192.x.x.x addresses, I want public IP address assigned to everyone who connects to my Windows 7 created network, which is this case is 137.x.x.x

So, how do I do that?

I've done this with my router. Lets say for example your router has an IP of 12.34.56.0 then with DHCP disabled, all computers that connect to the router get IPs in the range of 12.34.56.(1-255)..

Disabling DHCP on a router acts a splitter of sorts for the port that the router is plugged in to. When a computer requests an IP address, the request goes past the router to the next level up (for most cases, that is the ISP (In my case, it's a school)).

I want DHCP disabled because my school tracks bandwidth via an IP / MAC address combination, so with DHCP disabled, when people connect to my computer (whenever this question gets answered) they will be using their bandwidth, and not mine (because they will have their own IP assigned by the school (ISP for non-school situations) )

share|improve this question
    
are you going too manually input the public address in every computer that joins your network? –  rzlines Sep 4 '10 at 19:55
    
can you confirm your network layout, how do you exactly connect to the internet –  rzlines Sep 4 '10 at 20:29
1  
How do I connect to the internet? I'm not sure on the details, my school handles the connection to the real world. –  NullVoxPopuli Sep 4 '10 at 21:19
add comment

3 Answers

up vote 1 down vote accepted

Sounds like you want your computer to act as a bridge. Instead of using Windows' Internet Connection Sharing, which it sounds like you're using, you can use Windows' Network Bridge instead.

Go to your Network Connections window, select both connections you want (aka wired and wireless) using the control + click to select more than one, and right click and choose Bridge Connections. You may need to turn off ICS first.

Here's more information.

share|improve this answer
add comment

I don't think its possible to assign 1 static ip to many computers on your network and expect them to connect to the internet. That's why you have NAT, to translate it to private ip's.

If you have to connect multiple computers to your network to access they internet, they have to be assigned private ip addresses (the 192.x.x.x kind) either manually or by using DHCP,but it seems that you want to turn off DHCP.

Why don't you want to use DHCP, what do you want to achieve here? Is you objective here just to share your internet connection? What is your current networking layout i.e. how do you connect to the internet? (directly to a modem or via switch > router > modem or via router > modem)

Please do correct me if I have failed to grasp your question.

share|improve this answer
    
false. I've done this with my router. Lets say for example your router has an IP of 12.34.56.0 then with DHCP disabled, all computers that connect to the router get IPs in the range of 12.34.56.(1-255).. –  NullVoxPopuli Sep 4 '10 at 20:12
1  
I've updated my question to add details. thank you for helping me clarify. –  NullVoxPopuli Sep 4 '10 at 20:15
    
but the 12.34.56.x doesn't seem like its a public ip address, it is still a private ip address –  rzlines Sep 4 '10 at 20:23
    
when you disable DHCP you mean you input those addresses manually or do they still get those ip address automatically? –  rzlines Sep 4 '10 at 20:28
1  
This would only work if you had a block of IP addresses assigned to you. You can't simply decide that you get more than one IP. I think what you want is your win7 to have aliases for all of those IPs and direct the proper traffic to the proper node. –  bobby Sep 4 '10 at 20:36
show 1 more comment

A router never acts like a switch. They are two different devices, working on two different layers of the OSI model.

My guess, you mean one of those cable/dsl home routers. Those are actually a router and a switch combined.

  • The router portion of the device takes packets from one network (usually 192.168.XX.XX) and routes them to the other network (usually the public internet)

-The switch portion takes one network interface from the router, and allows you to plug multiple devices into the same network interface.

The router ends up giving the IPs to the devices on the switch using DHCP. In the event DHCP is turned off, then a system administrator is required to put an IP address into each machine within the range that the router is assigned to handle (it is still the same IP range as if DHCP were turned on)

From my understanding, it looks like you are trying to do one of two scenarios, depending on your school's connection:

1.) School provides wireless only: You are receiving the wireless signal, and pushing it out to each of your devices that do not have wireless capability -- Maybe you can look for a device, such as a wireless router, that you can configure to be a repeater, with a wired switch hanging off of it? [Bridging] -- Configure your laptop to do network bridging (http://forums.cnet.com/5208-19411_102-0.html?threadID=326988)

2.) School provides a wired connection, but there is only one port in the room, and you have more than one device -- Buy a switch. They're 20$

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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