我配置的VRRP虚拟网关和实际生产获取到的不一样。我实际生产获取的网关是192.168.1.1 并非虚拟网关的192.168.1.254
(0)
dhcp地址里配置的是否正确
(0)
但是并没有配置DHCP
没做dhcp 怎么自动动获取地址的?小路由?
上面就是一个山石的防火墙了 下面是两台核心交换机
这是核心上所有的配置,下面就是一个端口了。 [JNZZS7506A]dis cu # version 7.1.070, Release 7624P09 # mdc Admin id 1 # sysname JNZZS7506A # telnet server enable # irf-port multicast-forwarding mode standard forward-path-detection enable # irf mode normal # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 101 # vlan 254 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 172.16.100.254 255.255.255.0 vrrp vrid 1 virtual-ip 172.16.100.1 vrrp vrid 1 priority 110 dhcp client identifier ascii 00ddb65d0c00-VLAN0001 # interface Vlan-interface101 ip address 192.168.1.252 255.255.255.0 vrrp vrid 101 virtual-ip 192.168.1.254 vrrp vrid 101 priority 110 # interface Vlan-interface254 ip address 192.168.254.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.254.1 vrrp vrid 1 priority 110 #
这个是在dhcp里面配置的,检查dhcp的配置
(0)
客户端ipconfig /all能看到dhcp server的地址,有可能是旁挂的一台,靠广播分配地址,现通过这个命令找到server的地址
没有配置DHCP
所以我现在也很纳闷 我核心交换机所有配置我都检查了 并没有发现有DHCP地址池之类的
[JNZZS7506A]dis cu # version 7.1.070, Release 7624P09 # mdc Admin id 1 # sysname JNZZS7506A # telnet server enable # irf-port multicast-forwarding mode standard forward-path-detection enable # irf mode normal # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 101 # vlan 254 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 172.16.100.254 255.255.255.0 vrrp vrid 1 virtual-ip 172.16.100.1 vrrp vrid 1 priority 110 dhcp client identifier ascii 00ddb65d0c00-VLAN0001 # interface Vlan-interface101 ip address 192.168.1.252 255.255.255.0 vrrp vrid 101 virtual-ip 192.168.1.254 vrrp vrid 101 priority 110 # interface Vlan-interface254 ip address 192.168.254.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.254.1 vrrp vrid 1 priority 110 # interface GigabitEthernet0/0/1 port link-mode bridge port access vlan 101 # interface GigabitEthernet0/0/2 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/3 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/4 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/5 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/6 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/7 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/8 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/9 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/10 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/11 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/12 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/13 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/14 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/15 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/16 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/17 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/18 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/19 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/20 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/21 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/22 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/23 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/24 port link-mode bridge port access vlan 101 stp edged-port # interface M-GigabitEthernet0/0/0 # interface M-GigabitEthernet0/0/1 # interface Ten-GigabitEthernet0/0/25 port link-mode bridge # interface Ten-GigabitEthernet0/0/26 port link-mode bridge # interface Ten-GigabitEthernet0/0/27 port link-mode bridge # interface Ten-GigabitEthernet0/0/28 port link-mode bridge # interface Ten-GigabitEthernet0/0/29 port link-mode bridge # interface Ten-GigabitEthernet0/0/30 port link-mode bridge # interface Ten-GigabitEthernet0/0/31 port link-mode bridge # interface Ten-GigabitEthernet0/0/32 port link-mode bridge # interface Ten-GigabitEthernet0/0/33 port link-mode bridge # interface Ten-GigabitEthernet0/0/34 port link-mode bridge # interface Ten-GigabitEthernet0/0/35 port link-mode bridge # interface Ten-GigabitEthernet0/0/36 port link-mode bridge # interface Ten-GigabitEthernet0/0/37 port link-mode bridge # interface Ten-GigabitEthernet0/0/38 port link-mode bridge # interface Ten-GigabitEthernet0/0/39 port link-mode bridge # interface Ten-GigabitEthernet0/0/40 port link-mode bridge # interface Twenty-FiveGigE3/0/4 port link-mode route description conn_7506B ip address 192.168.0.252 255.255.255.0 vrrp vrid 6 virtual-ip 192.168.0.254 vrrp vrid 6 priority 110 # interface Twenty-FiveGigE3/0/1 port link-mode bridge description conn_S5560 port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/2 port link-mode bridge description conn_S5130A port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/3 port link-mode bridge description conn_S5130B port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE4/0/1 port link-mode bridge # interface Twenty-FiveGigE4/0/2 port link-mode bridge # interface Twenty-FiveGigE4/0/3 port link-mode bridge # interface Twenty-FiveGigE4/0/4 port link-mode bridge # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 1 user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-15 user-role network-operator # line vty 5 63 user-role network-operator # ssh server enable # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user jnzz class manage service-type telnet ssh authorization-attribute user-role network-operator # return
客户端ipconfig /all能看到dhcp server的地址,有可能是旁挂的一台,靠广播分配地址,现通过这个命令找到server的地址
您好,确认一下dhcp中网关地址
(0)
[JNZZS7506A]dis cu # version 7.1.070, Release 7624P09 # mdc Admin id 1 # sysname JNZZS7506A # telnet server enable # irf-port multicast-forwarding mode standard forward-path-detection enable # irf mode normal # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 101 # vlan 254 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 172.16.100.254 255.255.255.0 vrrp vrid 1 virtual-ip 172.16.100.1 vrrp vrid 1 priority 110 dhcp client identifier ascii 00ddb65d0c00-VLAN0001 # interface Vlan-interface101 ip address 192.168.1.252 255.255.255.0 vrrp vrid 101 virtual-ip 192.168.1.254 vrrp vrid 101 priority 110 # interface Vlan-interface254 ip address 192.168.254.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.254.1 vrrp vrid 1 priority 110 # interface GigabitEthernet0/0/1 port link-mode bridge port access vlan 101 # interface GigabitEthernet0/0/2 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/3 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/4 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/5 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/6 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/7 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/8 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/9 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/10 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/11 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/12 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/13 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/14 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/15 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/16 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/17 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/18 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/19 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/20 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/21 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/22 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/23 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/24 port link-mode bridge port access vlan 101 stp edged-port # interface M-GigabitEthernet0/0/0 # interface M-GigabitEthernet0/0/1 # interface Ten-GigabitEthernet0/0/25 port link-mode bridge # interface Ten-GigabitEthernet0/0/26 port link-mode bridge # interface Ten-GigabitEthernet0/0/27 port link-mode bridge # interface Ten-GigabitEthernet0/0/28 port link-mode bridge # interface Ten-GigabitEthernet0/0/29 port link-mode bridge # interface Ten-GigabitEthernet0/0/30 port link-mode bridge # interface Ten-GigabitEthernet0/0/31 port link-mode bridge # interface Ten-GigabitEthernet0/0/32 port link-mode bridge # interface Ten-GigabitEthernet0/0/33 port link-mode bridge # interface Ten-GigabitEthernet0/0/34 port link-mode bridge # interface Ten-GigabitEthernet0/0/35 port link-mode bridge # interface Ten-GigabitEthernet0/0/36 port link-mode bridge # interface Ten-GigabitEthernet0/0/37 port link-mode bridge # interface Ten-GigabitEthernet0/0/38 port link-mode bridge # interface Ten-GigabitEthernet0/0/39 port link-mode bridge # interface Ten-GigabitEthernet0/0/40 port link-mode bridge # interface Twenty-FiveGigE3/0/4 port link-mode route description conn_7506B ip address 192.168.0.252 255.255.255.0 vrrp vrid 6 virtual-ip 192.168.0.254 vrrp vrid 6 priority 110 # interface Twenty-FiveGigE3/0/1 port link-mode bridge description conn_S5560 port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/2 port link-mode bridge description conn_S5130A port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/3 port link-mode bridge description conn_S5130B port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE4/0/1 port link-mode bridge # interface Twenty-FiveGigE4/0/2 port link-mode bridge # interface Twenty-FiveGigE4/0/3 port link-mode bridge # interface Twenty-FiveGigE4/0/4 port link-mode bridge # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 1 user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-15 user-role network-operator # line vty 5 63 user-role network-operator # ssh server enable # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user jnzz class manage service-type telnet ssh authorization-attribute user-role network-operator # return
[JNZZS7506A]dis cu # version 7.1.070, Release 7624P09 # mdc Admin id 1 # sysname JNZZS7506A # telnet server enable # irf-port multicast-forwarding mode standard forward-path-detection enable # irf mode normal # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 101 # vlan 254 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 172.16.100.254 255.255.255.0 vrrp vrid 1 virtual-ip 172.16.100.1 vrrp vrid 1 priority 110 dhcp client identifier ascii 00ddb65d0c00-VLAN0001 # interface Vlan-interface101 ip address 192.168.1.252 255.255.255.0 vrrp vrid 101 virtual-ip 192.168.1.254 vrrp vrid 101 priority 110 # interface Vlan-interface254 ip address 192.168.254.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.254.1 vrrp vrid 1 priority 110 # interface GigabitEthernet0/0/1 port link-mode bridge port access vlan 101 # interface GigabitEthernet0/0/2 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/3 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/4 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/5 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/6 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/7 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/8 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/9 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/10 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/11 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/12 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/13 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/14 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/15 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/16 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/17 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/18 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/19 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/20 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/21 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/22 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/23 port link-mode bridge port access vlan 101 stp edged-port # interface GigabitEthernet0/0/24 port link-mode bridge port access vlan 101 stp edged-port # interface M-GigabitEthernet0/0/0 # interface M-GigabitEthernet0/0/1 # interface Ten-GigabitEthernet0/0/25 port link-mode bridge # interface Ten-GigabitEthernet0/0/26 port link-mode bridge # interface Ten-GigabitEthernet0/0/27 port link-mode bridge # interface Ten-GigabitEthernet0/0/28 port link-mode bridge # interface Ten-GigabitEthernet0/0/29 port link-mode bridge # interface Ten-GigabitEthernet0/0/30 port link-mode bridge # interface Ten-GigabitEthernet0/0/31 port link-mode bridge # interface Ten-GigabitEthernet0/0/32 port link-mode bridge # interface Ten-GigabitEthernet0/0/33 port link-mode bridge # interface Ten-GigabitEthernet0/0/34 port link-mode bridge # interface Ten-GigabitEthernet0/0/35 port link-mode bridge # interface Ten-GigabitEthernet0/0/36 port link-mode bridge # interface Ten-GigabitEthernet0/0/37 port link-mode bridge # interface Ten-GigabitEthernet0/0/38 port link-mode bridge # interface Ten-GigabitEthernet0/0/39 port link-mode bridge # interface Ten-GigabitEthernet0/0/40 port link-mode bridge # interface Twenty-FiveGigE3/0/4 port link-mode route description conn_7506B ip address 192.168.0.252 255.255.255.0 vrrp vrid 6 virtual-ip 192.168.0.254 vrrp vrid 6 priority 110 # interface Twenty-FiveGigE3/0/1 port link-mode bridge description conn_S5560 port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/2 port link-mode bridge description conn_S5130A port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE3/0/3 port link-mode bridge description conn_S5130B port link-type trunk port trunk permit vlan all # interface Twenty-FiveGigE4/0/1 port link-mode bridge # interface Twenty-FiveGigE4/0/2 port link-mode bridge # interface Twenty-FiveGigE4/0/3 port link-mode bridge # interface Twenty-FiveGigE4/0/4 port link-mode bridge # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 1 user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-15 user-role network-operator # line vty 5 63 user-role network-operator # ssh server enable # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user jnzz class manage service-type telnet ssh authorization-attribute user-role network-operator # return
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这是核心上所有的配置,下面就是一个端口了。 [JNZZS7506A]dis cu # version 7.1.070, Release 7624P09 # mdc Admin id 1 # sysname JNZZS7506A # telnet server enable # irf-port multicast-forwarding mode standard forward-path-detection enable # irf mode normal # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 101 # vlan 254 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 172.16.100.254 255.255.255.0 vrrp vrid 1 virtual-ip 172.16.100.1 vrrp vrid 1 priority 110 dhcp client identifier ascii 00ddb65d0c00-VLAN0001 # interface Vlan-interface101 ip address 192.168.1.252 255.255.255.0 vrrp vrid 101 virtual-ip 192.168.1.254 vrrp vrid 101 priority 110 # interface Vlan-interface254 ip address 192.168.254.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.254.1 vrrp vrid 1 priority 110 #