vlan平台下载网络问题,哪位大师指点下

查看:1978|回复:7
pon设备是使用瑞斯康达的,OLT的中vlan是从核心交换机透传过来的,最近出现了一个比较奇怪的问题,在OLT中透传的VLAN,将这个vlan删除后在添加同样的vlan,所有的ONU都使用不了这个VLAN了,是什么问题导致这样的?
我是棒棒糖~~
有报什么错么
mark,学习
引用:原帖由 happypumpkin 于
08:07 发表
有报什么错么 没有任何报错,已经透传过的VLAN都能正常使用,新添加的就用不了,这些vlan在核心交换机都正常,OLT上以前能使用的VLAN把删除掉在添加上也不能使用
中级工程师
贴一下OLT交换机EPON的配置,一个ONU的就可以
怎么个不能使用法?详细说说,数据做得有问题吧?vlan是在OLT、ONU上分别直接配的还是OLT自动给ONU下发的,我熟悉华为的对瑞斯康达不是很了解
引用:原帖由 iamzhangxiaoguo 于
14:57 发表
怎么个不能使用法?详细说说,数据做得有问题吧?vlan是在OLT、ONU上分别直接配的还是OLT自动给ONU下发的,我熟悉华为的对瑞斯康达不是很了解 分别配置的,有dhcp服务器,如果vlan正常的话能够自动获取到ip
。现在的情况是比如vl an10已在olt中透传,并配置到oun上,已经能够自动获得ip,我在olt中把vlan10删掉在重新添加,在以前已经有vlan10或者在新的onu下配置vlan10,都不能自动获取到ip了
中级工程师
引用:原帖由 封尘的技艺 于
17:11 发表
分别配置的,有dhcp服务器,如果vlan正常的话能够自动获取到ip
。现在的情况是比如vl an10已在olt中透传,并配置到oun上,已经能够自动获得ip,我在olt中把vlan10删掉在重新添加,在以前已经有vlan10或者在新的onu下配置vlan10 ... 需要在OLT的ONU接口上添加VLAN。不知道这样说你是不是理解,删除VLAN后可能是ONU虚接口也不属于这个VLAN,等你添加VLAN后,还需要在ONU虚接口上允许这个VLAN通过,这也是我让你贴ONU接口配置的原因校园网smoothwall 解决方案--多VLAN问题的解决
字体:[ ] 类型:转载 时间:
screen.width-461) window.open('attachment/Mon_.gif');" onload="if(this.width>screen.width-460)this.width=screen.width-460" src="http://bbs./attachment/Mon_.gif" width=564>&内容概要:在这篇文章里,我们将讨论在一个典型的校园网环境下如何部署smoothwall代理服务器,其中主要讨论多vlan里配置静态路由问题(因为其他的如汉化、更新、端口镜象、回流等其他情灭缘尽已经演示得非常的清楚了)学校校园网拓扑图如图 Smoothwall 配置:Internetip: 202.98.30.69mask: 255.255.255.224DG: & 202.98.56.94DNS: 61.128.128.68LAN:ip:172.16.200.1mask: 255.255.255.0核心交换机配置:(划分了20个vlan)[size=4][/size][color=darkred][/color]interface "tech" ip address 172.16.6.1 255.255.255.0 ip vlan name "vlan6" ! interface "server" ip address 172.16.7.1 255.255.255.0 ip vlan name "vlan7" ! interface "zonghe" ip address 172.16.8.1 255.255.255.0 ip vlan name "vlan8" ! interface "lib" ip address 172.16.9.1 255.255.255.0 ip vlan name "vlan9" ! interface "yijiao" ip address 172.16.12.1 255.255.255.0 ip vlan name "vlan12" ! interface "sanjiao" ip address 172.16.11.1 255.255.255.0 ip vlan name "vlan11" ! interface "2jiao" ip address 172.16.13.1 255.255.255.0 ip vlan name "vlan13" ! interface "jifang-5" ip address 172.16.14.1 255.255.255.0 ip vlan name "vlan14" ! interface "art" ip address 172.16.15.1 255.255.255.0 ip vlan name "vlan15" ! interface "vlan2" ip address 172.16.2.1 255.255.255.0 ip vlan name "vlan2" ! interface "vlan3" ip address 172.16.3.1 255.255.255.0 ip vlan name "vlan3" ! interface "vlan4" ip address 172.16.4.1 255.255.255.0 ip vlan name "vlan4" ! interface "vlan5" ip address 172.16.5.1 255.255.255.0 ip vlan name "vlan5" ! interface "vlan16" ip address 172.16.16.1 255.255.255.0 ip vlan name "vlan16" ! interface "vlan17" ip address 172.16.17.1 255.255.255.0 ip vlan name "vlan17" ! interface "vlan18" ip address 172.16.18.1 255.255.255.0 ip vlan name "vlan18" ! interface "vlan19" ip address 172.16.19.1 255.255.255.0 ip vlan name "vlan19" ! interface "vlan20" ip address 172.16.20.1 255.255.255.0 ip vlan name "vlan20" ! interface "upload" ip address 172.16.200.2 255.255.255.0 ip vlan name "upload" ! interface "vlan10" ip address 172.16.10.1 255.255.255.0 ip vlan name "vlan10" ! ip route 0.0.0.0 0.0.0.0 172.16.200.1 1 low (默认路由)A 为vlan 7 里一台主机配置如下:ip: & 172.16.7.5mask: 255.255.255.0DG: & 172.16.7.1DNS: & 61.128.128.68这个网络 我们可以简单归结如下:A---核心交换机----代理服务器----Internet我们假设在A ping 重庆电信的DNS 61.128.128.68 的数据包进行分析a 发出一个icmp包 首先到达本机的网关172.16.7.1 检查目标地址非本网段地址,于是转发最后到达172.16.7.200.2,然后核心交换机根据默认路由将数据包发送给172.16.200.1SW 通过NAT 将该包向外转发到达61.128.128.68。通过这个分析我们发现默认配置情况下,发送出去的包是可以顺利到达目的地址。那么返回的数据包呢?通过分析我们知道返回的数据包可以顺利到达172.16.200.1,那是不是说他也可以顺利返回到172.16.7.5呢,让我们登陆到sw的root界面,来看看#routeKernel IP routing tableDestination & Gateway & & & Genmask & & & Flags Metric Ref & Use Iface202.98.30.69 & 0.0.0.0 & & & 255.255.255.224 U & 0 & & 0 & & 0 eth1172.16.200.0 & 0.0.0.0 & & & 255.255.255.0 & U & 0 & & 0 & & 0 eth00.0.0.0 & & & 202.98.56.94 & 0.0.0.0 & & & UG & 0 & & 0 & & 0 eth1从这个路由表中我们可以清楚知道只有三条路由,返回的数据包在172.16.200.1的时候就把包给丢弃了,从而无法返回。在这里我们可以通过在root 登陆sw 手动添加静态路由,就可以解决这个问题了经过情灭缘尽和天外飞星的指点,我们学会了这样的命令:route add -net 172.16.2.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.3.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.4.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.5.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.6.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.7.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.10.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.11.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.12.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.13.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.14.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.15.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.16.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.17.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.18.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.19.0 netmask 255.255.255.0 gw 172.16.200.2route add -net 172.16.20.0 netmask 255.255.255.0 gw 172.16.200.2这些路由信息就是告诉我们的sw 如果返回的数据包目标地址是172.16.7.0/24 就把数据发送给172.16.200.2(交换机),到了交换机 数据包就可以根据里面vlan 找到自己对应的机器了。通过这样我们学校的每台电脑就可以上网了。我找了一台p4 1.6 +256M+40G硬盘+2个8139网卡 代理我们学校500多台电脑上网(同时在线一般在300台),大家都觉得很快,高兴死我了。当我们重新启动sw的时候,我们会发现路由信息丢失了,如何解决这个问题呢,其实和解决回流的办法是一样的,不过脚本不同而已,下次我继续写吧
文章录入:csh&&&&责任编辑:csh&
大家感兴趣的内容
12345678910
最近更新的内容
常用在线小工具查看: 8294|回复: 64
本人菜鸟,想做一套小区网络服务器,求高手指点
有20来个用户,不知选什么样的设备,服务器怎样构建?
有20来个用户,不知选什么样的设备,服务器怎样构建?
yahooo 发表于
& & 你得先说清楚需求,不然如何给你解答?比如说网络结构(对外什么网络,对内什么网络),提供哪些服务,打算用什么系统,对管理有什么要求等等,呵呵.
有20来个用户,不知选什么样的设备,服务器怎样构建?
yahooo 发表于
& & 是不是小区宽带啊?
是想共享上网吧,所需设备如下:
1、路由器一个。
2、20多口的集线器一个(有几个电脑就要有几个口,口多了没事,闲着呗,口少了电脑没地方插啊。)
3、把入户网线插路由器入口上,把其它电脑的网线都插路由器出口上,路由器按说明书设好后,其它电脑全部设成自动获得IP地址,一般就都能上网了。
**当然了,你可以用无线路由器,用无线路由器就不用集线器了,但所有电脑都要有无线网卡**
需求不明,无法解答
提示: 作者被禁止或删除 内容自动屏蔽
你得先说清楚需求,不然如何给你解答?比如说网络结构(对外什么网络,对内什么网络),提供哪些服务,打 ...
cosine 发表于
& & 我对这方面不太懂,也就是小区网络,要有内部电影和音乐服务,共享宽带之类,合理分配网速,不知道要用什么网络结构才好,听说普通网线超过百米会变得很慢,还有布线也很麻烦,无线形式的覆盖率没那么广,普通集线服务器我不会做,大家有什么好办法吗?
是不是小区宽带啊?
starxi 发表于
& & 没错,有新的方案吗?
没错,有新的方案吗?
yahooo 发表于
& & 内部电影和音乐可能麻烦些,如果只是想共享带宽那好办,50户以内用个,internet出口--------普通4wan口路由器-----LAN口下联核心交换机打上vlan-----核心下面接普通交换最长100米网线-------到用户电脑最长100米,200米够了吧?再不行上光缆那就麻烦了
有没有更好的无线覆盖方案
用无线轻松多了。
当然,周末大家一同看电影就够呛。
那购买2台16口的交换机是有必要的。端口就有32个了。我这有货。然后单独拿个电脑下载电影。加磁盘做影视库。不过比较麻烦的是用户下电影你控制起来可能不足。建议几个人和几个人组成小网络,然后一步步向上扩展,就买一台16口的交换机就行了。
具体距离有多远?要什么结构?
用户的具体分布式怎样的,最远的用户离机房有多远距离(这个距离是指布线的距离)
LZ不是在想要搞运营吧?
菜鸟还是算了,和电信也有的要搞了,因为不符合他们的规矩,会招致商业风险。
在技术上,室外的骨干网应该选用千兆光缆,因为超五类双绞线在室外很容易遭受雷击,使终端设备受损,并且双绞线在超过传输距离100米就不能保证信号。
另外,常用的家庭小路由器会不堪重负,效率下降严重,需采用企业级的才好。
微信:caoyin513
Powered by查看:5971|回复:42
(15.98 KB)
交换机2上划分2,3,4三个VLAN,交换机3上划分2,3两个VLAN,PC5和PC8在VLAN2中,PC6和PC9在VLAN3中,PC7在VLAN4中,所有电脑的IP在同一网段,二层交换机与三层交换机相连的口都打成了TRUNK,三层交换机的路由功能也开启了,发现还是不能通信。&&三层交换机要怎样配置才能实现不同VLAN之间的路由呢?
& && &问了一高人,他说把三层交换机上与二层交换机相连的那个口也要打成TRUNK,就可以实现他们之间的通信了,但是我发现在三层交换机上根本就无法把接口打成TRUNK。
& && &还有查资料发现有这样一句话,“不同VLAN之间不通过单臂路由,那么一个VLAN至少要占用三层交换机的一个物理接口才能实现不同VLAN间的路由”,如果上图能实现不同VLAN间路由的话,那么这句话就错了啊。
& &&&高手们详细指点下,人比较笨,先谢谢了。
好问题,值得研究
每个细小的问题都将助你向成为高手迈进一大步。
中级工程师
不同的VLAN下的IP当然不能和其它VLAN的IP在同一网段。还有就是创建VLAN后在交换机上是否有创建VLAN的管理IP?还有PC端的网关ip要设置成上层交换机VLAN管理ip。
不同的VLAN ip可以在同一网段的。
配置子接口并封装 是否能解决此问题?
菜鸟路过。
三层交换的接口首先要设trunk的封装模式,否则不能设置trunk!!!!
Switch(config)#int f0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#no shu
Switch(config-if)#do sho int trun
Port& && &&&Mode& && && &Encapsulation&&Status& && &&&Native vlan
Fa0/1& && & on& && && &&&802.1q& && && &trunking& && &1
Port& && &&&Vlans allowed on trunk
Fa0/1& && & 1-1005
Port& && &&&Vlans allowed and active in management domain
Fa0/1& && & 1
Port& && &&&Vlans in spanning tree forwarding state and not pruned
Fa0/1& && & 1
Switch(config-if)#
另外说明一下
cisco 的三层交换的接口是可以在二层接口和三层接口间切换的
Switch(config)#int f0/1
Switch(config-if)#no switchport #设置成三层接口
Switch(config-if)#switchport #设置成二层接口
楼主最好好好补一下三层交换的操作文档,不要遇到问题就下定论“但是我发现在三层交换机上根本就无法把接口打成TRUNK”
本帖最后由 onlyshenmin 于
10:22 编辑
白袍大法师
把你的配置发上来,如果不让配置,把错误提示发上来
天下风云出我辈, 一入江湖岁月催。当年的“小侠唐在飞” 如今变成了“大侠唐在飞”。?金杯银杯,不如网友的口碑;金奖银奖,不如网友的褒奖;熊掌鸭掌,不如网友的鼓掌~& &
?欢迎加入“唐志强技术教学交流群”,群号:。?
(24.45 KB)
电脑0和2在VLAN2中,1在VLAN3中,4在VLAN4中,与我的帖子的图有点区别,不是同一个图哈,希望大家不要受影响哈。
(15.46 KB)
三层交换机的配置
(19.17 KB)
其中电脑0的IP是192.168.1.2,网关是1.1,电脑3的IP是1.3,网关是1.1,电脑2的IP是2.2,网关是2.1,电脑4的IP是3.2,网关是3.1,其中VLAN2的IP是1.1,VLAN2的IP是2.1,VLAN3的IP是3.1.
本帖最后由 4 于
00:06 编辑
每个细小的问题都将助你向成为高手迈进一大步。
白袍大法师
兄弟,你3560上没有设置svi吗??
interface Vlan2
ip address 192.168.2.1 255.255.255.0
得这样设置所有的网关啊
天下风云出我辈, 一入江湖岁月催。当年的“小侠唐在飞” 如今变成了“大侠唐在飞”。?金杯银杯,不如网友的口碑;金奖银奖,不如网友的褒奖;熊掌鸭掌,不如网友的鼓掌~& &
?欢迎加入“唐志强技术教学交流群”,群号:。?
这个我配了,但是还是不通,路由功能也开启了。
每个细小的问题都将助你向成为高手迈进一大步。
白袍大法师
我说了多回,请把所有设备完整配置发上来。。
天下风云出我辈, 一入江湖岁月催。当年的“小侠唐在飞” 如今变成了“大侠唐在飞”。?金杯银杯,不如网友的口碑;金奖银奖,不如网友的褒奖;熊掌鸭掌,不如网友的鼓掌~& &
?欢迎加入“唐志强技术教学交流群”,群号:。?
三层交换机的配置:
新拓扑,由于帖子中实验没保存:
(25.83 KB)
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
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
no ip address
interface Vlan2
ip address 192.168.1.1 255.255.255.0
interface Vlan3
ip address 192.168.2.1 255.255.255.0
interface Vlan4
ip address 192.168.3.1 255.255.255.0
ip classless
!line con 0
line vty 0 4
交换机0的配置:
Switch#show running
Building configuration...
Current configuration : 1158 bytes
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
hostname Switch
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
interface FastEthernet0/2
switchport access vlan 3
switchport mode access
interface FastEthernet0/3
switchport access vlan 4
switchport mode trunk
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 GigabitEthernet1/1
interface GigabitEthernet1/2
interface Vlan1
no ip address
line con 0
line vty 0 4
line vty 5 15
交换机1的配置:
Switch#show running
Building configuration...
Current configuration : 1132 bytes
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
hostname Switch
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
interface FastEthernet0/2
switchport access vlan 3
switchport mode access
interface FastEthernet0/3
switchport mode trunk
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 GigabitEthernet1/1
interface GigabitEthernet1/2
interface Vlan1
no ip address
line con 0
line vty 0 4
line vty 5 15
其中电脑2(IP:192.168.1.2)和5(IP:192.168.1.3)在VLAN2上,电脑3(IP:192.168.2.2)和6(192.168.2.3)中VLAN3中,电脑4(IP:192.168.3.2)在VLAN4上。
现在我要实现的是VLAN2中的电脑能和VLAN3,VLAN4的电脑通信。
每个细小的问题都将助你向成为高手迈进一大步。
PC上面配置网关了吗?
配置了,谢谢。
每个细小的问题都将助你向成为高手迈进一大步。
怪事了,中午配置的,当时怎么也没PING通,但是现在VLAN2和VLAN3可以PING通,但是VLAN4无法与其它VLAN通信,难道是模拟器的问题???
每个细小的问题都将助你向成为高手迈进一大步。
在三层上配置静态路由表
助理工程师
3层交换机配置VLAN间的通信很简单
在3层上给每个VLAN配置一个对应接口(物理的或者虚拟的)和IP,作为对应VLAN的网关.
然后开启ip routing
配置好trunk...
本帖最后由 赵兄 于
11:46 编辑
我就不直接针对你的具体问题讲了。我给你发个我以前的实验文档,我看下就明白了。
14:40, 下载次数: 300
简单VLAN和VLAN间路由实现
交换机0上端口的配置 不知道你这到底是做access还是trunk
interface FastEthernet0/3
switchport access vlan 4
switchport mode trunk
初级工程师
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
interface FastEthernet0/3
switchport access vlan 3
switchport mode access
interface FastEthernet0/4
switchport access vlan 4
switchport mode access
interface FastEthernet0/5
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
interface FastEthernet0/3
switchport access vlan 3
switchport mode access
interface FastEthernet0/4
interface FastEthernet0/5
interface FastEtherne
interface FastEthernet0/
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/3
interface Vlan1
no ip address
interface Vlan2
ip address 192.168.2.1 255.255.255.0
interface Vlan3
ip address 192.168.3.1 255.255.255.0
interface Vlan4
ip address 192.168.4.1 255.255.255.0
ip classless
初级工程师
“ 问了一高人,他说把三层交换机上与二层交换机相连的那个口也要打成TRUNK,就可以实现他们之间的通信了,但是我发现在三层交换机上根本就无法把接口打成TRUNK”
无法打trunk& &&&还有什么发现。
如果不行,最好先找这方面的资料研究一下,很多这方面的资料的。

我要回帖

更多关于 vlan平台下载 的文章

 

随机推荐