Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DHCP:
- 1. przypisz IP dla int
- 2. na serverze DNS ustaw ręcznię uslugę DNS <IP>
- dla global def gatew to ip poł z router i DNS to <IP server>
- ręcznie static <IP> <MASKA>
- 3. ewentualne wykluczenie puli adresów:
- ip dhcp excluded-address <IP>
- 4. pula DHCP:
- ip dhcp pool <nazwa puli>
- network <IP POCZĄTKOWE najbliższego routera od PC> <MASKA>
- default-router <IP najbliższego routera od PC>
- dns-server <IP DNS servera>
- 5. włącz routing:
- router eigrp 1
- network <IP POCZĄTKOWE>
- 6. Dla interfejsu, który łączy się z PC albo switchem dodajemy komendę:
- ip helper-address <IP int routera DHCP>
- np.:
- int f0/0
- ip address <IP> <MASKA>
- ip helper-address <IP int routera DHCP>
- 7. włącz DHCP na PC
- 8. wpisz na dns server ip pc
- =================================
- VoIP:
- 1. podłącz zasilacz do telefonu
- 2. switch:
- vlan <nr>
- name <nazwa>
- int f</>
- switchport mode trunk (dla int który idzie do routera)
- int range fastEthernet0/2-3 (np. 2-3)
- /
- int fa0/2 (np. 0/2)
- switchport mode access
- switchport access vlan 20
- switchport voice vlan 10
- 3. home voip ip:
- przypisz ip adres
- 4. router: (np.)
- encapsulation dot1Q 10
- ip add 192.168.0.1 255.255.255.0
- int fa0/0.20
- encapsulation dot1Q 20
- ip add 192.168.1.1 255.255.255.0
- ip dhcp excluded-address 192.168.0.1
- ip dhcp excluded-address 192.168.1.1
- ip dhcp pool 1
- network 192.168.0.0 255.255.255.0
- default-router 192.168.0.1
- dns-server 192.168.0.1
- option 150 ip 192.168.0.1
- ip dhcp pool 2
- network 192.168.1.0 255.255.255.0
- default-router 192.168.1.1
- dns-server 192.168.1.1
- option 150 ip 192.168.0.1
- telephony-service
- max-dn 20
- max-ep 20
- ip source-address 192.168.0.1 port 2000
- ephone-dn 1
- number 101
- ephone 1
- button 1:1
- ephone-dn 2
- number 202
- ephone 2
- button 1:2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement