Suppose I have a router that is connected to two other routers.
How do I figure out what IP address and subnet mask I assign to the interfaces? Would this setup only require a /30 subnet mask, or would I have to go to /29? Do I end up with 192.168.1.128 or similar as my IP address? Do I have to use Class A/B/C?
I haven't been able to find any decent tutorials on how, exactly, you determine IP addresses and subnets for anything. A lot of stuff kind of explains the general meaning of it all, but nobody anywhere seems to go step by step through the process explaining why and how you choose an IP address for a router.
>>59726536
if you cant find tutorials on how to do it, you wouldnt understand how to accomplish it in the first place
>>59726536
>I haven't been able to find any decent tutorials
google professor messer, hes got a lot of good self study stuff
>>59726536
Go to 192.168.1.1
advanced options
Turn on DHCP
Plug cat6 cable into router
make sure it's not the WAN port
Plug other end into thousand islands
>>59726536
>Do I have to use Class A/B/C?
Classfull networking has be irrelevant for decades.
>how, exactly, you determine IP addresses and subnets for anything
Think of how many hosts you want to have on this network. Add 2 to that number for the network address and broadcast address.
Find the smallest power of 2 greater or equal to that number. Subtract that from 32. Usually, subnets are also made a lot bigger than they need to be, so they don't have to be renumbered when you add more hosts, and it's usually done to some "nice" number.
For example, if I want 10 hosts on a subnet, I need 12 addresses. 2^4 (16) is the smallest power of 2, so I need a /28 subnet. Unless I was constrained on addresses, I would probably knock that up to a /24.
The addresses themselves aren't important. Just pick something logical and easy to remember. It would be a good idea to write it down.
If you have a shitload of addresses to work with (e.g. RFC1918 address space), you can do fancy shit like embedding information about the connection in the address.
I once did a thing where I embedded the "router numbers" in one of the octets. If I had three routers named 1, 2, and 3, I would make the connection between the router 1 and 2 be 10.0.12.0/30, 1 and 3 be 10.0.13.0/30 and 2 and 3 be 10.0.23.0/30, with the lower router number getting .1 and the higher getting .2.
>Would this setup only require a /30 subnet mask
That is typically the kind of subnet you would have between two routers.
>>59726615
I'm using packet tracer and a theoretical network, not an actual network.
>>59726536
Suppose I have an evil dogger who should go away
ask your teacher.
>babbies first networking class
>>59727026
I am my teacher.