I have a router that's connected to a Cable modem
Ethernet 2 is connceted to a switch. And PC's are connected to the switch, (but now I have a pc connected directly to the Ethernet 2's interface)
Ethernet 1 is connected to the modem
The router is supposed to act as a DHCP server to the clients.
here's the configuration i'm using for DHCP and for my interfaces
IP DHCP excluded-address 10.1.1.1
Ip DHCP pool stations
network 10.1.1.0 255.255.255.0
ip address dhcp
ip nat inside
ip address 10.1.1.1 255.255.255.0
ip nat outside
ip route 0.0.0.0 0.0.0.0 ethernet1
ip nat inside source list 102 interface ethernet1 overload
access-list 102 permit ip 10.1.1.0 0.0.0.255 any
The pc can not get any internet connection.