
這是我的家庭網路的精簡版本,我的問題是我無法讓 192.168.20.100 與 192.168.20.4 進行通訊。
工作站對路由器和伺服器執行 ping 操作均正常,並且可以與兩者通訊。其網關設定為 192.168.20.1。
伺服器僅對工作站和路由器 192.168.20.1 執行 ping 操作正常,並且到 192.168.20.4 時出現 100% 封包遺失,儘管將其設為預設閘道。
我特意希望伺服器使用 192.168.20.4 作為預設網關,而網路的其餘部分使用 192.168.20.1,但我想將它們保留在同一子網路上。
我想說這個問題是在我用多個 4 埠交換器換成 2950 交換器時開始的,但我不確定這會如何導致這個問題。
不存在 DHCP,這都是靜態的。
工作站ARP:
192.168.20.4 ether 00:1d:73:55:31:7a C eth0
192.168.20.100 ether 90:e2:ba:27:5f:3a C eth0
192.168.20.1 ether 00:24:a5:42:a7:dc C eth0
192.168.20.5 ether 00:0e:84:06:73:40 C eth0
伺服器位址解析協定:
192.168.20.4 ether 00:1d:73:55:31:7a C eth0
192.168.20.101 ether 6c:f0:49:0a:91:82 C eth0
192.168.20.5 ether 00:0e:84:06:73:40 C eth0
192.168.20.1 ether 00:24:a5:42:a7:dc C eth0
交換器ARP:
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.20.100 0 90e2.ba27.5f3a ARPA Vlan1
Internet 192.168.20.101 10 6cf0.490a.9182 ARPA Vlan1
Internet 192.168.20.4 9 001d.7355.317a ARPA Vlan1
Internet 192.168.20.5 - 000e.8406.7340 ARPA Vlan1
Internet 192.168.20.1 1 0024.a542.a7dc ARPA Vlan1
交換器MAC位址表:
1 001d.7355.317a DYNAMIC Fa0/3
1 0024.a542.a7dc DYNAMIC Fa0/24
1 6cf0.490a.9182 DYNAMIC Gi0/2
1 90e2.ba27.5f3a DYNAMIC Gi0/1
運行配置(已清理):
Current configuration : 1313 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Europa
!
enable secret 5 .............................
!
ip subnet-zero
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.20.5 255.255.255.0
no ip route-cache
!
ip http server
!
line con 0
line vty 0 4
password .........
login
line vty 5 15
password .........
login
!
!
end
編輯
我還不能回答我自己的問題,但我已經找到問題了。 192.168.20.4 伺服器的 ARP 條目不正確。感謝您提到檢查 ARP 表,我為沒有檢查路由器而感到愚蠢。
答案1
我已經找到問題了。 192.168.20.4 的 192.168.20.100 的 ARP 條目不正確。感謝您提到檢查 ARP 表,我為沒有檢查路由器而感到愚蠢。