• July 14, 2025, 11:17:35 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Topology question: cable modem + DIR-655 + DGS-2205 network switch  (Read 10198 times)

kumi_

  • Level 1 Member
  • *
  • Posts: 6

Hi folks,

I'm struggling to understand some basic networking concepts, I hope someone can help me out.

I have Time Warner Cable (TWC) Internet service. The TWC modem is connected to the DIR-655 uplink port. Computer A and Computer C are connected to the DIR-655 via GbE cable.

SCENARIO 1
DIR-655 <--GbE--> Computer A
            <--GbE--> Computer C

In this situation, Computer A and Computer C share the same public IP.

I'm adding a computer in the same room as Computer A. For various reasons, I can't connect it directly to the DIR-655. I'm considering buying a network switch (i.e. a DGS-2205), and setting things up like this:

SCENARIO 2
DIR-655 <--GbE--> Computer C
            <--GbE--> DGS-2205 <--GbE--> Computer A
                                         <--GbE--> Computer B

Will Computers A, B, and C all have different public IP addresses? If not, how will the two switched computers be be able to access the internet?

When I bypass the DIR-655 and connect a computer directly to my cable modem, I can setup bridged networking, and the second computer will acquire a unique public IP address. Like this:

CableModem <--GbE--> (nic1) Computer A (nic2) <--GbE--> Computer B
                                         123.45.67.01                       123.45.67.99

Multiple public IPs is pretty handy. I'm just wondering if this will still be the case in SCENARIO 2.

Thanks to anyone who can clarify :)
« Last Edit: February 09, 2009, 03:56:58 PM by kumi_ »
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #1 on: February 09, 2009, 04:16:59 PM »

The router acts as a medium between the public ip address and the local network.
Scenario 2 is the correct set up.

Logged

kumi_

  • Level 1 Member
  • *
  • Posts: 6
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #2 on: February 09, 2009, 06:37:27 PM »

I see, so everything downstream of the Router will share the same public IP address, even if it's behind a switch.

Is there any way to configure the DIR-655 to allow connected devices to pass-through DHCP requests to my cable modem, so they can all have different public IP addresses?
Logged

davevt31

  • Level 9 Member
  • ****
  • Posts: 1601
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #3 on: February 09, 2009, 08:47:20 PM »

Time Warner is only going to give you one address.
Logged

kumi_

  • Level 1 Member
  • *
  • Posts: 6
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #4 on: February 09, 2009, 09:05:14 PM »

I don't think so...

I have connected 2 virtual WinXP instances to the Internet (using bridged networking in vmWare.) The physical machine + the 2 virtual machines all get distinct public IPs, and they can simultaneously connect the internet.
Logged

davevt31

  • Level 9 Member
  • ****
  • Posts: 1601
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #5 on: February 09, 2009, 09:17:49 PM »

The Virtual machines are not getting their addresses from Time Warner, they are actually using the built-in DHCP services that is part of vmware.  This passes through the Host nic to connect out.

http://www.vmware.com/support/ws4/doc/network_bridged_ws.html
« Last Edit: February 09, 2009, 09:19:57 PM by davevt31 »
Logged

kumi_

  • Level 1 Member
  • *
  • Posts: 6
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #6 on: February 09, 2009, 10:12:12 PM »

Here's my ethernet adapter in the host machine:

        IP Address. . . . . . . . . . . . : 76.189.249.xxx
        Subnet Mask . . . . . . . . . . . : 255.255.224.0
        Default Gateway . . . . . . . . . : 76.189.192.1
        DHCP Server . . . . . . . . . . . : 76.58.128.1

I start my guest virtual machine, and it's ethernet adapter reads:

        IP Address. . . . . . . . . . . . : 76.189.219.yyy
        Subnet Mask . . . . . . . . . . . : 255.255.240.0
        Default Gateway . . . . . . . . . : 76.189.240.1
        DHCP Server . . . . . . . . . . . : 76.58.128.1


That's my ISP's DHCP server, and those two public IP addresses are assigned by my ISP. Only "Host-only" and "NAT" VMware adapters use built-in DHCP. I'm using "bridged".

I'd like to replicate this behavior in my physical network, somehow.
« Last Edit: February 09, 2009, 10:26:14 PM by kumi_ »
Logged

kumi_

  • Level 1 Member
  • *
  • Posts: 6
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #7 on: February 09, 2009, 10:52:11 PM »

Now I'm imagining something with 2 switches:

Code: [Select]
Cable Modem
  + DGS-2205
    + DIR-655
      + Computer X
      + Computer Y
    + DGS-2205
      + Computer A
      + Computer B

DIR-655, Computer X, and Computer Y will share the same public IP. Computer A and Computer B will have unique public IP addresses. Is that right?
Logged

davevt31

  • Level 9 Member
  • ****
  • Posts: 1601
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #8 on: February 09, 2009, 11:12:03 PM »

The Virtual machine should not be getting a real IP address from TW.  The vmware setup is just making it look like you are, that is the way that bridged networking works.

If they were both getting real IPs from TW the gateway should be the same.
« Last Edit: February 09, 2009, 11:13:57 PM by davevt31 »
Logged

davevt31

  • Level 9 Member
  • ****
  • Posts: 1601
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #9 on: February 09, 2009, 11:21:03 PM »

I might be confusing the vmware "Bridged" term, I haven't used vmware in about 5 years.  If you are paying Time Warner for more than 1 public IP address then the switch scenario should work, however I havn't seen them do that in a home environment usually it is just a typical cable modem with one IP assigned to it.
Logged

kumi_

  • Level 1 Member
  • *
  • Posts: 6
Re: Topology question: cable modem + DIR-655 + DGS-2205 network switch
« Reply #10 on: February 09, 2009, 11:31:46 PM »

1) The virtual public IP address is different from the physical public IP address.
2) It shows as unique when going to i.e. whatismyip.com
3) It's fully functional and non-shared. If I run 2 webservers on port 80 in the virtual and physical machines, browsing to each public IP from the internet will show different webservers.

I assure you it's a real IP.

EDIT: My cable service has always been like this, I'm not paying for any extra service beyond the standard residential plan. Maybe it's a left-over from my previous service provider Adelphia, which TWC took over recently.
« Last Edit: February 09, 2009, 11:35:33 PM by kumi_ »
Logged