题目:
给了一组cisco 3560交换机的查看信息,请问:如果把插在思科3560交换机上的第24口的网线拔掉插到电脑上,电脑需要设置什么IP能够上网啊(主要是子网掩码是多少),主要问题是如何计算子网掩码?255.255.255.252是否可用?据说需要计算,请问如何计算啊?
3560#sh run
Building configuration...
Current configuration : 1932 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Henggang-3560
!
enable secret 5 $1$76ab$FyTaO4vb2iRoDp2ZTwZRf/
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
no ip domain-lookup
ip dhcp excluded-address 19.110.250.190
!
ip dhcp pool henggang
network 19.110.250.160 255.255.255.224
dns-server 19.104.8.3 19.104.11.3
default-router 19.110.250.190
lease 7
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
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
no switchport
ip address 19.110.255.246 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 7 05380701074D400E3B0419
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 19.110.250.190 255.255.255.224
!
router ospf 100
log-adjacency-changes
network 19.110.250.190 0.0.0.0 area 101
network 19.110.255.246 0.0.0.0 area 101
!
ip classless
ip http server
!
!
snmp-server community dgsf RO
!
control-plane
!
!
line con 0
password 7 094F471A1A0A
logging synchronous
login
line vty 0 4
password 7 094F471A1A0A
logging synchronous
login
line vty 5 15
login
!
end