its a very basic question

Its a very basic Question but i'm bit confused:
In CCNA training I have been taught that "Router" routes between the 'Subnet' i.e.
2 ports of routers are in diiferent subnets...
But in actual practice when i come across routers i have seen that we can use routers with all its ports in one subnet. Can anyone please elaborate..???
5 answers Last reply Best Answer
More about basic question
  1. Best answer
    Routers do route between different networks, whether that be between subnets of the same network, or 2 different networks (i.e. your internal network and the internet). If multiple ports on a router are assigned to the same subnet, this means that each of the devices connected to those ports are on that same subnet; more likely than not, there is at least one port on another network or subnet so that traffic from the other devices can be routed to it. If ALL ports on a router are assigned to the same subnet, then that router is acting as a switch; it will pass traffic to the correct device based on its MAC address, but no real routing is occurring since everything is on the same subnet.

    Does that answer your question?
  2. thanks, up to some extent i'm satisfied..
    but one more query regarding that...?
    actually i hv to assign static ip to ip camera & for that i hv to keep my camera n computer in same same subnet..
    now if i am connecting my camera to one port n my pc to another port of router then are they in same subnet or different...??? or i hv to connect them through switch which in turn connected to router...
    please help...
  3. To make sure I give you the best answer, are you talking about using a cable router (i.e. Linksys, D-Link) or actual Cisco equipment (an enterprise configuration)?
  4. i am using ZyXEL Prestige 660HW..
  5. Ok, using your standard cable router such as that, any device connected that uses DHCP (your computer in this case) will be on the same subnet as the router doesn't have the capability of assigning addresses on multiple subnets. What I would suggest in order to configure your camera to work is this:

    1) configure the DHCP scope on your router to begin issuing addresses starting at x.x.x.10 (the x's can each be any number 1-254, it doesn't really matter what you choose for them to be)
    2) assign the camera a static IP with the x's matching what you set for the DHCP scope, but using 1-9 for the last number

    This will ensure that your camera is on the same subnet as the other devices connected to your router, and thus it will be able to communicate with them.
Ask a new question

Read More