怎么连接来实现NAT共享上网???
发布网友
发布时间:2022-05-01 18:37
我来回答
共1个回答
热心网友
时间:2022-06-21 08:40
用web进入锐捷的路由器,wan接ADSL,lan接交换机,wan设置通过pppoe连接上网,lan设置私网ip(其他机器的网关),开启DHCP....所有的PC只要连接在交换机上就可以上网了......是用cisco命令的吗?...哪就更简单了...
interface
FastEthernet0
ip
address
192.168.1.1
255.255.255.0
ip
mtu
1488
ip
nat
inside
!
interface
FastEthernet1
no
ip
address
pppoe
enable
pppoe-client
dial-pool-number
10
dial-on-demand
!
!
interface
Dialer1
mtu
1488
ip
address
negotiate
encapsulation
ppp
ip
nat
outside
dialer
pool
10
dialer
idle-timeout
300
dialer
enable-timeout
20
dialer-group
1
ppp
pap
sent-username
*******
password
******
pulse-time
0
!
ip
nat
inside
source
list
100
interface
Dialer1
overload
ip
classless
ip
route
0.0.0.0
0.0.0.0
Dialer1
access-list
100
permit
ip
192.168.1.0
255.255.255.0
any