Questions tagged [router]

A device that connects two or more networks and is capable of forwarding data packets to a destination based on information contained within a packet and internal routing tables.

Routers are devices that connect networks and make decisions on where to send incoming data packets, based on the address information contained in the packet and internal routing information.

The most common form are SoHo routers, which connect home or small office networks to the internet and provide routing for all devices on the home/office network. More advanced routers connect large office networks, and at the high end of the scale routers connect large segments of telecommunication networks all over the world at high speed.

Routers are not limited to TCP/IP networks, they can be found in any kind of network.

2043 questions
6
votes
5 answers

How does a router get its IP address assigned?

I understand how a device connecting to a router (e.g. 72.73.74.75) gets assigned a local IP address (e.g. 192.168.1.5) using DHCP. BUT, how does the router itself get the IP address assigned from the ISP in the first place? How does it make sure…
Justin Hou
  • 75
  • 1
  • 2
6
votes
1 answer

How do I route all traffic from clients connected to the DD-WRT to its OpenVPN tunnel tun0?

I am setting a secondary (DD-WRT) router to act as a OpenVPN client so that all clients would get VPN access simply by connecting to the router. But seems clients traffic is always routed via the main gateway instead of the established VPN…
user1534160
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

Tomato firmware - View port 80 traffic

I'm using a WRT54GL router and i've installed the tomato firmware. Is there any shell command or somehting i can use to view all port 80 traffic? I want to se which internal ip has a connection to an external ip. Adress resolving is a plus. Is this…
alexn
  • 375
  • 1
  • 4
  • 10
6
votes
1 answer

Is it possible to connect 2 networks with same IP range?

I have two networks with the same IP addresses in use and I need to connect them. I have a third network between the two to connect them but I need to know : - is it possible to communicate iof the IP are the same on both side ? - Which technology…
Stéphane V
  • 161
  • 1
  • 1
  • 3
6
votes
3 answers

how to get interface traffic snmp information for routers ( cisco, zte, huawei ...)?

I have cisco, zte, huawei routers..How can i get the traffic information of every interfaces of these routers. I donot have mib file of zte and huawei. So, i want a generic mib file which can monitor every interfaces of these routers
padam gurung
  • 63
  • 1
  • 1
  • 4
6
votes
3 answers

DD wrt bandwidth usage by user

Is there anyway on the dd-wrt to check to see how much bandwidth each client is using? I ask because I am in charge of looking over a group of routers connecting to a dd-wrt router and if a user is using too much at certain times I would like to be…
csteifel
  • 293
  • 1
  • 6
  • 11
6
votes
5 answers

Host DHCP services on server or firewall/router?

I've been debating with myself about the best place for hosting a LAN's DHCP services. I have the option of either on a sonicwall firewall or a Windows 2008 server. The two things I was looking for in addition to just handing out IP addresses were…
Force Flow
  • 1,165
  • 5
  • 23
  • 45
6
votes
3 answers

What do "Unknown SSAP" and "Unknown DSAP" mean in tcpdump?

While trying to fix a problem with intermittently losing internet connection on a machine with a wireless connection to a router, I ran tcpdump and noticed packets with "Unknown SSAP" and "Unknown DSAP" errors coming at a rate of a few per…
lacker
  • 181
  • 1
  • 2
  • 3
6
votes
6 answers

Which linux-based firewall?

We are looking to replace our current aging firewall/router with a new one. We would prefer it to be free/opensource if possible. Our minimum requirements would be: 1) Site-to-site VPN 2) Web URL/IP filtering 3) 2 WAN connections with…
Atlas
  • 309
  • 1
  • 6
  • 15
6
votes
2 answers

A nice tool to look up make/model via MAC address?

The first several digits of a MAC address (Ethernet ID) are specific to its manufacturer/model. I won't ask what's the best way to look these up since it's subjective... but I'd love to know if any here has found a particularly efficient resource to…
username
  • 4,755
  • 19
  • 55
  • 78
6
votes
2 answers

When to use routers and when to use layer 3 switches

If you were to connect two buildings on the same site via fiber, what is best to use - routers or layer 3 switches? The layer two switches in each building have VLAN's, so these will either connect to a router or layer 3 switch, and then the router…
The_Bear
  • 163
  • 4
5
votes
2 answers

How to use iptables to route packet with a specific destination IP through a specific interface

I have a linux box setup as a router using this tutorial: https://help.ubuntu.com/community/Router On that machine there are 2 network interfaces and one VPN: eth0 is the main internet interface, eno1 is the intranet and tun0 is the VPN…
Lionel
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

Centos 7 Router & firewalld

I am attempting to set up a CentOS 7 VM with firewalld to route traffic between 2 different subnets. I have 2 network interfaces, ens192 for the external network and ens224 for the internal network: $ ip a 1: lo: mtu 65536…
rowlanch
  • 71
  • 1
  • 6
5
votes
3 answers

What firmware to choose for ASUS WL-500GP v1

I've found several firmwares out there: OpenWRT, DD-WRT, Tomato and Oleg's. I'm wondering what is the best choice? Router is working in the home network (desktop through wires, laptop uses WiFi). Also I plan to run torrent and VPN client on it.
5
votes
3 answers

Can internet gateways be plugged straight into a layer 2 switch?

tl;dr Internet gateways (eg., cable modems, fiber optic gateways) don't function properly when they aren't behind a device with "layer 3" or routing capabilities, correct? Incredibly long backstory I'm in an argument with my boss about the root…
Eric L.
  • 205
  • 4
  • 12