最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

单臂路由+双地址

来源:动视网 责编:小OO 时间:2025-10-04 17:08:48
文档

单臂路由+双地址

enconftenablepasswordspotohostnameR1intf0/0ipadd10.1.2.254255.255.255.0ipadd10.1.1.254255.255.255.0secondarynoshutintf1/0ipadd10.1.3.6255.255.255.252noshutintf0/0noipaddressnoshutdownipnatinsideexitintf0/0.10encapsulationdot1q10ipadd10.1.1.254255.25
推荐度:
导读enconftenablepasswordspotohostnameR1intf0/0ipadd10.1.2.254255.255.255.0ipadd10.1.1.254255.255.255.0secondarynoshutintf1/0ipadd10.1.3.6255.255.255.252noshutintf0/0noipaddressnoshutdownipnatinsideexitintf0/0.10encapsulationdot1q10ipadd10.1.1.254255.25
en

conf t

enable password spoto

hostname R1

int f0/0

ip add 10.1.2.254 255.255.255.0

ip add 10.1.1.254 255.255.255.0 secondary 

no shut

int f1/0

ip add 10.1.3.6 255.255.255.252

no shut

int f0/0

no ip address

no shutdown

ip nat inside

exit

int f0/0.10

encapsulation dot1q 10

ip add 10.1.1.254 255.255.255.0

exit

int f0/0.20

encapsulation dot1q 20

ip add 10.1.2.254 255.255.255.0

exit

int f0/0.40

encapsulation dot1q 40

ip add 10.1.4.2 255.255.255.0

exit

router ospf 1

router-id 10.1.3.10

network 10.1.3.4 0.0.0.3 area 0

network 10.1.3.8 0.0.0.3 area 0

network 10.1.1.0 0.0.0.255 area 0

network 10.1.2.0 0.0.0.255 area 0

exit

int f0/0

ip policy route-map spoto

exit

route-map spoto permit 10

match ip address 1

set ip next-hop 10.1.3.9

exit

route-map spoto permit 20

match ip address 2

set ip next-hop 10.1.3.5

exit

access-list 1 permit 10.1.1.0 0.0.0.255

access-list 2 permit 10.1.2.0 0.0.0.255

ip nat inside source static tcp 10.1.2.1 1723 int f1/0 1723

int f0/0

ip add 10.1.2.254 255.255.255.0

ip add 10.1.1.254 255.255.255.0 secondary 

no shut

文档

单臂路由+双地址

enconftenablepasswordspotohostnameR1intf0/0ipadd10.1.2.254255.255.255.0ipadd10.1.1.254255.255.255.0secondarynoshutintf1/0ipadd10.1.3.6255.255.255.252noshutintf0/0noipaddressnoshutdownipnatinsideexitintf0/0.10encapsulationdot1q10ipadd10.1.1.254255.25
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top