1. IP adressen instellen
2. Router protocol instellen
3. Routing Tabel controleren op alle netwerken
3. Trunk + VLAN's op de switch instellen
-* Routers krijgen altijd het laagste IP
--* Bij een sub int geen IP op de hoofd int instellen
---* do show ip route connected command voor ospf networks
Bij OSPF network + wildcard + area
Bij RIPv2 network
--
Router1
ena
conf t
int fa0/0
ip add 172.16.5.1 255.255.255.0
no shut
int s0/0/0
ip add 172.16.1.1 255.255.255.0
clock rate 2000000
no shut
router ospf 1
network 172.16.1.0 0.0.0.255 area 0
network 172.16.5.0 0.0.0.255 area 0
--
Router2
ena
conf t
int s0/0/0
ip add 172.16.1.2 255.255.255.0
no shut
int s0/1/0
ip add 172.16.2.1 255.255.255.0
clock rate 2000000
no shut
router ospf 1
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
--
Router 3
ena
conf t
int s0/1/0
ip add 172.16.2.2 255.255.255.0
no shut
int fa0/0
no shut
-*(VLAN 10+20)
int fa0/0.10
encapsulation dot1Q 10
ip add 172.16.3.1 255.255.255.0
int fa0/0.20
encapsulation dot1Q 20
ip add 172.16.4.1 255.255.255.0
router ospf 1
network 172.16.2.0 0.0.0.255 area 0
network 172.16.3.0 0.0.0.255 area 0
network 172.16.4.0 0.0.0.255 area 0
exit
-*(DHCP VLAN 10+20)
ip dhcp excluded-address 172.16.3.1 172.16.3.10
ip dhcp excluded-address 172.16.4.1 172.16.4.10
ip dhcp pool vlan10
network 172.16.3.0 255.255.255.0
default router 172.16.3.1 (gateway/sub-int)
dns-server 172.16.5.2
ip dhcp pool vlan20
network 172.16.4.0 255.255.255.0
default router 172.16.4.1 (gateway/sub-int)
dns server 172.16.5.2
--
Switch1
ena
conf t
int fa0/1
switchport mode trunk
no shut
exit
vlan 10
name vlan10
vlan 20
name vlan20
int f0/2
switchport mode access
switchport access vlan 10
int f0/3
switchport mode access
switchport access vlan 20
--
Server1
IP Configuration
IP Address 172.16.5.2
Subnet Mask 255.255.255.0
Default Gateway 172.16.5.1 (Router1)
DNS Server 172.16.5.2 (localhost)
DHCP (Virtueel PacketTracer)
Service On
Pool Name serverPool
Default Gateway 172.16.5.1 (Router1)
DNS server 172.16.5.2 (localhost)
Start IP Address 172.16.5.11
Subnet Mask 255.255.255.0
DNS
DNS Service On
Name server1
Address 172.16.5.2 (localhost)
--
Server2
IP Configuration
IP Address 172.16.5.3
Subnet Mask 255.255.255.0
Default Gateway 172.16.5.1 (Router1)
DNS Server 172.16.5.2 (Server1)
Maak jouw eigen website met JouwWeb