Gigabit switch in 10/100 router network - networking

I have a 10/100 router. I bought gigabit switch. One port is connected to routers, others to my home hosts. Speed between hosts is 12mbps.
So, is it possible to have gigabit connection between hosts, connected to gigabit switch, if switch also connected to 100mb router?
Thank's for your answers!

Yes you should be able to do theoretically 1Gbps between any devices as long as they're plugged directly into the gigabit switch and they have Gig NICs (Network Cards).
With networking you're restricted to the weakest link in the path. As long as the router isn't in the path between the host on the network the speed of It's interface won't affect anything else.
Also if you're not seeing what you think you should be seeing you may want to look at the properties on the computer's NIC to see what speed it's autonegotiation is coming up at. A damaged rj-45 cable(ethernet cable) can work fine and 100mbps but not function for a gig connection.
All of this is of course before network overhead and other things along that line.

Related

Need to reveal IP addresses of devices connected to a switch via EdgeMax Router 4

I am wondering what is the best way to reveal all IP addresses to devices that are plugged into a switch, that is then plugged into an EdgeMax Router 4 by Ubiquiti. I attempted to use the nmap command on linux to reveal all devices behind 192.168.1.1/24, which is the address that the switch is plugged into, but only some devices came back. I was searching for the IP address of an OpenBMC device connected via the switch, but I couldn't find it.
The switch is a basic TP-Link gigabit 8 port switch (SG-1008D) and to my knowledge and research, it doesn't appear to have a web console or interface to reveal IPs there. And when I log into my EdgeMax Router 4, I only see devices at the router level.
I am not the most versed in networking knowledge, but I did a few things first to research. If anyone has any further suggestions on what else I could try, please let me know.
Only layer 3 switches have the ability to display the IP address of the devices directly connected to them. Your SG-1008D is just an unmanaged switch and it will not be able to display the MAC or the IP address of the devices connected to it. You will be able to identify the MAC and IP address of the devices connected to the switch by running network tools such as Angry IP Scanner or by looking into the connected devices list of the router. But that will not show you the ports where the devices are connected to in the switch.

Local network blocks outgoing packets from devices occasionaly

My internet stops sending outgoing packets a lot of times during the day, and it lasts 8 to 13 seconds.
Example: in Discord I keep listening others, but they can't hear me. Other softwares have the same behavior.
In my house there are 4 routers, and 1 ISP Modem, all in the same subnet.
All routers have DHCP turned off, and the Modem is responsible por the DHCP.
Modem is 192.168.0.1, and the 4 routers from .2 to .5.
I would like to know if this could be a DHCP configuration problem, or a ISP problem! Any ideas?
I tried connecting my PC to all routers, and even the Modem, and the problem happened in all tries.
You have done your troubleshooting well. By observing the problem without any routers in the mix, you've shown that your trouble is in the modem or, more likely, the ISP network behind it.
One more thing to rule out: completely disconnect your routers from your modem, switch them off, and repeat your test directly connected, with Ethernet not WiFi, to the modem.
If you still have the problem you have proven the problem is with your machine, the modem, or the ISP network.
If the problem goes away in that situation it's possible that some other machine somewhere on your network is occasionally blasting data at the modem.
Four routers sounds like an overly complex setup. The typical modem connects to only one router. Routers actually route packets from an upstream network (your ISP) to a downstream network (your building's LAN). If there's confusion about which router is supposed to do that, frankly it's amazing that anything works. If three of your four are configured as WiFi access points that's OK.
The typical modem doesn't offer DHCP service to its downstream LAN network, because it doesn't know about a network behind it, only one device, your router.
Some ISPs provide combination modem / router boxes. Maybe that's what you have. You may want to review your network configuration.
Try tracert command in the command line to see if your packets are travelling through all these routers. Maybe it will solve the problem or at least displays if the problem is caused in the routing. Or try to see if the problem is caused in a wrong default gateway to the device.

Create connection based on usb cable between 2 computers

I have 2 linux computers. For security, I want to setup a link between them, then program a library for sending/receiving data over this connection. I know that we can use USB networking cable for connection. But I am not sure is it possible to send and receive data on this link, does it depend on cable manufacturer? And Can I program library without using cable driver?
You can't use a USB cable to connect two computers with standard USB interfaces. Standard USB interfaces on computers are host interfaces and you can only connect a host to a device, not another host.
The "cable" described in the article it's not just a cable, the correct name would be USB host-host bridge controller and it powered by a chip designed and manufactured by Prolific - PL 2501. It's described also in the article.
As David Schwarz said with dumb cable (only the wires) you cannot setup a link between two PCs, because USB it's master/slave bus, where a device it's the slave and other the host. The PC it's designed to always be the host (the master).
The response it is that you cannot setup a link or do networking between two PCs using a dumb USB cable. You can do this only using a bridge like the one described in the article.

Ethernet and OSI Model

I have a dumb question, first of all sorry for that. i am learning now 7 OSI Layer models and i stumble across one thing. The Ethernet which is in the second Data Link Layer provides the end-to-end connection via LANs, right? Does it mean that even if i connect to Internet thru WiFi, somewhere my connection is running thru LANs?
Thanks
I am going to break my answer into points:
1.Lan is not necessary to connect to internet. You can have cable internet or internet through DSL connection etc. in which though the wire that comes and connect to your pc is the same cat5(for example) cable, there is no lan involved.
2.Internet through wireless router an be accessed in two ways:
(a)The ethernet cable from (say) a cable modem connects to your wireless router WAN port and then wireless router sends out radio waves which your laptop catches.
(b)There are many wireless routers and one cable internet connection. So the WAN port of one of the routers will connect to the cable modem(same as (a)) and from that router's ethernet ports(usually there are 4 ethernet ports on a wireless router ), ethernet cables will connect to other routers' ethernet ports and now these routers will send out radio waves which your pc catches.
3.Ethernet is one of the IEEE protocols(IEEE 802.3) for the data link layer. The wifi uses IEEE 802.11 standards to communicate through wireless media.
Short answer is: most likely
In your case, you only know your direct connectivity is made possible thru WiFi. From your perspective, it's just a WiFi network. But behind WiFi network, it could be Ethernet, DSL, Cable, etc. And behind those, it could be T1, frame relay, ATM, 10G or maybe 100G Ethernet, etc.
For example, I can have a small LAN at my home while my company office building can have a much bigger enterprise LAN. And both can provide me with the same kind of WiFi access.
Your connection to the nearest router is using a wifi data link protocol (in the IEEE 802.11 family). But the connections to other routers and (eventually) hosts will use other data link protocols, likely including ethernet at least at the far end.

Is it possible to determine what jack on a switch a computer is connected to?

Is it possible to determine programmatically what jack on a network switch a computer is connected to?
It's either possible or not possible, depending on the switch.
If it's a managed switch, you could query its management interface to determine the MAC addresses behind each port. Then you could match that up with the hardware address on the computer you're interested in.
Some switches have discovery protocols (such as CDP or LLDP) which will broadcast the port's identity to whichever devices are attached. You could sniff the network for these packets to determine the port your computer is connected to.
You can try disonnecting them one by one and each time testing if the network connection goes down.
To identify switch port connected to your pc ; you need to manually access the switch and remove ur rj-45 cable so you can visualize any port having state of disconnection.. dm gui can be used if switch is managable
cdp and lldp wont work for pc as it doesnt support it

Resources