Difference between revisions of "IPTECH II RaEl/Router øvelse/HjemmeRouterConfig"
From Teknologisk videncenter
m (New page: <source lang=cli> 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 d...) |
m |
||
Line 10: | Line 10: | ||
ip address dhcp | ip address dhcp | ||
ip nat outside | ip nat outside | ||
+ | no shutdown | ||
! | ! | ||
interface FastEthernet0/1 | interface FastEthernet0/1 | ||
ip address 192.168.100.1 255.255.255.0 | ip address 192.168.100.1 255.255.255.0 | ||
ip nat inside | ip nat inside | ||
+ | no shutdown | ||
! | ! | ||
ip nat inside source list 1 interface FastEthernet0/0 overload | ip nat inside source list 1 interface FastEthernet0/0 overload |
Revision as of 12:25, 1 April 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