Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ROUTER
- ena
- conf t
- hostname r0
- no ip domain lookup
- enable secret class
- line con 0
- password cisco
- login
- line vty 0 15
- password cisco
- login
- end
- ena
- conf t
- int s0/0/0
- ip address 192.168.15.193
- no shutdown
- SWITCH:
- ip adres in vlan 99 steken en default gateway toekennen (is gegeven)
- DHCP:
- R0(config)#ip dhcp excluded-address 10.3.13.1
- R0(config)#ip dhcp excluded-address 10.3.13.2
- R0(config)#ip dhcp excluded-address 10.3.23.1
- R0(config)#ip dhcp excluded-address 10.3.23.2
- R0(config)#ip dhcp excluded-address 10.3.33.1
- R0(config)#ip dhcp excluded-address 10.3.33.2
- R0(config)#ip dhcp excluded-address 192.168.15.129
- R0(config)#ip dhcp excluded-address 192.168.15.130
- NU DE POOLS
- conf t
- ip dhcp pool vlan313
- network 10.3.13.0 255.255.255.0
- default-router 10.3.13.1 (10.3.13.0 +1)
- ----
- R0(config)#ip dhcp pool vlan323
- R0(dhcp-config)#network 10.3.23.0 255.255.255.0
- R0(dhcp-config)#defaul
- R0(dhcp-config)#default-router 10.3.23.1
- ----
- R0(config)#ip dhcp pool vlan333
- R0(dhcp-config)#network 10.3.33.0 255.255.255.0
- R0(dhcp-config)#defau
- R0(dhcp-config)#default-router 10.3.33.1
- —
- R0(config)#ip dhcp pool 50hosts
- R0(dhcp-config)#netwo
- R0(dhcp-config)#network 192.168.15.128 255.255.255.192
- R0(dhcp-config)#default
- R0(dhcp-config)#default-router 192.168.15.129
- —
- we hebben dit geconfigureerd op R0, maar r3 (bijvoorbeeld) ziet dit niet, dus —> ip helper address
- —> ik heb geen dhcp —> ga daar zien
- R3: ena, conf t, int f0/0
- ip helper-address 192.168.15.193
- —
- Na helper address, heeft pc nogaltijd geen ip adres, dit is omdat hij de routers niet ziet
- —> RIP of OSPF configureren
- R3(config)#router rip
- R3(config-router)#version 2
- R3(config-router)#network 192.168.15.128
- R3(config-router)#network 192.168.15.192
- R3(config-router)#no auto-summary
- —
- R0(config)#router rip
- R0(config-router)#version 2
- R0(config-router)#network 192.168.15.192
- R0(config-router)#network 192.168.15.200
- R0(config-router)#network 192.168.15.196
- R0(config-router)#no auto
- R0(config-router)#no auto-summary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement