通信人家园

标题: olt 5680t光猫下挂PC能访问vlan接口的地址吗?  [查看完整版帖子] [打印本页]

时间:  2023-2-14 14:34
作者: hudengke718     标题: olt 5680t光猫下挂PC能访问vlan接口的地址吗?

{ <cr>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:

  Command:
          display current-configuration
[MA5600V800R008: 2005]

dba-profile add profile-id 10 profile-name "dba-profile_10" type3 assure 10240 max 102400

ont-srvprofile gpon profile-id 1 profile-name "hg"
  ont-port pots adaptive eth adaptive
  commit

ont-lineprofile gpon profile-id 3 profile-name "ONT"
  tcont 1 dba-profile-id 10
  gem add 1 eth tcont 1
  gem mapping 1 0 vlan 46
  gem mapping 1 1 vlan 43
  commit
#

#
[vlan-config]
  <vlan-config>
vlan 43 smart
vlan 46 smart
port vlan 46 0/20 0
#

[vlanif]
  <vlanif43>
interface vlanif43
ip address 192.168.1.2 255.255.255.0
#
ont add 3 0 loid-auth "739015135764" checkcode-auth "118961" always-on omci
ont-lineprofile-id 3 ont-srvprofile-id 1 desc "ONT_NO_DESCRIPTION"
#

service-port 6 vlan 46 gpon 0/1/3 ont 0 gemport 1 multi-service user-vlan 46
tag-transform translate
service-port 7 vlan 43 gpon 0/1/3 ont 0 gemport 1 multi-service user-vlan 43
tag-transform translate
mac-address timer 30
#

在电信定制光猫8145c5新建连接vlan 43 连接模式为桥接绑定光猫网口3,在网口下挂PC,PC网口192.168.1.3/24,在olt上display mac-address vlan 43能看到透传上来的PC mac地址初步判断业务流没有问题了。能否在该PC上访问olt上vlan43的接口地址192.168.1.2,现场测试PC ping不通olt,在olt上ping 192.168.1.3电脑网口的地址也不通,需要在olt上配置路由吗?按道理二层通信应该是不需要路由的吧?




时间:  2023-2-15 07:38
作者: hudengke718

已经自行解决。




通信人家园 (https://www.txrjy.com/) Powered by C114