subnet-100

问题描述:求大神解释下,这个subnet该怎么设置啊?给的掩码是27 大家好,给大家分享一下一个有趣的事情,很多人还不知道这一点。下面详细解释一下。现在让我们来看看!

IP VLAN的策略,通过IP直接进入对应的VLAN。 如VLAN1为192.0.2段,VLAN2为192.0.3段。用户192.0.3进VLAN2

subnet-100的相关图片

1、子网掩码27位,即255.255.255.224。

2、后面3位子网掩码可以做成2*2*2=8个子网段,即(000,001,010,011,100,101,110,111)

3、对应的IP地址范围:

000: 192.168.3.0-192.168.3.31。

001: 192.168.3.32-192.168.3.63。

010: 192.168.3.64-192.168.3.95。

011: 192.168.3.96-192.168.3.127。

100: 192.168.3.128-192.168.3.159。

101: 192.168.3.160-192.168.3.191。

110: 192.168.3.192-192.168.3.223。

111: 192.168.3.224-192.168.3.255。

任意取其中的一组或几组做子网段就可以了,子网掩码都是255.255.255.224。

如何配置三层交换机、路由器?的相关图片

如何配置三层交换机、路由器?

基于IP地址的VLAN,实际上就是直接把你的局域网划分多个网段。如果要实现不同网段(不同VLAN)之间的访问,需要三层路由实现。

某些交换机支持基于IP的VLAN,配置如下:

# 将10.200.50.0/24网段与VLAN200进行关联,将192.168.5.0/24网段与VLAN100进行关联。

[Sysname] vlan200。

[Sysname-vlan200] ip-subnet-vlan ip 10.200.50.0 255.255.255.0。

[Sysname-vlan200] quit。

[Sysname] vlan100。

[Sysname-vlan100] ip-subnet-vlan ip 192.168.5.0 255.255.255.0。

linux的DHCP服务启动失败是什么原因?的相关图片

linux的DHCP服务启动失败是什么原因?

我用的三层交换机,拓扑图在下面,你看看就会明白,如果需要pkt文件的话告诉我一下:

1.交换机配置

Building configuration...。

Current configuration : 1456 bytes。

version 12.2

no service timestamps log datetime msec。

no service timestamps debug datetime msec。

no service password-encryption。

hostname Switch。

ip routing

no ip domain-lookup。

interface FastEthernet0/1。

interface FastEthernet0/2。

switchport access vlan 200。

interface FastEthernet0/3。

switchport access vlan 200。

interface FastEthernet0/4。

switchport access vlan 10。

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 10.76.201.2 255.255.255.128。

interface Vlan10。

ip address 192.168.10.254 255.255.255.0。

interface Vlan200。

ip address 10.76.200.1 255.255.255.128。

router ospf 110。

log-adjacency-changes。

network 10.76.201.0 0.0.0.127 area 192。

network 10.76.200.0 0.0.0.127 area 192。

network 192.168.10.0 0.0.0.255 area 192。

2.路由器上所需的配置

interface FastEthernet0/0。

ip address 10.76.201.1 255.255.255.128。

duplex auto

speed auto

interface FastEthernet0/1。

no ip address

duplex auto

speed auto

shutdown

interface Vlan1。

no ip address

shutdown

router ospf 110。

log-adjacency-changes。

network 10.76.201.0 0.0.0.127 area 192。

3.有什么问题可以提。

子网掩码是什么意思的相关图片

子网掩码是什么意思

在unix/linux下安装配置DHCP服务 。

大多数的情况下linux作为DHCP服务器而windows 95/98作为DHCP客户。Linux也可以作为DHCP客户,即你要安装dhcpcd rpm 软件包 ,Linux作为DHCP服务器,只需要安装dhcpd rpm 包。

一.DHCP服务器工作的前提条件:

为了使DHCP服务器为windows机器服务,你可能需要创建一个到地址255.255.255.255的路由,加这条路由命令到/etc/rc.d/rc.local使得每次启动后自动运行。

#route add -host 255.255.255.255 dev eth0。

如果报告错误消息:255.255.255.255:Unkown host。

试着加下面的入口到/etc/hosts文件:。

#route add -host dhcp dev eth0 。

二.DHCPd后台程序总是读取配置文件/etc/dhcpd.conf, 下面给出一个DHCP配置文件的例子:

#Sample /etc/dhcpd.conf。

default-lease-time 1200;。

max-lease-time 9200;。

option subnet-mask 255.255.255.0;。

option broadcast-address 192.168.1.255;。

option routers 192.168.1.254;。

option domain-name-servers 192.168.1.1,192.168.1.2;。

option domain-name "mydomain.org";。

subnet 192.168.1.0 netmask 255.255.255.0 {。

range 192.168.1.10 192.168.1.100;。

range 192.168.1.150 192.168.1.200;。

这将允许DHCP服务器分配两段地址范围给客户192.168.1.10-100或者192.168.1.150-200,如果客户不继续请求DHCP地址则1200秒后释放IP地址,否则最大允许租用的时间为9200秒。

服务器发送下面的参数给DHCP客户机:用255.255.255.0作为子网掩码,用192.168.1.255作为广播地址,用192.168.1.254作为默认网关,用192.168.1.1 and 192.168.1.2作为DNS服务器如果你要为windows客户指定一个WINS服务器,你需要包括下面的选项到dhcpd.conf文件中:option netbios-name-servers 192.168.1.1。

我想了解一下子网掩码

1、子网掩码就是用来标识IP中32位2进制中有多少位属于网络地址,另一功能是用来划分子网 。

2、默认网关地址一般是指网络出口的IP地址,也就是说网络中的计算机通过那台机器出去。一般将网关设为路由器或modem的IP地址。

3、IP地址是指为了能在网络上准确地找到一台计算机,TCP/IP协议为每个连到Internet上的计算机分配了一个惟一的用32位二进制数字表示的地址的字,为便于管理,将它们分割为四部分并转换为十进制数字。如:202.96.128.110。

原文地址:http://www.qianchusai.com/subnet-100.html

我爸爸课外书的内容,我爸爸课外书读后感怎么写

我爸爸课外书的内容,我爸爸课外书读后感怎么写

complement-70

complement-70

electing-30

electing-30

S.E-100,Se100配太阳神

S.E-100,Se100配太阳神

additive-60

additive-60

和源的意思-10,和源的意思和含义是什么

和源的意思-10,和源的意思和含义是什么

佳源国际-80,佳源国际控股有限公司简介

佳源国际-80,佳源国际控股有限公司简介

怡露桶装水-90,怡露桶装水怎么样

怡露桶装水-90,怡露桶装水怎么样

growing-70

growing-70

5329-220

5329-220