首页 > 其他分享 >PPPOE实验

PPPOE实验

时间:2023-03-25 15:06:19浏览次数:30  
标签:255.255 ip dialer 实验 address interface 255.0 PPPOE

静态IP
R1 配置
dialer-rule
 dialer-rule 10 ip permit
 
interface Dialer1
 link-protocol ppp
 ppp pap local-user hcip password cipher 123
 ip address ppp-negotiate
 dialer user hcip
 dialer bundle 2
 dialer-group 10
 nat outbound 2001
 
 acl number 2001  
 rule 5 permit source 192.168.1.0 0.0.0.255 
 
 interface GigabitEthernet0/0/0
 ip address 192.168.1.1 255.255.255.0 
 
 ip route-static 0.0.0.0 0.0.0.0 Dialer1
R2配置
ip pool 1
 gateway-list 201.1.1.1 
 network 201.1.1.0 mask 255.255.255.0 
 dns-list 114.114.114.114 8.8.8.8 
 
 interface Virtual-Template1
 ppp authentication-mode pap 
 remote address pool 1
 ip address 201.1.1.1 255.255.255.0 
 
 interface GigabitEthernet0/0/0
 pppoe-server bind Virtual-Template 1
 
 interface GigabitEthernet0/0/1
 ip address 9.9.9.1 255.255.255.0 
拓扑

PPPOE实验_PPPOE

DHCP
R1配置
dhcp enable 

ip pool aa
 gateway-list 192.168.1.1 
 network 192.168.1.0 mask 255.255.255.0 
 dns-list 114.114.114.114 8.8.8.8 

interface Dialer1
 link-protocol ppp
 ppp pap local-user hcip password cipher 123
 ip address ppp-negotiate
 dialer user hcip
 dialer bundle 2
 dialer-group 10
 nat outbound 2001

interface GigabitEthernet0/0/1
 pppoe-client dial-bundle-number 2 on-demand 
 
 dialer-rule
 dialer-rule 10 ip permit
 
 ip route-static 0.0.0.0 0.0.0.0 Dialer1

interface GigabitEthernet0/0/0
 ip address 192.168.1.1 255.255.255.0 
 dhcp select global
R2
ip pool 1
 gateway-list 201.1.1.1 
 network 201.1.1.0 mask 255.255.255.0 
 dns-list 114.114.114.114 8.8.8.8 
 
 interface Virtual-Template1
 ppp authentication-mode pap 
 remote address pool 1
 ip address 201.1.1.1 255.255.255.0 
 
 interface GigabitEthernet0/0/0
 pppoe-server bind Virtual-Template 1
 
 interface GigabitEthernet0/0/1
 ip address 9.9.9.1 255.255.255.0 

标签:255.255,ip,dialer,实验,address,interface,255.0,PPPOE
From: https://blog.51cto.com/u_11726705/6149484

相关文章

  • 实验2 字符串和列表
    实验任务1task.py实验源码:x='nbaFIFA'print(x.upper())print(x.lower())print(x.swapcase())print()x='abc'print(x.center(10,'*'))print(x.ljust(1......
  • 算法分析与设计——冒泡排序,选择排序,STL自带sort函数性能比较实验
    实验环境:Win11,Devc++5.11实验方法:生成不同数据量的随机数后使用三种排序方法分别排序,比较每种方法所耗时长。实验结果:数据量为1000时,冒泡排序平均用时为0.015s,选择排序平......
  • 实验2
    实验任务1task1源代码:x='nbaFIFA'print(x.upper())print(x.lower())print(x.swapcase())print()x='abc'print(x.center(10,'*'))print(x.ljust(10,'*'))......
  • DINO-DETR 实验与分析
    前言自DETR提出之后,不计其数的DETR改进模型不断被提出,尽管如此,基于Transformer模型的速度与精度却一直被人诟病。今天学习的这个DETR的改进模型,号称SOTA模型,这便是大名鼎鼎......
  • 实验2 字符串和列表
    实验二字符串和列表实验任务1task1.py实验源码x='nbaFIFA'print(x.upper())print(x.lower())print(x.swapcase())print()x='abc'print(x.center(10,'*'))......
  • 实验2 字符串和列表
    实验任务1task1.py实验源码:x='nbaFIFA'print(x.upper())print(x.lower())print(x.swapcase())print()x='abc'print(x.center(10,'*'))print(x.ljust(1......
  • 实验一 密码引擎-2-电子钥匙功能测试
    0参考附件中的视频1解压"资源"中“龙脉密码钥匙驱动实例工具等”压缩包2在Ubuntu中运行“龙脉密码钥匙驱动实例工具等\mToken-GM3000\skf\samples\linux_mac”中例程......
  • nfs实验步骤
    1.yuminstall-ynfs-utils查看是否安装nfs2.vim/etc/sysconfig/network-scripts/ifcfg-eno16777736编辑ip地址网关信息3.systemctlrestartnetwork重启网卡4.......
  • 实验报告
           ......
  • 网络对抗实验二 后门原理与实践--20201313
    目录《网络对抗技术》——Exp2后门原理与实践一、实验准备1、实验要求2、后门3、常用的后门工具(ncat,...)二、实验内容1.使用netcat获取主机操作Shell,cron启动2.使用soc......