如何配置中心点路由器
网络结构如下:
中心点一根光纤通过路由器F0/1接入运营商, 同时可上公网和与其他分公司相连, 各分公司可以于中心点内网相同,同时通过中心点上公网, 现运营商通过该光纤给两个VLAN ID, vlan id -163 上公网,vlan id-854 用于内网与其他分公司相连,
主要配置如下:
interface FastEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$
ip address 10.62.8.253 255.255.255.0
ip nat inside
duplex auto
speed auto
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.163
encapsulation dot1Q 163
ip address 218.75.78.2 255.255.255.248
ip nat outside
!
interface FastEthernet0/1.845
encapsulation dot1Q 845
ip address 10.62.1.253 255.255.248.0
ip nat inside
bridge-group 1
bridge-group 1 spanning-disabled
!
ip classless
ip route 0.0.0.0 0.0.0.0 218.75.78.1!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 23 interface FastEthernet0/1.163 overload
!
!
access-list 23 permit 10.62.0.0 0.0.7.255
access-list 23 permit 10.62.8.0 0.0.0.255
!
!
这样配置的结果是中心点内网网关为 10.62.8.253, 各分公司内网网关为10.62.1.253,不知能否配置内网用一个网关,路由器应该如何配置?