锐捷路由器设置示例
设置流量
any
策略
ip access-list standard 10
10 permit any
设置外网接口
0/0
的IP
并绑定NAT
interface GigabitEthernet 0/0
ip nat outside
ip address 223.86.123.61 255.255.255.0
duplex auto
speed auto
设置
NAT
转换
ip nat inside source list 10 interface GigabitEthernet 0/0 overload
设置
LAN
接口VLAN1
的IP
并绑定NAT
interface VLAN 1
ip nat inside
ip address 192.168.110.1 255.255.255.0
增加默认路由表
ip route 0.0.0.0 0.0.0.0 223.86.123.1
指定
LAN
接口VLAN
为10
interface GigabitEthernet 1/0
switchport access VLAN 1
interface GigabitEthernet 1/2
switchport access VLAN 1
interface GigabitEthernet 1/3
switchport access VLAN 1
interface GigabitEthernet 1/4
switchport access VLAN 1
interface GigabitEthernet 1/5
switchport access VLAN 1
interface GigabitEthernet 1/6
switchport access VLAN 1
interface GigabitEthernet 1/7
switchport access VLAN 1
interface GigabitEthernet 1/8
switchport access VLAN 1
interface GigabitEthernet 1/9
switchport access VLAN 1
interface GigabitEthernet 1/10
switchport access VLAN 1
interface GigabitEthernet 1/11
switchport access VLAN 1
interface GigabitEthernet 1/12
switchport access VLAN 1
全局启用
DHCP
并设置DHCP
范围
service dhcp
ip dhcp pool ruijie
network 192.168.110.0 255.255.255.0
dns-server 183.221.253.100
default-router 192.168.110.1
设置
telnet
密码
line vty 0 4
privilege level 15
login
password Dy_111111`