下面这个配置是我自己搞的。我现在就想划分VLAN,实现不同VLAN 能同时上网。下面需要改吗!改如何设置,希望大神指点一二。我是个菜鸟,对路由交换机完全不懂。教程都是在网上看的。
[H3C]display curr
#
version 5.20.99, Release 1110
#
sysname H3C
#
domain default enable system
#
ipv6
#
telnet server enable
#
port-group-vlan 1
#
password-recovery enable
#
vlan 1
description vlan_1
#
vlan 10
#
vlan 20
#
vlan 30
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$EkhzOhFEh59+WPOOlD32QaWsr0DwDZyU
authorization-attribute level 3
service-type telnet
service-type web
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.1.1 255.255.255.0
#
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
#
interface Vlan-interface20
ip address 192.168.2.2 255.255.255.0
#
interface Vlan-interface30
ip address 192.168.30.1 255.255.255.0
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
port access vlan 10
#
interface GigabitEthernet1/0/3
port access vlan 10
speed 100
#
interface GigabitEthernet1/0/4
port link-type trunk
port trunk permit vlan all
port trunk pvid vlan 20
#
interface GigabitEthernet1/0/5
port access vlan 30
#
interface GigabitEthernet1/0/6
#
interface GigabitEthernet1/0/7
speed 100
#
interface GigabitEthernet1/0/8
#
interface GigabitEthernet1/0/9
#
interface GigabitEthernet1/0/10
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1
ip route-static 192.168.2.0 255.255.255.0 192.168.2.1
ip route-static 192.168.10.0 255.255.255.0 192.168.2.1
ip route-static 192.168.30.0 255.255.255.0 192.168.2.1
#
undo info-center logfile enable
#
dhcp enable
#
load xml-configuration
#
user-interface aux 0
user-interface vty 0 15
authentication-mode scheme
#
return
[H3C]
[H3C]
[H3C]
家用路由器,没有哪些设置下一跳,什么的功能
H3C R1 路由器。