Mam router opnsensa gdzie mam skonfigurowane rózne VLANY m.in. vlan 10 jako VLAN dla LAN z adresem 172.24.10.254 , jest na nim oczywiście ustawione dhcp.
Mam tego OPNSENsa podlaczonego do switcha ,i portu ,który jest następująco skonfigurowany:
Kod: Zaznacz cały
Interface Ethernet1/0/1
description OPNSENSE
switchport mode trunk
switchport trunk native vlan 10
Podłączam się komputerem z Windows do portu drugiego portu dcna ,który jest skonfigurowany w trybie access dla VLANU 10.
Kod: Zaznacz cały
Interface Ethernet1/0/2
spanning-tree portfast
switchport access vlan 10
Problem w tym że komputer otrzymuje adres z apipa i
Kod: Zaznacz cały
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::34c3:ca39:1a7b:5bc3%15
Autoconfiguration IPv4 Address. . : 169.254.91.195
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Nie moge dostac sie do routera -opnsense ktory jest pod adresem 172.24.10.254.
Gdy pinguje ten adres to :
Kod: Zaznacz cały
C:\Windows\system32>ping 172.24.10.254
Pinging 172.24.10.254 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 172.24.10.254:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),