I connected my PC and the DSL modem from my ISP into one of the 2950 switch ports for each one of the devices. I got internet access but I don't have a full understanding as to how it worked.
The settings were :
PC(static) : IP Address : 192.168.1.6
Gateway : 192.168.1.1
DNS : 208.67.222.222
Switch : 192.168.1.9
DSL Modem : 192.168.1.1
Now, I assume that when I try to access a website like google.com, my pc would attempt to contact the DNS server 208.67.222.222, see that it is in another subnet, which in turn will contact the default gateway which is the ISP modem, sends a ARP broadcast, modem replies with its MAC address, PC sends the request, modem gets it and does some NAT and using a default static route (0.0.0.0 | 0.0.0.0),contacts the DNS servers --- and this part is where I'm kinda confused.....
1.)Does my ISP modem act as a router with NAT and a default static route preconfigured?
Secondly, when I set my PC to "automatically obtain an IP address", I got it so how exactly does that work? Does the switch as as a dhcp server or something?