(LAN) networking question
2013-12-16, 06:51 PM,
(This post was last modified: 2013-12-16, 06:58 PM by Fierce.)
#1
what will be the IP of these?





modem=???? -----> router=???? ------> switch=192.168.1.1 ------> pc1=192.168.1.2

[Image: banner300x250.png]
Reply
2013-12-16, 11:10 PM,
#2
ha.
what kind of switch do you have? That simple one for 10$ (5-8ports) or something more special?
But i am guessing, if you just have an simple switch than it should be like this.
modem=192.168.0.1
router=192.168.1.1

else, connect pc direct to router and you will see his IP.

---------------------------------------------------------------------
hosting from $2,95/m
new2014 – 20% off recurring or new70 – 70% off first month
---------------------------------------------------------------------
NEW Proxy provider for Seo tools - Cupon "gsa" for 50% off 3mo


Reply
2013-12-17, 04:50 PM,
#3
(2013-12-16, 11:10 PM)vuli Wrote: ha.
what kind of switch do you have? That simple one for 10$ (5-8ports) or something more special?
But i am guessing, if you just have an simple switch than it should be like this.
modem=192.168.0.1
router=192.168.1.1

else, connect pc direct to router and you will see his IP.

so..

modem=192.168.0.1
router=192.168.1.1
switch=192.168.1.2 (am i correct?)
pc1=192.168.1.3
pc2=192.168.1.4

[Image: banner300x250.png]
Reply
2013-12-17, 10:02 PM,
#4
could be...
This kinda switches do not have IP and you cannot connect to it like to router.
http://www.misco.co.uk/Product/164627/TP...top-Switch

Could be also, if the router is 192.168.1.1 than PC on routers lan have internal Ip 192.168.1.100 and forward(by default)

---------------------------------------------------------------------
hosting from $2,95/m
new2014 – 20% off recurring or new70 – 70% off first month
---------------------------------------------------------------------
NEW Proxy provider for Seo tools - Cupon "gsa" for 50% off 3mo


Reply
2013-12-17, 10:20 PM,
#5
Switches does not have IP's it only handles mac addresses.
Just type ipconfig /all and the default gateway is your router, you can also just type tracert http://www.google.com and check what the packets go through.
Reply
2013-12-18, 04:38 PM,
(This post was last modified: 2013-12-18, 05:06 PM by sureshraina2001.)
#6
(2013-12-16, 06:51 PM)Fierce Wrote: what will be the IP of these?





modem=???? -----> router=???? ------> switch=192.168.1.1 ------> pc1=192.168.1.2

Router's that port will have a address 192.168.1.1 not switch .
Sorry mate , switch don't have a ip address Unless and until it is a LAYER 2 device according to OSI model . We got Layer3 switches as well now which do both switching and routing.

This is only for knowledge purpose nothing to do anything with your question.
Switch is nothing but a device which take forwarding decision on the basis of MAC table ( CAM ) which is maintain by the switch itself . Switch only check layer 2 information which is Mac addresses . So when a frame comes to the port of switch , switch will take forwarding decision according to mac table and if no entry is present in mac table then it will forward the frame to all the ports of the switch except the port on which the frame is arrived.
How mac table is updated ?
Initially when switch is attached in a network it's mac table is empty .
Using Static or dynamic methods one can populate the switches .
Static means a administrator will populating the table manually. Dynamic means switch will automatically learn who is connected to it's port using ARP protocol : Address Resolution Protocol.

Router Like I said earlier , router is a 3 layer device which take forwarding decision on the basis of Routing Table ( TCAM ) . But router doesn't send the packets on every port if there is no entry in Routing table for that packet . It will first learn the path for that packet . If Router could find a path then it will forward it to appropriate port number else it will reject the Packet.

Router routes BETWEEN the subnet and Switch switches WITHIN the subnet
Explanation : Each port of router should be in different subnet . And each port of switch is member of same subnet :)

What is difference between frame and packet ?
A frame look like :
| DATA |SMAC | DMAC |

A packet look like :
| DATA | SIP | DIP | SMAC | DMAC |
SIP : source ip
DIP destination ip
SMAC : source mac address
DMAC : destination mac address

Frame and packets are same thing just that when data is moving in the OSI layers , Data is encapsulated with SIP , DIP , SMAC , DMAC and port number.
If the Data is moving out or in layer 2 then it is a frame And if the data is moving out or in layer3 then it is a packet.

What is OSI ?
It is a open system interconnection model . It is a structure.
Layer 7 : Application
Layer 6 : Presentation
Layer 5 : Session
Layer 4 : Transport (Segments)
Layer 3 : Network (Packets)
Layer 2 : Data Link (Frame)
Layer 1 : Physical layer (Bits)

Any doubts post in here , I will try my best to clear it out .

There is no difference between router / modem according to their functions. But some shows there is very few differences between these to entity!

(2013-12-17, 04:50 PM)Fierce Wrote:
(2013-12-16, 11:10 PM)vuli Wrote: ha.
what kind of switch do you have? That simple one for 10$ (5-8ports) or something more special?
But i am guessing, if you just have an simple switch than it should be like this.
modem=192.168.0.1
router=192.168.1.1

else, connect pc direct to router and you will see his IP.

so..

modem=192.168.1.1 ( I am considering you are using one of these two either router or modem )
router=192.168.1.1 ( not necessary that modem and router will have different ip addresses)
switch= wrong
pc1=192.168.1.2
pc2=192.168.1.3
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Expired Domain Question martek 1 59 Yesterday, 11:54 PM
Last Post: krmr
  Question about Adworkmedia COBNET 1 109 Yesterday, 09:46 PM
Last Post: ougasoft
  Question about CPA & CPI 5light 4 199 2017-10-18, 05:51 PM
Last Post: 5light
  landing page/prelander question Hypebeast 3 172 2017-10-12, 11:17 AM
Last Post: NAPK1NS
  Google Adwords & Tracking software question ArtoAllan 6 125 2017-10-11, 03:00 AM
Last Post: ArtoAllan




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top