S5560交换机的端口直接连电脑显示出2个默认网关 ,哪里配置有问题?
(0)
最佳答案
电脑显示有2个网关?电脑有配置吗
(0)
电脑自动获取
默认网关会出现2个地址
一般情况下,电脑和交换机直连的话,pc那边只需要找到对应网卡的ipv4地址,将地址改为和交换机互联地址在同一网段即可。
您好,请知:
(0)
电脑应该没什么问题,才装的系统。交换机我刚看了下应该也就设置了一个网关地址,但我不知道看的对不对,交换机查看网关的命令有哪些?求指导谢谢
电脑应该没什么问题,才装的系统。交换机我刚看了下应该也就设置了一个网关地址,但我不知道看的对不对,交换机查看网关的命令有哪些?求指导谢谢
1、电脑本地网卡在命令行下释放下原来的信息,ipconfig /release
2、还不行的话交换机的配置贴出来看看
(0)
应该是你电脑问题,再找一台电脑排除下
# sysname S5560-28S-SI-HX # telnet server enable # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # lldp global enable # password-recovery enable # vlan 1 # vlan 2 description 固定地址 # vlan 3 # vlan 10 to 20 # vlan 30 description 管理 # vlan 40 description 四楼 # vlan 41 description 四楼 # vlan 42 description 四楼 # vlan 50 description 5楼 # vlan 51 description 5楼 # vlan 52 description 5楼 # stp global enable # dhcp server ip-pool vlan1 gateway-list 192.168.111.1 network 192.168.111.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan2 gateway-list 192.168.2.1 network 192.168.2.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan3 gateway-list 192.168.3.1 network 192.168.3.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan10 gateway-list 192.168.10.1 network 192.168.10.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan11 gateway-list 192.168.11.1 network 192.168.11.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan12 gateway-list 192.168.12.1 network 192.168.12.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan13 gateway-list 192.168.13.1 network 192.168.13.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan14 gateway-list 192.168.14.1 network 192.168.14.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan15 gateway-list 192.168.15.1 network 192.168.15.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan16 gateway-list 192.168.16.1 network 192.168.16.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan17 gateway-list 192.168.17.1 network 192.168.17.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # dhcp server ip-pool vlan18 gateway-list 192.168.18.1 network 192.168.18.0 mask 255.255.255.0 dns-list 202.103.24.68 114.114.114.114 # interface NULL0 # interface Vlan-interface1 ip address 192.168.111.1 255.255.255.0 # interface Vlan-interface2 ip address 192.168.2.1 255.255.255.0 # interface Vlan-interface3 ip address 192.168.3.1 255.255.255.0 # interface Vlan-interface10 ip address 192.168.10.1 255.255.255.0 # interface Vlan-interface11 ip address 192.168.11.1 255.255.255.0 # interface Vlan-interface12 ip address 192.168.12.1 255.255.255.0 # interface Vlan-interface13 ip address 192.168.13.1 255.255.255.0 # interface Vlan-interface14 ip address 192.168.14.1 255.255.255.0 # interface Vlan-interface15 ip address 192.168.15.1 255.255.255.0 # interface Vlan-interface16 ip address 192.168.16.1 255.255.255.0 # interface Vlan-interface17 ip address 192.168.17.1 255.255.255.0 # interface Vlan-interface18 ip address 192.168.18.1 255.255.255.0 # interface Vlan-interface19 ip address 192.168.19.1 255.255.255.0 # interface Vlan-interface20 ip address 192.168.20.1 255.255.255.0 # interface Vlan-interface30 description 管理 ip address 192.168.30.2 255.255.255.0 # interface Vlan-interface40 ip address 192.168.40.1 255.255.255.0 # interface Vlan-interface41 ip address 192.168.41.1 255.255.255.0 # interface Vlan-interface42 ip address 192.168.42.1 255.255.255.0 # interface Vlan-interface50 ip address 192.168.50.1 255.255.255.0 # interface Vlan-interface51 ip address 192.168.51.1 255.255.255.0 # interface Vlan-interface52 ip address 192.168.52.1 255.255.255.0 # interface GigabitEthernet1/0/1 description 四楼 port access vlan 40 stp edged-port # interface GigabitEthernet1/0/2 description 四楼 port access vlan 41 # interface GigabitEthernet1/0/3 description 四楼 port access vlan 42 # interface GigabitEthernet1/0/4 port access vlan 50 # interface GigabitEthernet1/0/5 port access vlan 51 stp edged-port # interface GigabitEthernet1/0/6 port access vlan 52 # interface GigabitEthernet1/0/7 port access vlan 18 # interface GigabitEthernet1/0/8 port access vlan 18 # interface GigabitEthernet1/0/9 port access vlan 18 # interface GigabitEthernet1/0/10 port access vlan 19 # interface GigabitEthernet1/0/11 port access vlan 19 # interface GigabitEthernet1/0/12 port access vlan 19 # interface GigabitEthernet1/0/13 port access vlan 20 # interface GigabitEthernet1/0/14 port access vlan 20 # interface GigabitEthernet1/0/15 port access vlan 20 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 port access vlan 16 stp edged-port # interface GigabitEthernet1/0/19 # interface GigabitEthernet1/0/20 # interface GigabitEthernet1/0/21 description 工厂 port access vlan 17 # interface GigabitEthernet1/0/22 description 财务 port access vlan 2 # interface GigabitEthernet1/0/23 description TO_5120-28P-WINET_B_G1/0/24 port link-type trunk port trunk permit vlan all # interface GigabitEthernet1/0/24 description TO_ER8300G2_LAN1 port access vlan 30 # interface Ten-GigabitEthernet1/0/25 description TO_5120-28P-WEINET_A-G1/0/25 port link-type trunk port trunk permit vlan all # interface Ten-GigabitEthernet1/0/26 # interface Ten-GigabitEthernet1/0/27 # interface Ten-GigabitEthernet1/0/28 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 4 authentication-mode scheme user-role level-3 user-role network-admin user-role network-operator # line vty 5 63 user-role network-operator # ip route-static 0.0.0.0 0 192.168.30.1 # snmp-agent snmp-agent local-engineid 800063A28074EACB3F7E3A00000001 snmp-agent sys-info version v3 # radius scheme system user-name-format without-domain # 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 admin class manage password hash $h$6$C7s18tCh5PvAgCIl$cKcLDUtIN5/NtZkSVlo+6OxqSG8eraOg39xzGwWTE9hAbqbOcase3tmWKxlI5PX0GYuB/A8K4hGyppjkuEuKiw== service-type ssh telnet authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # return
。。。好乱
应该是你电脑问题,再找一台电脑排除下
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
一般情况下,电脑和交换机直连的话,pc那边只需要找到对应网卡的ipv4地址,将地址改为和交换机互联地址在同一网段即可。