中国网管论坛's Archiver

survivorsw 发表于 2007-12-20 22:36

求助....r2621最简单的配置(内网能上网就行)

H3C R2621路由器 vrp1.7
LAN0接外网(公网IP为218.88.161.*)LAN1接内网(路由器IP为192.168.0.1)
依照“中低端路由器典型配置实例V1.8”配置如下:

acl 1 match-order auto

rule normal permit source 192.168.0.0 0.0.0.255

rule normal deny source any

interface Ethernet0

ip address 218.88.161.* 255.255.255.0

nat outbound 1 interface

interface Ethernet1

ip address 192.168.0.1 255.255.255.0

ip route-static 0.0.0.0 0.0.0.0 218.88.161.* preference 60

save

试过把ip route-static 0.0.0.0 0.0.0.0 218.88.161.* preference 60
换成ip route-static 0.0.0.0 0.0.0.0 61.139.2.69 preference 60(61.139.2.69是电信DNS地址)也不行!
-------------------------------------------------------------------------------------

在论坛里找了好多帖子都不行,不知道哪里写错了
希望能找一个简单的配置,内网能上网就行!

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com