Difference between revisions of "IPTECH II RaEl/Router øvelse/HjemmeRouterConfig"
From Teknologisk videncenter
m |
m |
||
Line 22: | Line 22: | ||
</source> | </source> | ||
{{Source cli}} | {{Source cli}} | ||
+ | [[category:Kurser]] |
Latest revision as of 10:45, 26 June 2011
hostname HomeRouter
!
ip dhcp pool inside
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 8.8.8.8
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
no shutdown
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
ip nat inside
no shutdown
!
ip nat inside source list 1 interface FastEthernet0/0 overload
!
access-list 1 permit 192.168.0.0 0.0.255.255