Comunicazione tra vlan
Inviato: lun 16 nov , 2015 2:59 pm
Ciao a tutti,
in allegato il mio schema.
Non riesco a far comunicare il PC con IP 192.168.1.10 con il PC 192.168.100.5 e viceversa.
La configurazione dello switch multilayer è la seguente:
ip routing
!
interface FastEthernet0/1
switchport access vlan 2
!
interface FastEthernet0/2
switchport access vlan 3
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
ip address 192.168.1.1 255.255.255.0
interface Vlan3
ip address 192.168.2.1 255.255.255.0
La configurazione del router è la seguente:
interface GigabitEthernet0/0
ip address 192.168.100.254 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.2
encapsulation dot1Q 2
ip address 192.168.1.254 255.255.255.0
!
interface GigabitEthernet0/1.3
encapsulation dot1Q 3
ip address 192.168.2.254 255.255.255.0
!
interface Vlan1
no ip address
shutdown
GRAZIE!!!!
M.
in allegato il mio schema.
Non riesco a far comunicare il PC con IP 192.168.1.10 con il PC 192.168.100.5 e viceversa.
La configurazione dello switch multilayer è la seguente:
ip routing
!
interface FastEthernet0/1
switchport access vlan 2
!
interface FastEthernet0/2
switchport access vlan 3
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
ip address 192.168.1.1 255.255.255.0
interface Vlan3
ip address 192.168.2.1 255.255.255.0
La configurazione del router è la seguente:
interface GigabitEthernet0/0
ip address 192.168.100.254 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.2
encapsulation dot1Q 2
ip address 192.168.1.254 255.255.255.0
!
interface GigabitEthernet0/1.3
encapsulation dot1Q 3
ip address 192.168.2.254 255.255.255.0
!
interface Vlan1
no ip address
shutdown
GRAZIE!!!!
M.