blob: c5905e7986ae079b07b7c0f5a68a9ac48504479b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
no service password-encryption
!
hostname RouterA
!
!
username alaluukas password pekka
!
!
!
ip subnet-zero
!
!
process-max-time 200
!
interface Ethernet0
ip address 192.168.0.1 255.255.255.224
no ip directed-broadcast
ip nat inside
!
interface Serial0
ip address 192.168.100.1 255.255.255.252
no ip directed-broadcast
ip nat outside
no ip route-cache
no ip mroute-cache
clockrate 56000
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
ip nat inside source list 1 interface Serial0 overload
ip classless
ip route 192.168.200.0 255.255.255.240 Serial0
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
!0.0.0.32 erstes sub net in 192.168.0.0 / 27
!
line con 0
transport input none
line aux 0
line vty 0 4
!
end
|