
兩個交換機下的兩個網段如何能ping通
1的服務器IP是10.1.99.103
2的網段是192.168.0.*
大佬們需要配置什么呢
uj5u.com熱心網友回復:
這個直接在匯聚交換機(三層)做網關不就好了么?
uj5u.com熱心網友回復:
Switch(config)#do show runBuilding configuration...
Current configuration : 1465 bytes
!
version 12.2(37)SE1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 3
switchport mode access
switchport nonegotiate
!
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
switchport access vlan 2
switchport mode access
switchport nonegotiate
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
mac-address 0001.42c4.ea01
ip address 192.168.0.254 255.255.255.0
!
interface Vlan3
mac-address 0001.42c4.ea02
ip address 10.1.99.254 255.255.255.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
!
end
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/233237.html
標籤:交換及路由技術
上一篇:請問大家127.255.255.255是一個回環地址還是一個廣播地址呢?
下一篇:問個關于DHCP服務器得問題
