公司两条网线:一条10M光纤,一条12M ADSL,
光纤路由接三层交换机19端口
求指点如何接入ADSL路由,如何配置三层交换机
三层交换机配置如下:

ip pool 10
gateway-list 192.168.100.238
network 192.168.100.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 20
gateway-list 192.168.101.238
network 192.168.101.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 30
gateway-list 192.168.102.238
network 192.168.102.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 40
gateway-list 192.168.103.238
network 192.168.103.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.2 192.168.100.1
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$O9hP7mbf4Q#E\vU4j#wX3ypg%$%$
local-user admin privilege level 15
local-user admin service-type http
#
interface Vlanif10
ip address 192.168.100.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif20
ip address 192.168.101.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif30
ip address 192.168.102.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif40
ip address 192.168.103.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif100
ip address 192.168.2.2 255.255.255.0
arp-proxy enable
#
interface Vlanif200
ip address 192.168.3.2 255.255.255.0
arp-proxy enable
#
interface MEth0/0/1
ip address 172.100.0.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
中间2-17相同,VLAN不同
interface GigabitEthernet0/0/18
port link-type access
port default vlan 40
#
interface GigabitEthernet0/0/19
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/20
port link-type access
port default vlan 200
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
combo-port fiber
port link-type access
port default vlan 10
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1
#
光纤路由接三层交换机19端口
求指点如何接入ADSL路由,如何配置三层交换机
三层交换机配置如下:

ip pool 10
gateway-list 192.168.100.238
network 192.168.100.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 20
gateway-list 192.168.101.238
network 192.168.101.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 30
gateway-list 192.168.102.238
network 192.168.102.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.1
#
ip pool 40
gateway-list 192.168.103.238
network 192.168.103.0 mask 255.255.255.0
dns-list 192.168.100.12 192.168.100.2 192.168.100.1
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$O9hP7mbf4Q#E\vU4j#wX3ypg%$%$
local-user admin privilege level 15
local-user admin service-type http
#
interface Vlanif10
ip address 192.168.100.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif20
ip address 192.168.101.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif30
ip address 192.168.102.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif40
ip address 192.168.103.238 255.255.255.0
arp-proxy enable
dhcp select global
#
interface Vlanif100
ip address 192.168.2.2 255.255.255.0
arp-proxy enable
#
interface Vlanif200
ip address 192.168.3.2 255.255.255.0
arp-proxy enable
#
interface MEth0/0/1
ip address 172.100.0.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
中间2-17相同,VLAN不同
interface GigabitEthernet0/0/18
port link-type access
port default vlan 40
#
interface GigabitEthernet0/0/19
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/20
port link-type access
port default vlan 200
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
combo-port fiber
port link-type access
port default vlan 10
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.2.1
#
