求思科Cisco 1841路由器 配置IP 路由IP 详细配置命令?

发布网友

我来回答

1个回答

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

热心网友


HXrouter#show run 

Building configuration...


Current configuration : 1503 bytes

!

! Last configuration change at 07:41:21 UTC Sat Mar 21 2015 by hailong

!

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

!

hostname HXrouter

!

boot-start-marker

boot-end-marker

!

no aaa new-model

ip cef

!         

no ip domain lookup

no ipv6 cef

ipv6 multicast rpf use-bgp

!

multilink bundle-name authenticated

 !

username hailong privilege 15 password 0 hailong

username cisco privilege 15 password 0 cisco

tEthernet0/1

 no ip address

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/2

 description *CNC1*

 ip address 220.33.76.19 255.255.255.248

 ip nat outside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

interface GigabitEthernet0/3

 ip address 10.10.2.1 255.255.255.0

 ip nat inside

 media-type rj45

 speed auto

 plex auto

 negotiation auto

!

ip nat inside source list nat interface GigabitEthernet0/2 overload

ip nat inside source static tcp 192.168.2.104 9080 220.33.76.19 9080 extendable

ip forward-protocol nd

ip http server

no ip http secure-server

!

!

ip route 0.0.0.0 0.0.0.0 220.33.76.17

ip route 192.168.0.0 255.255.0.0 10.10.2.254

!

ip access-list extended nat

 permit ip any any

!

!

!

!

control-plane

!

!

line con 0

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

 login local

!

!

end

追问我是想请教下那个 220.24.113.26/29 10.0.0.2/16 这是什么IP
还有个 220.248.113.25 这又是什么IP

追答电信给的 公网IP地址
第二地址错了,应该是220.24.113.25 属于网关

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com