思科配置求助大佬

sun_hi 2020-06-30 11:33:32
这个要求怎么配置啊
...全文
39031 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
eve模拟器做的 接口可能不一样 大概配置就这样 PC1: ip 192.168.100.1 255.255.255.0 gateway 192.168.100.254 PC2: ip 192.168.1.1 255.255.255.0 gateway 192.168.1.254 L2SW:空配 R1: hostname R1 ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface Ethernet0/0 ip address 20.0.0.1 255.255.255.0 ip nat outside ip ospf network point-to-point ! interface Ethernet0/1 ip address 192.168.1.254 255.255.255.0 secondary ip address 192.168.100.254 255.255.255.0 ip nat inside ! router ospf 1 router-id 1.1.1.1 network 20.0.0.0 0.0.0.255 area 1 ! ip nat pool server 20.0.0.1 20.0.0.1 netmask 255.255.255.0 ip nat inside source list NAT pool server ! ip access-list standard NAT permit 192.168.100.0 0.0.0.255 permit 192.168.1.0 0.0.0.255 R2: hostname R2 ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface Ethernet0/0 ip address 20.0.0.2 255.255.255.0 ip ospf network point-to-point ! interface Ethernet0/1 ip address 30.10.1.2 255.255.255.0 ip ospf network point-to-point ! router ospf 1 router-id 2.2.2.2 network 20.0.0.0 0.0.0.255 area 1 network 30.10.1.0 0.0.0.255 area 0 L3SW: hostname L3SW ! interface Loopback0 ip address 20.20.20.20 255.255.255.255 !interface Ethernet0/1 no switchport ip address 30.10.1.3 255.255.255.0 ip ospf network point-to-point ! interface Ethernet0/2 no switchport ip address 200.10.1.254 255.255.255.0 ! router ospf 1 router-id 20.20.20.20 redistribute connected subnets network 30.10.1.0 0.0.0.255 area 0 Server: ip 200.10.1.6 255.255.255.0 gateway 200.10.1.254
SJ66666 2020-07-03
  • 打赏
  • 举报
回复
这个很简单啊

1,737

社区成员

发帖
与我相关
我的任务
社区描述
网络协议与配置相关内容讨论专区
网络协议网络安全tcp/ip 技术论坛(原bbs)
社区管理员
  • 网络协议与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧