[2 IPs on one line] -
2 IPs on one line
Discuss 2 IPs on one line
Posted by: zigxter
how can u separate two IP addresses that exist on one cable line? so that two computers could use internet without a router
Posted by: Inaris
takes a special cable modem to do that, I think. I didn't even know that was possible... but then who knows. You need some kind of layer 1 device (hub) to accomodate multiple machine from one connection otherwise
What is it you are trying to do?
if you plug in a firewall/router and turn on DHCP, you have no need for more then 1 IP address anyway. Unless you are buying two lines. Then you would be wanting nic teaming so that you share the two lines, or are just a bit slow and want to pay 2x for the same service...
sorry, rambling... must stop.
Posted by: mikesgroovin
You need two cable modems for this type of setup, and your ISP would have to provide an IP address on each of the cable modems.
If you would like to use one cable modem without a router, then you must have 2 NICs in one PC. One of the ethernet connections on this PC would be going straight to the cable modem and the other would be, a crossover cable going to an additional PC or a straight-though cable going to a switch. Then the other PC would also have to be connected to the switch.
Once you have this connected then the machine with the two NICs would act as your gateway. You would have to run some sort of proxy server software on the PC so that it knows that it is the gateway and it can network traffic accordingly. Or you could just buy a small gateway/router/switch combo and then connect the two PCs to it. The router would propagate network traffic more efficiently and faster.
-Mike
Posted by: Harold III
not really hard to do. it's very easy if one of your computer is robust enough to be a proxy server for another one. what you need to do is, get a proxy software (Wingate, maybe), and connect these two computers with a switch/hub/whatever that can connect to cable line. you can have whatever IP address for them as long as they are in the same subnet.
Posted by: mikesgroovin
I really wish Wingate was that easy to setup. Software proxies have always been a challange to setup for a typical end-user. And a hardware gateway/router are so much easier to manage. When I was trying out Wingate, I got rid of it very quickly and went out and bought a hardware gateway/router. They are easier to manage, you lose a lot of the software conflicts that games and other programs have with proxy servers, you don't have to leave a PC on all the time acting as your gateway and the hardware solution is much faster. In my opinion, I would just buy a gateway/router for about $45.
Not to mention, software proxies such as Wingate and Winroute Firewall go for a minimum of $69. And that is only for a 3-5 user license!
With a hardware/router, you can connect over 200+ computers....
-Mike
Posted by: zigxter
man it was more complicated than i thought!
My ISP said i can have another IP address free of charge so i thought i could get a 2nd IP instead of buying a router to connect my 2nd computer to the internet, thats all i wanna do basically, i currently have 1 computer and one IP address, ill be getting a 2nd one soon and i wanted to get that online too
Posted by: mikesgroovin
Just buy a gateway/router and plug the cable modem into the WAN or Internet port. Then just connect each PC to this router. You do not need to pay for a sencond IP address.
Hopefully, this diagram can help you out.
[url]http://www.freewebs.com/computer-guides/n_router.htm[/url]
-Mike
Posted by: zigxter
[QUOTE][i]Originally posted by mikesgroovin [/i]
[B]Just buy a gateway/router and plug the cable modem into the WAN or Internet port. Then just connect each PC to this router. You do not need to pay for a sencond IP address.
Hopefully, this diagram can help you out.
[url]http://www.freewebs.com/computer-guides/n_router.htm[/url]
-Mike [/B][/QUOTE]
yah but i wanted to do it the cheapest way possible and the 2nd IP is free, but thnx anyways
Posted by: mikesgroovin
Wow.....nice ISP to just give you a second IP for free! Out of curiousity, how much are you paying a month?
I am not aware of any cable modem that can manage a second IP at the same time but...maybe your ISP knows of one. Either way, you are going to need another layer3 networking device to manage the two IP address to spit them up.
-Mike
Posted by: zigxter
[QUOTE][i]Originally posted by mikesgroovin [/i]
[B]Wow.....nice ISP to just give you a second IP for free! Out of curiousity, how much are you paying a month?
I am not aware of any cable modem that can manage a second IP at the same time but...maybe your ISP knows of one. Either way, you are going to need another layer3 networking device to manage the two IP address to spit them up.
-Mike [/B][/QUOTE]
i pay $78/month for cable+internet
would it work if i rent another cable modem?
Posted by: mikesgroovin
Yes, you would have to either get another cable modem or have your ISP recommend you to a cable modem that can handle for than 1 IP.
Honestly though, I really don't think that a SoHo cable modem can handle more than one IP.
-Mike
Posted by: icarex
If you can pull two IPs down from your provider, all you would need is a little hub (very cheap) and your PCs will do the rest. Just connect the hub to your modem. This is the setup I had on my cable modem before I got a router.
Posted by: ekĘsine
to pull off 2 IP's would they not have to be staic IP's instead of dynamic? my win2k server instructor said something about using 2 static IP from his cable company and he used it to agregate the 2 IP's into one connection to improve speed. he said it didn't improve much.
Posted by: mikesgroovin
[QUOTE][i]Originally posted by icarex [/i]
[B]If you can pull two IPs down from your provider, all you would need is a little hub (very cheap) and your PCs will do the rest. Just connect the hub to your modem. This is the setup I had on my cable modem before I got a router. [/B][/QUOTE]
What kind of cable modem was this? Where, in this physical schematic, was the IP distinction made for the two PCs?
Were they static address that you bought or dynamically-static addresses?
-Mike
Posted by: Inaris
Well the hub setup is a layer 1 device relaying only mac information so if you could patch directly to the cable network then that would work. Basically they would be a DHCP server for the machines attaching to the network, allowing 2 ips to the Cable Modem shouldn't be too difficult. That would all be done from the cable modem side though, from what I understand.
Best guess would be to connect a hub or switch (not a router or a firewall device) to the line coming from the cable modem and then both machines. Then check to see what IP's you have on your machines.
What Icarex said seems to have a ring of truth to it... a cheap hub will cost you $20. without the hub(switch) though, you can't bridge out to more computers.
Posted by: mikesgroovin
Very interesting.....never knew of a cable modem that would make that distinction....I still would like to see a brand of cable modem that could do this. I agree with most of the above except that yes, a hub is a layer 1 device...but it doesn't rely on a MAC address. A hub simply passes all data to all ports on the hub. A hub is a multi-port repeater...nothing more. It doesn't look at a MAC address. MAC addresses are handled at Layer 2...a job for a switch. A switch would look at the MAC address and handle network traffic accordingly.
-Mike
Posted by: Inaris
Thanks Mike, my bad...
Posted by: gruntwerk
Okay, with a DSL setup, they hafta plug your phone line in their connection down the road.... Your DSL modem wont work in your neighbors house unless they are hooked up to dsl.
With a Cable setup, isnt the signal broadcast everywhere and if your box is authorized, it works? -- Cant you take your cable modem to your neighbors house and use it there? If so, Cant you use a cable splitter to hookup more than one cable modem in your house??? (*of course, you'll may need more than one userid - most ISPs have put a stop to multiple logins... *)....
But since the bandwidth is shared with all devices on the CABLE - you, your neighbor, etc, are all using the same bandwidth you are still gonna be limited...
Posted by: dethangel
[QUOTE][i]Originally posted by mikesgroovin [/i]
[B]Just buy a gateway/router and plug the cable modem into the WAN or Internet port. Then just connect each PC to this router. You do not need to pay for a sencond IP address.
Hopefully, this diagram can help you out.
[url]http://www.freewebs.com/computer-guides/n_router.htm[/url]
-Mike [/B][/QUOTE]
most isps will charge you for a 2nd IP address, COX cable does for sure, they call it their "home networking package" but you do have to have a 2nd ip address, no 2 devices in the WWW can share the same ip address, as the packets that were requested by machine "a" for example would be sent to the ip address and the router that the file goes through would not know where to send it (as computer "A" and computer "B" share the same ip, but not the same MAC address) so the files would be lost
[quote][i]originally posted by mikesgroovin[/i]
[b]Very interesting.....never knew of a cable modem that would make that distinction....I still would like to see a brand of cable modem that could do this. I agree with most of the above except that yes, a hub is a layer 1 device...but it doesn't rely on a MAC address. A hub simply passes all data to all ports on the hub. A hub is a multi-port repeater...nothing more. It doesn't look at a MAC address. MAC addresses are handled at Layer 2...a job for a switch. A switch would look at the MAC address and handle network traffic accordingly.
-Mike[/b][/quote]
correct, the way that the packets arent all sent to each computer is in the header packet of the first frame is attached a unique identifier (ip address) which is attached by the server that the request was made to, if a computer that doesnt have that IP address recieves the packet, it simply rejects it
[QUOTE][i]Originally posted by gruntwerk [/i]
[B]Okay, with a DSL setup, they hafta plug your phone line in their connection down the road.... Your DSL modem wont work in your neighbors house unless they are hooked up to dsl.
With a Cable setup, isnt the signal broadcast everywhere and if your box is authorized, it works? -- Cant you take your cable modem to your neighbors house and use it there? If so, Cant you use a cable splitter to hookup more than one cable modem in your house??? (*of course, you'll may need more than one userid - most ISPs have put a stop to multiple logins... *)....
But since the bandwidth is shared with all devices on the CABLE - you, your neighbor, etc, are all using the same bandwidth you are still gonna be limited... [/B][/QUOTE]
no, you cant have a spiltter and run moer than one cable modem on the same account without paying for it and heres why:
the way that the box is authorized is they put your MAC address from your cable modem into their computer (you have to call them and read it to them, this is how i know) then they send you 1 IP address, you dont have to have a login, because cable is always on, there is no "signal" for cable internet as such, you send your request packets to the ISP and they either accept them (if the MAC address in the header is in their system) or deny (if its not)
what i did was call my ISP (cox) and have them send a 2nd IP address to the MAC address of the cable modem (its a motorola surfboard) and i hooked up my switch to the uplink port, plugged in my 2 computers and boom! i was off!
Posted by: Inaris
dethangel
What mike was saying from your first quote is with a router or gateway, you baiscally have a proxy setup that does the IP traffic for you on 1 IP from the ISP.
It's a way to get around the 1 machine connection (IP) to the ISP. Once you are behind a DHCP device, you can run as many IPs as you want and still connect to the internet via the single IP from the ISP. That is why many companies run several proxies and have hundreds of machines that are connecting the web though them. Not only does it allow for security protection, but also keeps costs down, due to only needing a few real IPs instead of hundreds.
Posted by: dethangel
i see what he is saying now, i didnt go to the link, as most sites are blocked here, but i followed it and it makes more sense if youre using the router as a DHCP, i guess im just thinking "home networking" not "work networking" and at home i use a switch, which is too "dumb" to act as a DHCP, so all my devices have to have their own IP, how much would a router like that cost? i might invest in one when i get my other computer up and running (as ill have at least 3 devices on my NWK at all times, if im not working on someon else's PC, which i almost constantly am, i have 3 other peoples PCs in my house right now awaiting parts and repairs, lol)
Posted by: Inaris
**** man, your talking like $40. that is all. The cost to run multiple IP's from an ISP should have made you look to that a while back...
There is a post by larry on this topic too. At home, I run 11 computers total and have a wireless AP, switch and firewall all running. The Firewall (linux PC)is the first device after the modem, then the switch, then the wireless AP. I have 3 other switches to allow more machines on the network. All of this is on 1 Cable provided IP running at 512KB.
All you have to make sure of is to never hook up a DHCP server directly to your cable modem. This will make them very unhappy and could cost you money...