其他分享
首页 > 其他分享> > osp配置命令

osp配置命令

作者:互联网

ospf R2

#interface GigabitEthernet0/0/0

ip address 192.168.1.1 255.255.255.0

#interface GigabitEthernet0/0/1

ip address 11.0.0.1 255.255.255.0

#interface LoopBack1

ip address 1.1.1.1 32

#ospf 1 router-id 1.1.1.1

area 0.0.0.1

network 11.0.0.0 0.0.0.255

network 192.168.

R3

interface GigabitEthernet0/0/1

ip address 11.0.0.2 255.255.255.0

#interface GigabitEthernet0/0/2

ip address 10.0.0.1 255.255.255.0

#interface LoopBack1

ip address 2.2.2.2 255.255.255.255

#ospf 1 router-id 2.2.2.2

area 0

network 10.0.0.0 0.0.0.255

area 1

network 11.0.0.0 0.0.0.255

1.0 0.0.0.255

natR6

acl number 2000

rule 5 permit

nat address-group 1 172.16.1.100 172.16.1.200

#interface GigabitEthernet0/0/0(外网端)

ip address 202.203.85.1 255.255.255.0

nat outbound 2000 address-group 1 no-pat

nat static enable

#interface GigabitEthernet0/0/1

ip address 172.16.0.1 255.255.255.0

#

标签:ip,命令,0.0,配置,255.255,osp,interface,255.0,address
来源: https://blog.csdn.net/qq_53961930/article/details/118368320