ELI5 - Bridgemode, NAT and DHCP
I feel like no matter how much I google these individulally I am just getting more and more confused. :/
If this is the wrong place to ask this can someone please redirect me? Thanks
Posted Jan 27, 2022, 3:33 PM UTC
I feel like no matter how much I google these individulally I am just getting more and more confused. :/
If this is the wrong place to ask this can someone please redirect me? Thanks
Posted Jan 27, 2022, 3:33 PM UTC
You can think of it as a 1-to-many relationship, or a company. There are many employees behind the company, but to you who's not an employee, you only see the company.
DHCP is often run by default with NAT, but it's not a requirement. You can turn it off, you'll just have to do the IP assignments (and avoid collision) yourself.
[deleted]
WAN stands for Wide Area Network. On a router it basically marks the port that you'd use to connect to the internet. It's like the outside door, vs LAN ports being your interior room doors.
EWAN i haven't seen that often, but most likely it is just Ethernet WAN. Some devices have multiple WAN interfaces, like RJ11 DSL WAN, Coax WAN. So the manufacturer probably just marked the ethernet WAN that way to call out that "hey, you can also use this as your WAN interface if you need to".
[deleted]
[deleted]
It's mostly applicable to modem-router combo units.
Sometimes you don't want it to handle the routing, but you still need it to handle to modem part, so it's being the medium between different protocols (say, DOCSIS on coax <-> ethernet, or DSL <-> ethernet). That's when people give it the name bridge mode. It's bridging between different protocols/media.
[deleted]
Yeah basically.
DHCP: "You don't have to manually assign IP addresses to your devices. Let me do it for you!"
NAT: "Speaking of IP addresses, there aren't enough to go around. Let me take that 1 public address your ISP gave you, and "split it up" into many private ones for your devices."
Bridged Mode: "I'm going to quit doing all that fancy routing/NAT/firewall/DHCP nonsense, and essentially turn myself into an empty toilet-paper tube. My job is now to connect two networks together (one on each side of the"tube").
OK, you are five:
Bridge mode: Your family home has a mailbox outside with your address. All letters coming to that address automatically slide into a second mailbox connected directly to it. The first mailbox is in bridge mode, aka “dumb passthrough”.
DHCP: Your mom hands out little signs to all kids that ask for it, to put on their doors: “Bedroom #1”, “Bedroom #2”, etc. She also says “if anyone wants to know grandma’s address, ask your dad or me” and “give all outgoing mail to me”.
(= a DHCP server hands out IP addresses to devices, advertises one or more DNS servers and a default gateway)
NAT (outgoing traffic): you want to communicate with grandma, you’ve already asked your dad what her address is. You have no idea what your own home address is, you’re only five! But you do know your room number, so when you write a letter to grandma, you write on the back of the envelope: “from: Bedroom #2”, and give it to your mom. Before sending it out, your mom scratches that out, and replaces it with your home address, and makes a mental note: “grandma’s reply should go to Bedroom #2”
NAT (incoming traffic): a letter arrives, addressed to your home address! Your mom, who opens the mailbox, takes the envelope, scratches out the “To:” address, replaces it with “Bedroom #2”, and slides it under your door.
(= the router translates all incoming and outgoing packages from one shared public IP address to the private IP addresses of devices behind it, keeping a table of which connection goes where)
[deleted]
Generally this is done when the first one is a combined DSL/cable modem + router (usually ISP-supplied so quite restricted in terms of features/options) and the second one is just a router (but with the features you like).