Kép a hálózatról: http://i.imgur.com/26z48S9.png
Az FC-ASW-1 (a bal oldali) switchnél 2 vlan működik, a vlan10 és vlan20.
(10-es vlan-hoz a GenPC-k csatlakoznak, a 20-ashoz pedig ProdPC-k.)
Az lenne a problémám, hogy a DHCP nem osztja ki a vlan10-es gépeknek az ip-t. Ha statikusan adom meg az ip-t a vlan10-es gépeknek, akkor nem lehet megpingelni a routert.
A vlan20-as gépek működnek normálisan, meg is lehet velük pingelni a routert.
Nem tudom mi lehet a probléma, pedig az AC-2-es switchen (a 2. router után lévő switchen, jobb oldalt) működnek a vlan10-es gépek.
A parancsok amiket használtam:
--------- Mind2 routerbe: ----------------
int fa0/0.10
encapsulation dot1q 10
ip address 10.0.0.1 255.255.255.0
int fa0/0.20
encapsulation dot1q 20
ip address 10.10.0.254 255.255.255.0
exit
ip dhcp excluded-address 10.0.0.1 10.0.0.199
ip dhcp excluded-address 10.0.0.255
ip dhcp excluded-address 10.10.0.1 10.10.0.99
ip dhcp excluded-address 10.10.0.201 10.10.0.255
ip dhcp pool vlan10
network 10.0.0.0 255.255.255.0
default-router 10.0.0.1
exit
ip dhcp pool vlan20
network 10.10.0.0 255.255.255.0
default-router 10.10.0.254
int fa0/0.1
enc dot1q 1 native
ip address 192.168.200.1 255.255.255.0
------------ Switchek: -------------------
vlan 10
name General
vlan 20
name Production
--- FC-ASW-1:
int fa0/1
switchport mode trunk
int gig0/1
switchport mode trunk
--- ProductionSW:
int gig0/1
switchport mode trunk
--- AC-2:
int fa0/1
switchport mode trunk
--------------------
--- FC-ASW-1:
int range fa0/4-8
switchport mode access
switchport access vlan 10
int range fa0/9-13
switchport mode access
switchport access vlan 20
--- ProductionSW:
int range fa0/2-12
switchport mode access
switchport access vlan 20
--- AC-2:
int range fa0/4-12
switchport mode access
switchport access vlan 10
---------------
::: Switch IP cím megadása :::
--- FC-ASW-1:
int vlan 1
ip address 192.168.200.2 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.200.1
--- ProductionSW:
int vlan 1
ip address 192.168.200.3 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.200.1
--- AC-2:
int vlan 1
ip address 192.168.200.4 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.200.1