Compare cert salaries and plan your next career move
ip nat outside
nice343 wrote: the interface that connects to the internet Ethernet0/1 should have ip nat outside
ip route 0.0.0.0 0.0.0.0 Ethernet0/1
phantasm wrote: Is there a reason your using an extended ACL?
beezee wrote: An Arris broadband cable modem.
no service pad service tcp-keepalives-in service tcp-keepalives-out service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! ! no aaa new-model ip subnet-zero ip cef no ip domain lookup ! ip dhcp excluded-address 192.168.2.1 192.168.2.5 ! ip dhcp pool MYNETWORK import all network 192.168.2.0 255.255.255.0 default-router 192.168.2.1 dns-server 4.2.2.2 lease 8 update arp ! interface Ethernet0/0 no shut ip address 192.168.2.1 255.255.255.0 ip nat inside ! interface Ethernet0/1 no shut ip address dhcp ip nat outside ! ip nat inside source list 1 interface Ethernet0/1 overload ! no ip http server ip classless ! ip route 0.0.0.0 0.0.0.0 Ethernet0/1 ! access-list 1 permit 192.168.2.0 0.0.0.255 ! line con 0 line aux 0 line vty 0 4 ! ! end
dtlokee wrote: He could statically assign the addresses on the internal LAN, there is no need for DHCP. If the cable modem is already performing NAT there is no problem doing it again on the router. A debug ip nat and a show ip not output would be helpful.
elegua wrote: dtlokee wrote: He could statically assign the addresses on the internal LAN, there is no need for DHCP. If the cable modem is already performing NAT there is no problem doing it again on the router. A debug ip nat and a show ip not output would be helpful. You are right, he can assign the ip addresses statically but why? you can give that job to DHCP, is you do this manually (static route) each time you add one device you have to configure a static route statement, in the other hand, if you setup DHCP server, allways DHCP will has an IP ready for any device you add to your LAN, and setup DHCP server in the router is very straightforward. If he only have one PC in his LAN, static router is better than DHCP.
networker050184 wrote: elegua wrote: dtlokee wrote: He could statically assign the addresses on the internal LAN, there is no need for DHCP. If the cable modem is already performing NAT there is no problem doing it again on the router. A debug ip nat and a show ip not output would be helpful. You are right, he can assign the ip addresses statically but why? you can give that job to DHCP, is you do this manually (static route) each time you add one device you have to configure a static route statement, in the other hand, if you setup DHCP server, allways DHCP will has an IP ready for any device you add to your LAN, and setup DHCP server in the router is very straightforward. If he only have one PC in his LAN, static router is better than DHCP. You should stop while you are ahead.... You do not need static a route for each ip. You don't need a static route for any since they are directly connected. You just need a default route pointed towards the internet. Your service provider will take care of getting traffic back to your outside ip. You should really look into routing and NAT/PAT a little deeper.
networker050184 wrote: You should stop while you are ahead.... You do not need static a route for each ip. You don't need a static route for any since they are directly connected. You just need a default route pointed towards the internet. Your service provider will take care of getting traffic back to your outside ip. You should really look into routing and NAT/PAT a little deeper.
interface ethernet0/0 ip address dhcp ip nat outside no shut ! interface ethernet 0/1 ip address 192.168.1.1 255.255.255.0 ip nat inside no shut ! access-list 1 permit 192.168.1.0 0.0.0.255 ! ip nat inside source list 1 interface ethernet0/0 ! ip dhcp pool INSIDE network 192.168.1.0 /24 default-gateway 192.168.1.1 import all ! ip dhcp excluded-address 192.168.1.1
dtlokee wrote: It dosen't get much easier than this: interface ethernet0/0 ip address dhcp ip nat outside no shut ! interface ethernet 0/1 ip address 192.168.1.1 255.255.255.0 ip nat inside no shut ! access-list 1 permit 192.168.1.0 0.0.0.255 ! ip nat inside source list 1 interface ethernet0/0 ! ip dhcp pool INSIDE network 192.168.1.0 /24 default-gateway 192.168.1.1 import all ! ip dhcp excluded-address 192.168.1.1
Compare salaries for top cybersecurity certifications. Free download for TechExams community.