Difference between revisions of "IPTECH II RaEl/Router øvelse/HjemmeRouterConfig"

From Teknologisk videncenter
Jump to: navigation, search
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
 
(One intermediate revision by one other user not shown)
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
Line 20: 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