top of page

Dcc praktijk

24=0
25= 128
26= 192
27= 224
28= 240
29= 248
30= 252
31= 254
32= 255

​

Data vlan:

Server instellen:

Server instellen ( DHCP en IP )

-----------------------------------------------------------------------

Switch:

En
conf t

vlan 10
name administratie
exit

Int range f0/1-5
Switchport mode acces
switchport acces vlan 10
exit

------------------------------------------------------------------------

Switch0 (middelste switch)
en
conf t

int f0/5
switchport mode trunk
exit
int f0/6
switchport mode trunk
exit
int f0/7
switchport mode trunk
exit

--------------------------------------------------------------------------

 

Router:

En
conf t

Int gig0/0
no sh
exit

 

Int g0/0.10 (vlan nr.)
ip addr 192.168.10.1 (computer) 255.255.255.0
encapsulation dot1Q 10
ip addr 192.168.10.1 255.255.255.0
no sh
exit

 

Int g0/0.20 (vlan nr.)
ip addr 192.168.20.1 255.255.255.0
encapsulation dot1Q 20
ip addr 192.168.20.1 255.255.255.0
no sh
exit

 

Int g0/0.30 (vlan nr.)
ip addr 192.168.30.1 255.255.255.0
encapsulation dot1Q 30
ip addr 192.168.30.1 255.255.255.0
no sh
exit

-----------------------------------------------------------

Weer middelste switch:

en
conf t

int f0/24
switchport mode trunk
Exit

 

 

 

 

 

 

 

Management VLAN

Onderste switches (3,4):

En
conf t

(alle vlans aanmaken)
vlan 2
name A
exit

vlan 3
name B
exit

vlan 4
name C
exit

Int f0/1     
switchport mode acces
switchport acces vlan 2/3/4
int f0/2     
switchport mode acces
switchport acces vlan 2/3/4
exit


 

 

---------------------------------------------------------------------------------

 

 

 

 

 

 

 

 

 

 

 

Multilayer switch:

vlan 2
name A
exit

vlan 3
name B
exit

vlan 4
name C
exit

Int f0/2
switchport trunk encapsulation dot1q
switchport mode trunk

Int f0/3
switchport trunk encapsulation dot1q
switchport mode trunk

Int f0/4
switchport trunk encapsulation dot1q
switchport mode trunk
exit

Vlan 1 (alleen vlan 1, geen naam dit is default)
exit

int vlan 1
ip addr 30.30.30.2 255.255.255.0 PC!
no sh
exit

Int vlan 2
ip addr 40.40.40.2 255.255.255.0
no sh
Exit

Int vlan 3
ip addr 50.50.50.2 255.255.255.0
no sh
exit

Int vlan 4
ip addr 60.60.60.2 255.255.255.0

 

 

Int f0/1
ip routing
int f0/3
ip routing
int f0/4
ip routing
int f0/2
ip routing

---------------------------------------------------------------------------

Server instellen: Static, services DHCP
Via dhcp: Default, DNS instellen voor vlan 2/3/4
Druk niet op save maar op Add(!!)

---------------------------------------------------------------------------

2e keer Multilayer switch:

Int vlan 2
ip helper-address 192.168.1.2 ( ip van de server zelf! )
exit

int vlan 3
ip helper-address 192.168.1.2
exit

int vlan 4
ip helper-address 192.168.1.2
exit

---------------------------------------------------------------------------

Router:

En
conf t
F0/0
ip addr 10.10.10.1 255.0.0.0
no sh
exit

Ip route 0.0.0.0 0.0.0.0 f0/0
 

------------------------------------------------------------------------------

 

 

 

 

3e keer Multilayer switch:

En
conf t
int f0/5
no switchport
ip addr 10.10.10.2 255.0.0.0
no sh
exit
ip default-gateway 10.10.10.1
ip route 0.0.0.0 0.0.0. f0/5

NAT:

Eerst static ip adres op server zetten
Ten tweede lijnen groen maken

 

Router:
En
conf t
Host NAT
int f0/0
ip addr 209.165.200.1 255.255.255.0
no sh
exit

Int s2/0
ip addr 1.1.1.1 255.0.0.0
clock rate 64000
no sh
exit

-----------------------------------------------------------------------------

STATIC NAT
 

Ip route 0.0.0.0 0.0.0.0 f0/0 ( 0/0 van de andere kant van router )

Ip nat inside source static 6.6.6.2 9.9.9.2 ( 6.6.6.2 is van de nat server en 9.9.9.2 van router na router )

Int f0/0 - ip nat inside ( int naar nat server )

Int s0/3/0 - ip nat outside ( router na router )
 

OVERLOAD
 

Ip route 0.0.0.0 0.0.0.0 f0/0
Access list 1 permit 80.80.80.0 0.0.0.255
ip nat inside source list 1 int f0/0 overload
int f0/0 ( ip nat inside)
int s0/3/0 (ip nat outside)

​

​

​

​

About Me

I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to add your own content and make changes to the font.

 

Read More

 

© 2023 by Going Places. Proudly created with Wix.com

Join My Mailing List

Thanks for submitting!

  • Facebook
  • Instagram
  • Pinterest
  • Twitter
bottom of page