首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使PC机在同一个局域网中但在不同的网络上进行通信

如何使PC机在同一个局域网中但在不同的网络上进行通信
EN

Network Engineering用户
提问于 2018-12-24 01:49:27
回答 1查看 143关注 0票数 2

是否可以在同一个局域网中,但在不同的网络上对PC进行平压?我在所有路由器上都做了RIP版本2。他们都可以互相击打。然而,个人电脑不能。例如,当我试图从FAS1中ping FA1时,这条消息显示为“主机(255.255.254)不可达”--我不知道我哪里出错了,或者还有什么要实现的。任何帮助都将不胜感激。这是我的拓扑结构:

Default_Gateway:

代码语言:javascript
复制
Default_Gateway#show running-config
Building configuration...

Current configuration : 1130 bytes

version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption

hostname Default_Gateway

boot-start-marker
boot-end-marker

no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef

no ip domain lookup

multilink bundle-name authenticated

archive
 log config
  hidekeys

ip tcp synwait-time 5

interface FastEthernet0/0
 ip address 123.45.250.1 255.255.255.252
 duplex auto
 speed auto

interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto

interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto

interface FastEthernet2/0
 no ip address
 shutdown
 duplex auto
 speed auto

router rip
 version 2
 network 123.0.0.0

ip forward-protocol nd

Router01:

代码语言:javascript
复制
Router01#show running-config
Building configuration...

Current configuration : 1155 bytes

version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption

hostname Router01

boot-start-marker
boot-end-marker

no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef

no ip domain lookup

multilink bundle-name authenticated

archive
 log config
  hidekeys

ip tcp synwait-time 5

interface FastEthernet0/0
 ip address 123.45.250.2 255.255.255.252
 duplex auto
 speed auto

interface FastEthernet0/1
 ip address 123.45.250.5 255.255.255.252
 duplex auto
 speed auto

interface FastEthernet1/0
 ip address 123.45.250.9 255.255.255.252
 duplex auto
 speed auto

interface FastEthernet2/0
 no ip address
 shutdown
 duplex auto
 speed auto

router rip
 version 2
 network 123.0.0.0

ip forward-protocol nd

Router02:

代码语言:javascript
复制
Router02#show running-config
Building configuration...

Current configuration : 1164 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router02
!
boot-start-marker
boot-end-marker

no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef

no ip domain lookup
!
multilink bundle-name authenticated

archive
 log config
  hidekeys

ip tcp synwait-time 5

interface FastEthernet0/0
 ip address 123.45.250.6 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 123.45.250.13 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 123.45.8.1 255.255.254.0
 duplex auto
 speed auto
!
interface FastEthernet2/0
 ip address 123.45.0.1 255.255.252.0
 duplex auto
 speed auto
!
router rip
 version 2
 network 123.0.0.0
!
ip forward-protocol nd

Router03:

代码语言:javascript
复制
Router03#show running-config
Building configuration...

Current configuration : 1166 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router03
!
boot-start-marker
boot-end-marker

no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef

no ip domain lookup
!
multilink bundle-name authenticated

archive
 log config
  hidekeys
ip tcp synwait-time 5
!
interface FastEthernet0/0
 ip address 123.45.250.10 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 123.45.250.14 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 123.45.10.1 255.255.254.0
 duplex auto
 speed auto
!
interface FastEthernet2/0
 ip address 123.45.4.1 255.255.252.0
 duplex auto
 speed auto
!
router rip
 version 2
 network 123.0.0.0
!
ip forward-protocol nd
EN

回答 1

Network Engineering用户

回答已采纳

发布于 2018-12-24 03:20:17

你的问题是RIP认为你在任何地方都有相同的网络。可以通过在no auto-summary下使用router rip命令来解决这个问题。

票数 2
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/55640

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档